Skip to content

Instantly share code, notes, and snippets.

Avatar
💻
Coding and/or kayaking probably

Travis Wimer traviswimer

💻
Coding and/or kayaking probably
View GitHub Profile
@zziuni
zziuni / stuns
Created Sep 18, 2012
STUN server list
View stuns
# source : http://code.google.com/p/natvpn/source/browse/trunk/stun_server_list
# A list of available STUN server.
stun.l.google.com:19302
stun1.l.google.com:19302
stun2.l.google.com:19302
stun3.l.google.com:19302
stun4.l.google.com:19302
stun01.sipphone.com
stun.ekiga.net
@xoppa
xoppa / gist:8647365
Last active Jan 9, 2020
CustomTextureTest.java
View gist:8647365
public class CustomTextureTest extends GdxTest {
public static class BgTextureUnitAttribute extends IntAttribute{
public static final String Alias = "bgTtextureUnit";
public final static long Type = register(Alias);
public BgTextureUnitAttribute(long type, int textureNum) {
super(type, textureNum);
}
}
public static class BgTextureShader extends DefaultShader {
@xoppa
xoppa / fragment.glsl
Last active Jul 29, 2021
Fragment lighting shader
View fragment.glsl
#ifdef GL_ES
#define LOWP lowp
#define MED mediump
#define HIGH highp
precision mediump float;
#else
#define MED
#define LOWP
#define HIGH
#endif
@staltz
staltz / introrx.md
Last active Nov 29, 2021
The introduction to Reactive Programming you've been missing
View introrx.md
View git-update-author.sh
#!/bin/sh
echo "Enter Old Email address: "
read OLD_EMAIL
echo "Enter new Email Address: "
read CORRECT_EMAIL
echo "Enter new user name (First name + Last Name): "
read CORRECT_NAME
env_filter="