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
| M[16],X=16,W,k;main(){T(system("stty cbreak") | |
| );puts(W&1?"WIN":"LOSE");}K[]={2,3,1};s(f,d,i | |
| ,j,l,P){for(i=4;i--;)for(j=k=l=0;k<4;)j<4?P=M | |
| [w(d,i,j++)],W|=P>>11,l*P&&(f?M[w(d,i,k)]=l<< | |
| (l==P):0,k++),l=l?P?l-P?P:0:l:P:(f?M[w(d,i,k) | |
| ]=l:0,++k,W|=2*!l,l=0);}w(d,i,j){return d?w(d | |
| -1,j,3-i):4*i+j;}T(i){for(i=X+rand()%X;M[i%X] | |
| *i;i--);i?M[i%X]=2<<rand()%2:0;for(W=i=0;i<4; | |
| )s(0,i++);for(i=X,puts("\e[2J\e[H");i--;i%4|| | |
| puts(""))printf(M[i]?"%4d|":" |",M[i]);W-2 |
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
| http://www.cnblogs.com/elfsundae/archive/2010/12/14/1905942.html |
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
| backup: http://hi.baidu.com/setcookie/item/5a5352f99df32217cf9f326f | |
| modify pwd | |
| >/etc/init.d/mysql stop | |
| >>/usr/bin/mysqld_safe --skip-grant-tables & | |
| >use mysql | |
| >update user set password=password("new_pass") where user="root"; | |
| >flush privileges | |
| >/etc/init.d/mysql start |
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
| window.onload = function (){ | |
| var arrStr = document.cookie.split(";"); | |
| for(var i=0; i<arrStr.length; i++){ | |
| var temp = arrStr[i].split("="); | |
| if(temp[0].trim()=="username"){ | |
| var usr = temp[1].trim(); | |
| alert(usr); | |
| alert(typeof(usr)); | |
| var test = "\345\220\257\346\225\217"; | |
| alert(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
| [core] | |
| repositoryformatversion = 0 | |
| filemode = false | |
| bare = false | |
| logallrefupdates = true | |
| symlinks = false | |
| ignorecase = true | |
| hideDotFiles = dotGitOnly | |
| [remote "all"] | |
| url = git@gitcafe.com:HQMIS/ITGPS.git |
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
| File "E:\GitHub\BYHHAutoRe\byhh.py", line 146, in reply | |
| return self.reply(url, cookie) | |
| File "E:\GitHub\BYHHAutoRe\byhh.py", line 146, in reply | |
| return self.reply(url, cookie) | |
| File "E:\GitHub\BYHHAutoRe\byhh.py", line 146, in reply | |
| return self.reply(url, cookie) | |
| File "E:\GitHub\BYHHAutoRe\byhh.py", line 146, in reply | |
| return self.reply(url, cookie) | |
| RuntimeError: maximum recursion depth exceeded |
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
| 0 --> Hint: try to change the URL address. (http://www.pythonchallenge.com/pc/def/0.html --> http://www.pythonchallenge.com/pc/def/1.html) | |
| 1 --> calculate 2**38 (http://www.pythonchallenge.com/pc/def/1.html --> http://www.pythonchallenge.com/pc/def/274877906944.html) | |
| C:\Documents and Settings\huangqimin>python | |
| Python 2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)] on win | |
| 32 | |
| Type "help", "copyright", "credits" or "license" for more information. | |
| >>> 2**38 |
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
| http://pypi.python.org/pypi/pep8/1.4.1 |
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
| http://www.trypython.org/ | |
| http://codepad.org/ |
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
| http://i.youku.com/u/UMTc0ODYxNDcy |
NewerOlder