Skip to content

Instantly share code, notes, and snippets.

View amellnik's full-sized avatar

Alex Ryckman Mellnik amellnik

View GitHub Profile
@amellnik
amellnik / SQLiteToMySQL.jl
Created December 22, 2015 00:16
Convert from a sqlite3 dump to a MySQL one. This is a almost exact translation of a script from here: https://www.redmine.org/boards/2/topics/12793?r=24983
if VERSION < v"0.4.0"
error("This uses some string functions only available in 0.4.0+")
end
#Get the file names from the arguments
if length(ARGS) >= 2
inFileName = ARGS[1]
outFileName = ARGS[2]
elseif length(ARGS) == 1
inFileName = ARGS[1]
@amellnik
amellnik / styles.less
Created May 24, 2016 22:01
Custom styles for Atom (on top of One Dark)
/*
* Your Stylesheet
*
* This stylesheet is loaded when Atom starts up and is reloaded automatically
* when it is changed and saved.
*
* Add your own CSS or Less to fully customize Atom.
* If you are unfamiliar with Less, you can read more about it here:
* http://lesscss.org
*/
@amellnik
amellnik / custom.css
Last active May 25, 2016 22:39
Custom styles for Jupyter
/*
Name: Base16 Twilight Dark
Author: David Hart (http://hart-dev.com)
CodeMirror template adapted for IPython Notebook by Nikhil Sonnad (https://github.com/nsonnad/base16-ipython-notebook)
CodeMirror template by Jan T. Sott (https://github.com/idleberg/base16-chrome-devtools)
Original Base16 color scheme by Chris Kempson (https://github.com/chriskempson/base16)
*/