This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Mark ! -- *A Beautiful Life !* | |
=== | |
*2013-11-17* | |
=== | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## sed reg | |
curl -s www.163.com | sed -n 's/.*\(<a[^>]*>\).*/\1/p' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
## Get Database Data Dictionary | |
DB=database | |
DSN="mysql -uuser -ppw -hhost --default-character-set=utf8 $DB" | |
i=0 | |
for TABLE in `$DSN -e 'show tables'`;do | |
let "i++" | |
SQL="show full columns from "$TABLE |