I hereby claim:
- I am k2nr on github.
- I am k2nr (https://keybase.io/k2nr) on keybase.
- I have a public key ASCYfKJsYFkLAe0Ur2o4xFZ9kfk3uYkwFmt0d2h8wunqKAo
To claim this, I am signing this object:
javascript:(function(){document.body.removeChild(document.querySelector('#mw-sopaOverlay'));var%20d=document.querySelectorAll('div');for(i%20in%20d){if(d[i].style)d[i].style.display='block';}})(); |
nmap s :Open javascript:(function()%7Bwindow.twttr=window.twttr%7C%7C%7B%7D;var%20D=550,A=450,C=screen.height,B=screen.width,H=Math.round((B/2)-(D/2)),G=0,F=document,E;if(C%3EA)%7BG=Math.round((C/2)-(A/2))%7Dwindow.twttr.shareWin=window.open('http://twitter.com/share','','left='+H+',top='+G+',width='+D+',height='+A+',personalbar=0,toolbar=0,scrollbars=1,resizable=1');E=F.createElement('script');E.src='http://platform.twitter.com/bookmarklets/share.js?v=1';F.getElementsByTagName('head')%5B0%5D.appendChild(E)%7D()); | |
alias share Open javascript:(function()%7Bwindow.twttr=window.twttr%7C%7C%7B%7D;var%20D=550,A=450,C=screen.height,B=screen.width,H=Math.round((B/2)-(D/2)),G=0,F=document,E;if(C%3EA)%7BG=Math.round((C/2)-(A/2))%7Dwindow.twttr.shareWin=window.open('http://twitter.com/share','','left='+H+',top='+G+',width='+D+',height='+A+',personalbar=0,toolbar=0,scrollbars=1,resizable=1');E=F.createElement('script');E.src='http://platform.twitter.com/bookmarklets/share.js?v=1';F.getElementsByTagName('head')%5B0%5D.a |
#!/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 | |
# |
function removeDups(array) { | |
var obj = {}, | |
len = array.length, | |
res = [], | |
i; | |
for(i=0; i < len; i++) { | |
obj[JSON.stringify(array[i])] = array[i]; | |
} |
(defmacro defmemo | |
[name & fdecl] | |
`(def ~name | |
(memoize (fn ~fdecl)))) |
#!/bin/bash | |
RAMDISK_SIZE=1024 # MB | |
RAMDISK_BLOCKS=$((2048*$RAMDISK_SIZE)) | |
RAMDISK_ROOT=/Volumes/ramdisk | |
diskutil erasevolume HFS+ "ramdisk" `hdiutil attach -nomount ram://$RAMDISK_BLOCKS` &> /dev/null | |
mkdir $RAMDISK_ROOT/mysql | |
unset TMPDIR |
(ns md5.core | |
(:require [clojure.core.reducers :as r] | |
[clojure.string :as s]) | |
(:import [java.security MessageDigest] | |
[javax.xml.bind DatatypeConverter])) | |
(defn ^String hexdigest [^String s] | |
(let [digester (MessageDigest/getInstance "MD5")] | |
(. digester update (.getBytes s)) | |
(DatatypeConverter/printHexBinary (.digest digester)))) |
keycode 97 = grave asciitilde | |
keycode 132 = grave asciitilde |
# This file has been auto-generated by i3-config-wizard(1). | |
# It will not be overwritten, so edit it as you like. | |
# | |
# Should you change your keyboard layout some time, delete # this file and re-run i3-config-wizard(1). # | |
# i3 config file (v4) | |
# | |
# Please see http://i3wm.org/docs/userguide.html for a complete reference! | |
set $mod Mod4 |
I hereby claim:
To claim this, I am signing this object: