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
| D/AUTH (32521): onResume is_authing: 0 | |
| D/AUTH (32521): onResume after ApiTask execute | |
| D/WIFI_ADMIN(32521): now ssid=H3C-test, netId=18 | |
| D/WIFI_ADMIN(32521): ssid=#H3C-test#, SSID=#H3C-test#, equal? true | |
| D/WIFI_ADMIN(32521): open wifi | |
| D/WIFI_ADMIN(32521): sleep... | |
| D/WIFI_ADMIN(32521): wifi state 3 | |
| D/WIFI_ADMIN(32521): create wifi config ssid=H3C-test | |
| D/WIFI_ADMIN(32521): create config : ssid=H3C-test, pass=,type=1 | |
| D/WIFI_ADMIN(32521): exist config, remove first |
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
| D/AUTH ( 7294): onResume is_authing: 0 | |
| D/AUTH ( 7294): onResume after ApiTask execute | |
| D/WIFI_ADMIN( 7294): now ssid=H3C-test, netId=19 | |
| D/WIFI_ADMIN( 7294): ssid=#H3C-test#, SSID=#H3C-test#, equal? true | |
| D/WIFI_ADMIN( 7294): open wifi | |
| D/WIFI_ADMIN( 7294): sleep... | |
| D/WIFI_ADMIN( 7294): wifi state 3 | |
| D/WIFI_ADMIN( 7294): create wifi config ssid=H3C-test | |
| D/WIFI_ADMIN( 7294): create config : ssid=H3C-test, pass=,type=1 | |
| D/WIFI_ADMIN( 7294): exist config, remove first |
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
| diff --git a/lib/auto_migrations_rails4.rb b/lib/auto_migrations_rails4.rb | |
| index 5195142..35fecf8 100644 | |
| --- a/lib/auto_migrations_rails4.rb | |
| +++ b/lib/auto_migrations_rails4.rb | |
| @@ -1,5 +1,6 @@ | |
| # load rake | |
| -Dir[File.join(File.dirname(__FILE__),'tasks/**/*.rake')].each { |f| load f } if defined?(Rake) | |
| +require 'rake' | |
| +Dir[File.join(File.dirname(__FILE__),'tasks/**/*.rake')].each { |f| import f } if defined?(Rake) | |
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
| find . -type d -name ".svn"|xargs rm -rf |
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
| <script type="text/javascript"> | |
| <!-- | |
| function getQueryStringRegExp(name) | |
| { | |
| var reg = new RegExp("(^|\\?|&)"+ name +"=([^&]*)(\\s|&|$)", "i"); | |
| if (reg.test(location.href)) return unescape(RegExp.$2.replace(/\+/g, " ")); return ""; | |
| }; | |
| //http://localhost/test.html?aa=bb&test=cc+dd&ee=ff | |
| alert(getQueryStringRegExp('test')); | |
| //--> |
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
| svn propedit svn:mergeinfo . |
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
| 从一个文件里面按行读 | |
| f = open(filename, 'r') | |
| while 1: | |
| line = f.readline() | |
| if not line: | |
| break | |
| ..... |
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
| wget http://betterthangrep.com/ack-standalone | |
| sudo mv ack-standalone /usr/local/bin/ack | |
| sudo chmod +x /usr/local/bin/ack |
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
| # Always color, even piping | |
| --color | |
| # Pager | |
| #--pager=less -r | |
| # Add .ptl file support | |
| --type-add=python=.ptl |
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
| % brew install mysql51 -v | |
| ==> Downloading http://mysql.mirrors.pair.com/Downloads/MySQL-5.1/mysql-5.1.58.tar.gz | |
| Already downloaded: /Library/Caches/Homebrew/mysql51-5.1.58.tar.gz | |
| /usr/bin/tar xf /Library/Caches/Homebrew/mysql51-5.1.58.tar.gz | |
| ==> Patching | |
| /usr/bin/patch -f -p1 -i 000-homebrew.diff | |
| patching file scripts/mysqld_safe.sh | |
| Hunk #1 succeeded at 384 (offset 1 line). | |
| patching file scripts/mysql_config.sh | |
| ==> ./configure --without-docs --without-debug --disable-dependency-tracking --prefix=/usr/local/Cellar/mysql51/5.1.58 --localstatedir=/usr/local/var/mysql --sysconfdir=/usr/local/etc --with-plugins=innobase,myisam --with-extra-charsets=complex --with-ssl --without-readline --enable-assembler --enable-thread-safe-client --enable-local-infile --enable-shared --with-partition |
OlderNewer