I hereby claim:
- I am sleepdefic1t on github.
- I am sleepdeficit (https://keybase.io/sleepdeficit) on keybase.
- I have a public key ASCeOrZ37AdH_Ssay4CWojsLeRGRf7unR4RnAghHFKHduQo
To claim this, I am signing this object:
| /**************************************************************************/ | |
| /*! | |
| @file readMifareClassic.pde | |
| @author Adafruit Industries | |
| @license BSD (see license.txt) | |
| This example will wait for any ISO14443A card or tag, and | |
| depending on the size of the UID will attempt to read from it. | |
| If the card has a 4-byte UID it is probably a Mifare |
| history -c && history -w && sudo shutdown now |
| df -Bm | |
| sudo apt-get clean | |
| df -Bm |
| mkdir mnt && sudo mount -t msdos /dev/disk0s1 mnt |
| sudo bash -c 'for i in $(find /var/log -type f); do cat /dev/null > $i; done' |
| // cd to nodes snapshot 'db' directory | |
| sudo wget https://dsnapshots.ark.io/current -O devark-node.db |
| // one-line time-update | |
| sudo date -s "$(wget -qSO- --max-redirect=0 google.com 2>&1 | grep Date: | cut -d' ' -f5-8)Z" |
| function update() { | |
| SpreadsheetApp.getActiveSheet().getRange("F6").setValue(Math.random()); | |
| } | |
| function getHeight(rand) { | |
| try { | |
| var response = UrlFetchApp.fetch("https://api.arkcoin.net/api/blocks/getHeight"); | |
| if(response.getResponseCode() === 200) { | |
| var json = JSON.parse(response.getContentText()); |
I hereby claim:
To claim this, I am signing this object:
| def raw2arduino(): | |
| i = open("raw.html", 'r') | |
| o = open("arduino.html", 'a') | |
| for line in i.readlines(): | |
| o.write('client.println("') | |
| o.write(line.strip("\n")) | |
| o.write('");\n') | |
| i.close() | |
| o.close() | |
| print "Done!" |