Skip to content

Instantly share code, notes, and snippets.

@Reder
Reder / .tmux.conf
Created April 28, 2013 16:50
tmux conf.
# settings from: http://michaelalynmiller.com/blog/2013/02/27/vim-tmux-clojure/
# ##############################################################
# Global settings.
#
# Switch the prefix to Ctrl-a since Ctrl-b interferes with Vim.
set -g prefix C-a
unbind C-b
# Change the default input delay in order to improve Vim
@Reder
Reder / rm_tn_header
Created September 6, 2016 06:27
Script to remove headers generated by TruncNotes(http://www.trunknotes.com).
for file in ./notes/*
do
ruby -i.bak -ne 'print if not /Title:|Timestamp:|Created:|Last\sAccessed:|Times\sAccessed:|Tags:|Metadata:/' "$file"
done
@Reder
Reder / os_x_install.sh
Last active June 15, 2019 01:05
[Mac Installation script] Use Homebrew to install dev tools and apps. Not tested yet. #Mac
#!/bin/sh
# Install Homebrew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# homebrew taps
brew tap caskroom/cask
brew tap caskroom/versions
brew tap caskroom/fonts
# homebrew apps
@Reder
Reder / keybase.md
Created January 24, 2018 06:00
keybase.md

Keybase proof

I hereby claim:

  • I am reder on github.
  • I am reder (https://keybase.io/reder) on keybase.
  • I have a public key ASBMzj1fcH068KmRfD639YCTs-JhgBmZnqc0G8p8GGQ57wo

To claim this, I am signing this object:

@Reder
Reder / workflowy.js
Last active June 22, 2018 06:12
[Clip to WorkFlowy using Copied Script Formatter] #workflowy
function canFormat(clipping) {
return clipping.url != null
}
function format(clipping) {
return '<opml><body><outline text="' + clipping.title + '" _note="' + clipping.url + '" /></body></opml>'
}