Skip to content

Instantly share code, notes, and snippets.

🏙
Empire State of Mind

Joey Leingang multigl

View GitHub Profile
View numbed.zsh
bindkey -s "^[Op" "0"
bindkey -s "^[Ol" "."
bindkey -s "^[OM" "^M"
# 1 2 3
bindkey -s "^[Oq" "1"
bindkey -s "^[Or" "2"
bindkey -s "^[Os" "3"
# 4 5 6
bindkey -s "^[Ot" "4"
bindkey -s "^[Ou" "5"
View keybase.md

Keybase proof

I hereby claim:

  • I am multigl on github.
  • I am multigl (https://keybase.io/multigl) on keybase.
  • I have a public key whose fingerprint is 47B7 2F6E F9C9 2586 6C51 5962 32D2 BD01 D1B7 7E47

To claim this, I am signing this object:

View gist:5397781
{
"boss": true,
"curly": true,
"eqeqeq": true,
"eqnull": true,
"expr": true,
"immed": true,
"noarg": true,
"onevar": true,
"sub": true,
@multigl
multigl / mysql2sqlite.sh
Created Sep 11, 2012 — forked from esperlu/mysql2sqlite.sh
MySQL to Sqlite converter
View mysql2sqlite.sh
#!/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 chosen 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
You can’t perform that action at this time.