Skip to content

Instantly share code, notes, and snippets.


Andreas Neukoetter AndreasOM

View GitHub Profile
deckar01 /
Last active Nov 26, 2015
Rooting the Transcend WiFi SD card by injecting commands into the wifi channel config

Other languages:

Rooting the Transcend WiFi SD card

by injecting commands into the wifi channel config


This exploit requires opening the "Files" page of the card's web interface and escaping to the root of the file system.

kebby / ZLibDecoder.cs
Created Oct 28, 2013
Inflate (ZLib decoder) implementation in C#, taken from Sean Barrett's stb_image: You might wonder why I did this if there has always been DeflateStream which works well enough: I had to learn that DeflateStream isn't always available. One example is the Unity3D engine where you can't use it in web player projects…
View ZLibDecoder.cs
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
namespace Utility
/// <summary>
/// public domain zlib decode
/// original: v0.2 Sean Barrett 2006-11-18
jbenet /
Last active Feb 21, 2021
a simple git branching model

a simple git branching model (written in 2013)

This is a very simple git workflow. It (and variants) is in use by many people. I settled on it after using it very effectively at Athena. GitHub does something similar; Zach Holman mentioned it in this talk.

Update: Woah, thanks for all the attention. Didn't expect this simple rant to get popular.

View my_app.rb
require 'sinatra/base'
class MyApp < Sinatra::Base
@@my_app = {}
def*) self < MyApp ? super : end
def @@my_app[url] = self end
class FooController < MyApp
map '/foo'
esperlu /
Created Apr 27, 2011
MySQL to Sqlite converter
# Converts a mysqldump file into a Sqlite 3 compatible file. It also extracts the MySQL `KEY xxxxx` from the
# CREATE block and create them in separate commands _after_ all the INSERTs.
# Awk is choosen because it's fast and portable. You can use gawk, original awk or even the lightning fast mawk.
# The mysqldump file is traversed only once.
# Usage: $ ./mysql2sqlite mysqldump-opts db-name | sqlite3 database.sqlite
# Example: $ ./mysql2sqlite --no-data -u root -pMySecretPassWord myDbase | sqlite3 database.sqlite
PhirePhly / LCDClock.c
Created Feb 6, 2011
Low Power LCD Clock - MSP430G2231
View LCDClock.c
// Low-power LCD Clock
// Kenneth Finnegan, 2011
#include "msp430G2231.h"
// Pin Assignments
#define MOSI 0
#define SCK 1
Kilian / annoying.js
Created Jan 6, 2011
How to be an asshole
View annoying.js
* Annoying.js - How to be an asshole to your users
* Copyright (c) 2011 Kilian Valkhof (
* Visit for more information and changelogs.
* Visit for the introduction and weblog
* Check out if you want to annoy developer instead of visitors
View gist:594367
<?xml version="1.0" encoding="utf-8"?>
Show the compile date of a SWF.
minWidth="600" minHeight="400"