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
| #!/usr/bin/python | |
| import gtk, sys | |
| def tohex(c): | |
| #Convert to hex string | |
| #little hack to fix bug | |
| s = ['#',hex(int(c[0]*256))[2:].zfill(2),hex(int(c[1]*256))[2:].zfill(2),hex(int(c[2]*256))[2:].zfill(2)] | |
| for item in enumerate(s): | |
| if item[1]=='100': | |
| s[item[0]]='ff' | |
| print s |
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
| % npm install ethercalc | |
| npm http GET https://registry.npmjs.org/ethercalc | |
| npm http 200 https://registry.npmjs.org/ethercalc | |
| npm http GET https://registry.npmjs.org/ethercalc/-/ethercalc-0.20120408.192847.tgz | |
| npm http 200 https://registry.npmjs.org/ethercalc/-/ethercalc-0.20120408.192847.tgz | |
| npm http GET https://registry.npmjs.org/zappa | |
| npm http GET https://registry.npmjs.org/redis | |
| npm http GET https://registry.npmjs.org/uuid-pure | |
| npm http GET https://registry.npmjs.org/node-uuid | |
| npm http GET https://registry.npmjs.org/express |
NewerOlder