Skip to content

Instantly share code, notes, and snippets.

Avatar

Alex Mellnik amellnik

View GitHub Profile
@amellnik
amellnik / custom.css
Last active May 25, 2016
Custom styles for Jupyter
View custom.css
/*
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)
*/
@amellnik
amellnik / styles.less
Created May 24, 2016
Custom styles for Atom (on top of One Dark)
View styles.less
/*
* 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 / SQLiteToMySQL.jl
Created Dec 22, 2015
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
View SQLiteToMySQL.jl
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]
You can’t perform that action at this time.