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
diskutil list | |
diskutil unmountDisk /dev/disk3 | |
// snappy ubuntu core | |
sudo dd bs=1m if=~/Downloads/pi-snappy.img of=/dev/disk3 | |
// raspbian | |
sudo dd bs=1m if=~/Downloads/2015-01-31-raspbian.img of=/dev/disk3 | |
// retropie (assumes .img is in Downloads folder) |
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
make clean | |
make Release | |
sudo chmod a+x app_binary |
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
telnet localhost 12345 |
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 "ofMain.h" | |
void enableMidmap(ofTexture& texture) { | |
texture.bind(); | |
int textureTarget = texture.getTextureData().textureTarget; | |
glTexParameteri(textureTarget, GL_TEXTURE_MAG_FILTER, GL_LINEAR); | |
glTexParameteri(textureTarget, GL_TEXTURE_MIN_FILTER, GL_LINEAR_MIPMAP_LINEAR); | |
glGenerateMipmap(GL_TEXTURE_2D); // automatically creates midmaps for textures | |
texture.unbind(); |
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
VIEW RUNNING APPS | |
top | |
SSH INTO MACHINE | |
ssh [email protected] | |
SSH REMOTE TO LOCAL COPY | |
scp [email protected]:/Users/trentbrooks/Desktop/150327_Background.png bg.png | |
SSH REMOTE TO LOCAL COPY (FOLDER + RECURSIVE) |
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
DOWNLOAD A FILE (big O) | |
curl -O http://www.trentbrooks.com/index.html | |
DOWNLOAD A FILE TO DIRECTORY/FILENAME (little o) | |
curl -o GitProjects/thatpage.html http://www.trentbrooks.com/index.html | |
SEND FILE ATTACHMENT WITH GMAIL | |
curl smtps://smtp.gmail.com:465 -v --mail-from "[email protected]" --mail-rcpt "[email protected]" --ssl -u [email protected]:PASSWORD -T "test.txt" -k --anyauth | |
FORM POST: http://superuser.com/questions/149329/what-is-the-curl-command-line-syntax-to-do-a-post-request |
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
ls /dev/tty* |
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
HWND handleWindow; | |
AllocConsole(); | |
handleWindow = FindWindowA("ConsoleWindowClass", NULL); | |
ShowWindow(handleWindow, 0); |
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
Raspberry PI | |
Cubieboard2 | |
Intel NUC | |
ODROID-U3 | |
Beaglebone Black | |
CuBox | |
UDOO | |
Jetson TK1 | |
HummingBoard | |
Brix Pro |
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
git fetch upstream | |
git checkout master | |
git merge upstream/master | |
git checkout develop | |
git merge upstream/master | |
// merge a branch into master | |
git checkout master | |
git pull origin master |