Skip to content

Instantly share code, notes, and snippets.

@Vunovati
Vunovati / guake_iterms_desert_colorscheme
Created February 11, 2013 09:16
guake: emulate iterms desert scheme
gconftool-2 --set /apps/guake/style/font/color --type string "#FFFFFF"
gconftool-2 --set /apps/guake/style/background/color --type string "#333333"
gconftool-2 --set /apps/guake/style/font/bold --type string "#FFD700"
gconftool-2 --set /apps/guake/style/font/palette --type string "#4D4D4D:#FF2B2B:#98FB98:#F0E68C:#CD853F:#FFDEAD:#FFA0A0:#F5DEB3:#555555:#FF5555:#55FF55:#FFFF55:#87CEFF:#FF55FF:#FFD700:#FFFFFF"
@Vunovati
Vunovati / simple-server.js
Created February 7, 2013 11:48
nodejs: simple http server
var http = require("http"),
url = require("url"),
path = require("path"),
fs = require("fs")
port = process.argv[2] || 8888;
http.createServer(function(request, response) {
var uri = url.parse(request.url).pathname, filename = path.join(process.cwd(), uri);
@Vunovati
Vunovati / remove a commit
Created October 13, 2012 11:20
Remove a commit from commit tree
git rebase -i <commit>~1