This file contains 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 | |
# A simple script to shrink a image of unwanted free space. | |
# This is a Beerware release | |
# If you like it, Buy your Buddy a Beer | |
# If not, recycle it nicely so it may R.I.P. | |
# Have A Great Day | |
# ShorTie <[email protected]> |
This file contains 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
> [email protected] install /private/var/folders/25/1s5nwbhn4_sd_3w9bq552m8h0000gn/T/apm-install-dir-118424-4078-1ru63ba.6nsei885mi/node_modules/arduino-upload/node_modules/serialport-builds-electron | |
> node-pre-gyp install --fallback-to-build | |
Failed to execute '/Applications/Atom.app/Contents/Resources/app/apm/bin/node /Applications/Atom.app/Contents/Resources/app/apm/bin/../node_modules/.bin/node-gyp configure --fallback-to-build --module=/private/var/folders/25/1s5nwbhn4_sd_3w9bq552m8h0000gn/T/apm-install-dir-118424-4078-1ru63ba.6nsei885mi/node_modules/arduino-upload/node_modules/serialport-builds-electron/build/Release/serialport.node --module_name=serialport --module_path=/private/var/folders/25/1s5nwbhn4_sd_3w9bq552m8h0000gn/T/apm-install-dir-118424-4078-1ru63ba.6nsei885mi/node_modules/arduino-upload/node_modules/serialport-builds-electron/build/Release --python=/Applications/Atom.app/Contents/Resources/app/apm/bin/python-interceptor.sh' (1) | |
/private/var/folders/25/1s5nwbhn4_sd_3w9bq552m8 |
This file contains 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/bash | |
# ICNS from PNG | |
if [[ ! $2 ]]; then | |
cat<<EOF | |
Usage: | |
${0##*/} <input png e.g. "source.png"> <output name e.g. "MyApp"> | |
EOF | |
exit 1 |
This file contains 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
#include <Bounce2.h> | |
#include "MIDIUSB.h" | |
int numButtons = 8; | |
int lowButton = 2; | |
int buttonPin = 3; | |
Bounce bouncer[8] = { | |
Bounce(2, 5), | |
Bounce(3, 5), |
This file contains 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
var t; | |
function idleOut() { | |
window.location = 'index.html'; | |
} | |
function resetTimer() { | |
console.log("Reset"); | |
clearTimeout(t); | |
t = setTimeout(idleOut, 10000) | |
} | |
document.onmousemove = resetTimer; |
This file contains 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
/* | |
AWKWARD ARDUINO – FASTEST FINGER | |
*/ | |
/* | |
We're going to connect LEDs to pins 3, 4, and 5. | |
These will act as winning lightts for the green | |
and blue team, and the red light that tells you | |
when to press! | |
*/ |
This file contains 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
/* | |
1) DEMINIFY THE BIG LINE OF JAVASCRIPT THAT IS THE TWINE ENGINE | |
2) FIND 'function d()' | |
3) BETWEEN 'window.clearInterval(a)' and 'if (c.onComplete)' paste this line | |
*/ | |
document.getElementsByTagName('a')[0].focus(); |
NewerOlder