Browse Source

ascii art!

lennylxx 10 years ago
parent
commit
67edd26859
2 changed files with 41 additions and 7 deletions
  1. 17 2
      hosts
  2. 24 5
      merge_snippets.sh

+ 17 - 2
hosts

@@ -1,5 +1,17 @@
-## Project: https://github.com/lennylxx/ipv6-hosts
-## Update : Sat, 22 Nov 2014 20:07:08 +0800
+##  __                                 __                               
+## |__| _____  __ __ ┌─────┐          |  |                  __          
+## |  ||     ||  |  ||   ──|  ______  |  |──┐┌─────┐.─────.|  |_ .─────.
+## |  ||  ─  ||  |  ||  ─  | |______| |     ||  ─  ||__ ──||   _||__ ──|
+## |__||  ┌──┘ \___/ |_____|          |__|__||_____||_____||____||_____|
+##     |__|                                                             
+##                                                          · lennylxx ·
+##
+## +-------------------------  >>d(' _ ')b<<  -------------------------+
+## |                                                                   |
+## |         Project: https://github.com/lennylxx/ipv6-hosts           |
+## |         Update : Sat, 22 Nov 2014 21:59:48 +0800                  |
+## |                                                                   |
+## +-------------------------------------------------------------------+
 
 
 ::1 localhost
 ::1 localhost
 
 
@@ -14109,3 +14121,6 @@
 ## StackExchange/StackOverflow
 ## StackExchange/StackOverflow
 190.93.245.58 cdn.sstatic.net
 190.93.245.58 cdn.sstatic.net
 
 
+## +-------------------------------------------------------------------+
+## |                            End of File                            |
+## +-------------------------------------------------------------------+

+ 24 - 5
merge_snippets.sh

@@ -13,12 +13,31 @@ if [ -f $new_hosts_file ]; then
     printf "" > $new_hosts_file
     printf "" > $new_hosts_file
 fi
 fi
 
 
-printf "## Project: https://github.com/lennylxx/ipv6-hosts\r\n" >> $new_hosts_file
-printf "## Update : `date -R`\r\n" >> $new_hosts_file
-printf "\r\n" >> $new_hosts_file
-printf "::1 localhost\r\n" >> $new_hosts_file
-printf "\r\n" >> $new_hosts_file
+printf "\
+##  __                                 __                               \r\n\
+## |__| _____  __ __ ┌─────┐          |  |                  __          \r\n\
+## |  ||     ||  |  ||   ──|  ______  |  |──┐┌─────┐.─────.|  |_ .─────.\r\n\
+## |  ||  ─  ||  |  ||  ─  | |______| |     ||  ─  ||__ ──||   _||__ ──|\r\n\
+## |__||  ┌──┘ \___/ |_____|          |__|__||_____||_____||____||_____|\r\n\
+##     |__|                                                             \r\n\
+##                                                          · lennylxx ·\r\n\
+##\r\n\
+## +-------------------------  >>d(' _ ')b<<  -------------------------+\r\n\
+## |                                                                   |\r\n\
+## |         Project: https://github.com/lennylxx/ipv6-hosts           |\r\n\
+## |         Update : `date -R`                  |\r\n\
+## |                                                                   |\r\n\
+## +-------------------------------------------------------------------+\r\n\
+" >> $new_hosts_file
+
+printf "\r\n::1 localhost\r\n\r\n" >> $new_hosts_file
 
 
 cat snippets/??_*.txt >> $new_hosts_file
 cat snippets/??_*.txt >> $new_hosts_file
 
 
+printf "\
+## +-------------------------------------------------------------------+\r\n\
+## |                            End of File                            |\r\n\
+## +-------------------------------------------------------------------+\r\n\
+" >> $new_hosts_file
+
 exit 0
 exit 0