Skip to content

Instantly share code, notes, and snippets.

View orph's full-sized avatar

Alex Graveley orph

View GitHub Profile
@orph
orph / http.lua
Created December 30, 2016 22:02
Simple lua http server for OpenNMT
require('onmt.init')
local cmd = torch.CmdLine()
cmd:text("")
cmd:text("**http.lua**")
cmd:text("")
cmd:option('-config', '', [[Read options from this file]])
@orph
orph / Git Notes
Created March 28, 2013 23:33 — forked from zeel-dev/Git Notes
#add existing to git
git init
git add .
git remote add origin git@github.com:USERNAME/REPONAME.git
git push -u origin master
ls -l
#remove svn
find . -name '.svn' -type d -print0 | xargs -0 rm -rf
git commit -a -m 'removing svn files'
@orph
orph / README.md
Last active December 15, 2015 05:39 — forked from mbostock/.block

This simple force-directed graph shows character co-occurence in Les Misérables. A physical simulation of charged particles and springs places related characters in closer proximity, while unrelated characters are farther apart. Layout algorithm inspired by Tim Dwyer and Thomas Jakobsen. Data based on character coappearence in Victor Hugo's Les Misérables, compiled by Donald Knuth.

@orph
orph / hack.sh
Created March 31, 2012 11:23 — forked from erikh/hack.sh
OSX For Hackers
#!/usr/bin/env sh
##
# This is script with usefull tips taken from:
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
#
# install it:
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh
#
@orph
orph / LICENSE.txt
Created February 11, 2012 16:39 — forked from aemkei/LICENSE.txt
Game of Life - 140byt.es
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
ioijoj oijojoj