Skip to content

Instantly share code, notes, and snippets.

View SIRprise's full-sized avatar
🙂
Doin' things

SIRprise

🙂
Doin' things
  • Germany
View GitHub Profile
@makimoto
makimoto / removeWikipediaNotice.user.js
Created November 23, 2011 16:04
a user script to remove Wikipedia's donation notice
// ==UserScript==
// @name Remove Wikipedia Notice
// @namespace http://makimoto.tsuyabu.in
// @include http://*.wikipedia.org/*
// ==/UserScript==
document.getElementById('siteNotice').style.display = 'none'
@caffo
caffo / GORILLA.BAS
Created October 31, 2011 03:24
QBasic Gorillas
' Q B a s i c G o r i l l a s
'
' Copyright (C) IBM Corporation 1991
'
' Your mission is to hit your opponent with the exploding banana
@esperlu
esperlu / mysql2sqlite.sh
Created April 27, 2011 05:46
MySQL to Sqlite converter
#!/bin/sh
# 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