Skip to content

Instantly share code, notes, and snippets.

Nico nkreipke

Block or report user

Report or block nkreipke

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
nkreipke / genesis-filewreck.rb
Last active Dec 31, 2015
This destroys SEGA Genesis games by writing random bytes over the code.
View genesis-filewreck.rb
def randomchar
def wreck!(data,iterations)
randrange =,data.length)
iterations.times do |i|
data[$rand.rand(randrange)] = randomchar
def valforbyte(data,byteindex)
View gist:27028811cbe8d541957a
using System;
public static class Program
public struct Bug
public int a;
public long c;
public int b;
public long d;
nkreipke / macstickies.rb
Created Jul 22, 2014
OS X StickieDatabase extractor to separate RTF files
View macstickies.rb
#!/usr/bin/env ruby -wKU
$stickieIndex = 0
def uniq_index
i = $stickieIndex
$stickieIndex += 1
class Stickie
nkreipke / treemeta.cpp
Created Aug 25, 2015
C++ Meta-Programming Tree Structure
View treemeta.cpp
#include <iostream>
struct Nix {};
template<int val, typename left, typename right>
struct Was
using left_type = left;
using right_type = right;
You can’t perform that action at this time.