Skip to content

Instantly share code, notes, and snippets.

View danzeeeman's full-sized avatar

Dan Moore danzeeeman

View GitHub Profile
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.
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]
..has a lean and hungry look.
He thinks too much.
Such men are dangerous.
from JULIUS CAESAR
-william shakespeare
@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(){
#! /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: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
@danzeeeman
danzeeeman / gist:b0b1a2a5174f7da45d0a
Last active August 29, 2015 14:05
AlphaTest for openGL ES2
alphatest.frag
=======
precision highp float;
uniform sampler2D tex0;
uniform float alpha;
varying vec2 texCoordVarying;
void main()
{
@danzeeeman
danzeeeman / gist:11196332
Created April 22, 2014 22:17
I like this frag
#version 120
#define PI (3.1415926536)
#define TWO_PI (6.2831853072)
uniform sampler2DRect bumpmap;
uniform float elapsedTime;
varying vec2 TexCoord;
varying vec3 normal;
varying vec3 pos;
@danzeeeman
danzeeeman / gist:11193283
Created April 22, 2014 20:32
sphere dots shader
#version 120
#define PI (3.1415926536)
#define TWO_PI (6.2831853072)
uniform sampler2DRect bumpmap;
uniform float elapsedTime;
varying vec2 TexCoord;
varying vec3 normal;
varying vec3 pos;