Skip to content

Instantly share code, notes, and snippets.

@karimofthecrop
karimofthecrop / keybase.md
Created March 25, 2018 06:37
Keybase proof

Keybase proof

I hereby claim:

  • I am karimofthecrop on github.
  • I am karimofthecrop (https://keybase.io/karimofthecrop) on keybase.
  • I have a public key ASC8FBOqfE5j6MrYTiGrnfh9k80cJlblPzqgv4iaeTqNbwo

To claim this, I am signing this object:

#!/usr/bin/env python
# Takes in some JSON objects (one per line) on stdin
# Outputs a TSV on stdout
# Pipe it to a file or pipe it to your favorite shell utility
import codecs
import json
import string
import sys
@karimofthecrop
karimofthecrop / fixosx.sh
Created April 10, 2014 23:10
More fixes for OSX
#!/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
#
@karimofthecrop
karimofthecrop / fixosx.md
Last active August 29, 2015 13:58
Fix OSX

Introduction

Anyone who has done regular programming in a Linux environment is quite shocked when forced to sit at a Mac: the terminal program doesn't have niceties installed, there are too many keyboard modifier keys, the home/end/page-up/page-down keys don't behave as expected, and much much more.

Whether or not you suffer when using a Mac to program, this page will allow you to get your environment to an arguably optimal state.

Problem: page-up/page-down/end/home are "broken", as are most inter-program keyboard shortcuts

Install better touch tool