This document is on http://bit.ly/webexpodrones
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
# remove driver if you after uninstall see MorphVOX Audio in Sound Settings | |
sudo rm -rf /Library/Audio/Plug-Ins/HAL/SBVirtualMic.driver | |
# restart audio deamon | |
sudo kill `ps -ax | grep 'coreaudiod' | grep 'sbin' |awk '{print $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
package main | |
import ( | |
"context" | |
"fmt" | |
"log" | |
"math" | |
"os" | |
"strconv" | |
"time" |
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" | |
"log" | |
"net/http" | |
) | |
type MyTransport struct { | |
originalTransport http.RoundTripper |
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 ( | |
"image/color" | |
"time" | |
"tinygo.org/x/drivers/microbitmatrix" | |
) | |
var display microbitmatrix.Device |
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
for file in *.jpg | |
do | |
OLD_FILE="$file" | |
EXT="${file#*.}" | |
mv $file "${file%.*}_small.$EXT" | |
done | |
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" | |
"math/rand" | |
) | |
func main() { | |
NatoCodes := []string{ | |
"Alfa", |
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
/* | |
How to run: | |
Connect to the drone's Wi-Fi network from your computer. It will be named something like "TELLO-XXXXXX". | |
Once you are connected you can run the Gobot code on your computer to control the drone. | |
go run examples/joystick.go | |
*/ | |
package main |
How to install Golang and gobot.io library
How to install Node.JS and https://github.com/jsolderitsch/tello-nodejs library
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 | |
# stack.sh apps.txt | |
# apps.txt generate by heroku apps -o ORG_NAME | |
while IFS='' read -r line || [[ -n "$line" ]]; do | |
# Check stack | |
echo -n "${line} - "; heroku apps:info -a $line | grep Stack: | tr -s ' ' | cut -d ' ' -f 2 | |
# Update stack | |
# heroku stack:set heroku-16 -a $line | |
done < "$1" |