Skip to content

Instantly share code, notes, and snippets.

View danzeeeman's full-sized avatar

Dan Moore danzeeeman

View GitHub Profile
@danzeeeman
danzeeeman / gist:de595ace719adf687322
Created January 12, 2015 15:17
config.txt for 2.8 PiTFT
# uncomment if you get no picture on HDMI for a default "safe" mode
#hdmi_safe=1
# uncomment this if your display has a black border of unused pixels visible
# and your display can output without overscan
#disable_overscan=1
# uncomment the following to adjust overscan. Use positive numbers if console
# goes off screen, and negative if there is too much border
#overscan_left=16
#! /bin/bash
VBR="2500k" # Bitrate
FPS="30" # FPS
QUAL="medium" # Quality
YOUTUBE_URL="rtmp://a.rtmp.youtube.com/live2" # URL
SOURCE="udp://239.255.139.0:1234" # Source
KEY="XXXX.XXXXXXX" # Event (from youtube)
@danzeeeman
danzeeeman / gist:9a69a8a39d3740958f9a
Last active August 29, 2015 14:24
OF Calls to reposition an app to the second display after a screen failure
bool resetScreen;
FadeTimer resetScreenDelay; //from ofxTiming by @kylemcdonald -> https://github.com/kylemcdonald/ofxTiming
void ofApp::setup(){
....
resetScreenDelay.setLength(3.0, 0.0);
resetScreen = false;
}
void ofApp::update(){
..has a lean and hungry look.
He thinks too much.
Such men are dangerous.
from JULIUS CAESAR
-william shakespeare
Incident Identifier: 6D098321-031D-461C-B935-26678F743B33
CrashReporter Key: 4b784c86a3cb54e790a0c9e9e621d13bfe6ee671
Hardware Model: iPhone8,1
Process: UE4Game [4949]
Path: /private/var/mobile/Containers/Bundle/Application/6F78AD0C-E4FA-4066-94D6-B021435D1ECD/UE4Game.app/UE4Game
Identifier: com.YourCompany.FBXMobileTest
Version: 0.12 (1.0)
Code Type: ARM (Native)
Parent Process: launchd [1]
Option 1 – From Startup
With the Galaxy S6 powered completely off, press and hold “Volume Up” + “Home” + “Power” buttons simultaneously.
When the Samsung logo appears, release the “Power” button, but continue to hold “Volume Up” and “Home“.
When the “Android system recovery” screen appears, release all buttons.
Use the “Volume Down” button to toggle the selection to “wipe data/factory reset“, then press “Power” to choose that selection.
Use the “Volume Down” button to toggle the selection to “Yes — delete all user data“, then press “Power” to choose that selection.
Wait for the reset to finish. You will eventually be prompted to “Reboot system now“. Press “Power” to choose that selection.
https://docs.google.com/presentation/d/1vRTBOBeAJ6gt1qEKz_RQBUB2ET_47jE2bZ6JKZQjff0/edit?usp=sharing
@danzeeeman
danzeeeman / openFrameworks VS FIX
Created January 31, 2017 20:23
openFrameworks VS FIX
Select them all, right-click > Properties. In the Property page, go to Configuration Properties > C/C++ > Output Files
There, for Object File Name, replace $(IntDir) by $(IntDir)/%(RelativeDir)/
Otherlab - https://github.com/otherlab
Dreamworks - https://github.com/dreamworksanimation
Pixar - https://github.com/PixarAnimationStudios
Razorfish - https://github.com/razorfish
Google Creative Labs - https://github.com/googlecreativelab
Google Data Arts Team - https://github.com/dataarts
Deep Local - https://github.com/deeplocal
Red Paper Heart - https://github.com/redpaperheart
Fake Love - https://github.com/fakelove
LAB at Rockwell - https://github.com/labatrockwell