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 | |
# install Homebrew | |
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
# install Golang | |
brew install golang |
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 | |
mkdir -p ~/.ssh |
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 | |
wget https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-arm.zip | |
unzip ngrok.zip | |
./ngrok authtoken [YOUR_TOKEN] |
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
https://adafruit.github.io/arduino-board-index/package_adafruit_index.json |
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 | |
sudo apt-get install ppp usb-modeswitch | |
wget https://github.com/twilio/wireless-ppp-scripts/archive/master.zip | |
unzip master.zip | |
rm master.zip | |
cd wireless-ppp-scripts-master | |
sudo cp chatscripts/twilio /etc/chatscripts | |
sudo cp peers/twilio /etc/ppp/peers |
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
package main | |
import ( | |
"fmt" | |
"net/http" | |
) | |
func main() { | |
http.HandleFunc("/tester", tester) | |
http.ListenAndServe(":9999", nil) |
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
Narrowband Overview | |
https://www.twilio.com/docs/wireless/nb | |
Pioneer NB-IoT with Twilio’s Alfa Development Kit | |
https://www.twilio.com/blog/pioneer-nb-iot-with-twilios-alfa-development-kit | |
Breakout SDK | |
http://github.com/twilio/Breakout_Arduino_Library | |
Commands API |
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
// Example of how to rip audio and video files using youtube-dl and shelljs in Node.js | |
var shell = require('shelljs'); | |
function receiveREC(window) { | |
var newWAV = "MEDIA_URL"; | |
var ripHaze = 'youtube-dl ' + newWAV; | |
if (shell.exec(ripHaze).code !== 0) { | |
shell.echo('Error: Git commit failed'); | |
shell.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
#!/bin/bash | |
ffmpeg -y -i FILE1 -i FILE2 -filter_complex "[0:0][1:0] amix=inputs=2:duration=longest" -c:a libmp3lame OUTPUTFILE |
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
package main | |
import ( | |
"fmt" | |
"os/exec" | |
"strconv" | |
) | |
func main() { | |
countdown(4) |
OlderNewer