Skip to content

Instantly share code, notes, and snippets.


DaiJu SenSei lvlovestory

  • 20348 Clay St, Cupertino, CA 95014
View GitHub Profile
lvlovestory /
Created Nov 11, 2015 — forked from esperlu/
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
lvlovestory /
Last active Aug 29, 2015 — forked from hwdsl2/
IPsec L2TP VPN Auto Install Script for Ubuntu 14.04 & 12.04 and Debian 8 & 7
lvlovestory / squid.conf
Last active Aug 29, 2015 — forked from pixline/squid.conf
pfsense 2.1 squid3 proxy + adblock setup
View squid.conf
http_port intercept
icp_port 7
dns_v4_first off
pid_filename /var/run/
cache_effective_user proxy