Skip to content

Instantly share code, notes, and snippets.

@mkc188
mkc188 / Makefile
Created March 8, 2015 10:55
librabinpoly test
all:
gcc -g main.c -o main -lrabinpoly -lcrypto -Wno-deprecated-declarations
./main main.c
Capslock::Ctrl
AppsKey::Capslock
LWin::Alt
Alt::Ctrl
Ctrl::LWin
Ctrl up::Send {Ctrl Up}
*Tab::Send {Blind}{Tab}
# Location of casks
CASKROOM = '/opt/homebrew-cask/Caskroom/'
# Go through installed casks.
Dir.foreach(CASKROOM) do |cask_name|
# Ignore hidden files/directories (i.e. '..' and '.', although someone could
# potentially have others, such as ".DS_Store" if they've trashed anything
# there).
next if cask_name.chr == '.'
@mkc188
mkc188 / gist:2b1a57d597882f229ffd
Last active December 16, 2015 21:21
List of installed packages after reinstall OSX
xcode-select --install
brew install zsh
brew install zsh-completions
rm -f ~/.zcompdump; compinit
chmod go-w /usr/local/share
brew install git
brew install hg
brew install vim --with-lua --with-luajit
brew install macvim --with-lua --with-luajit
brew install nano
@mkc188
mkc188 / config
Last active October 20, 2019 23:07
A port of vim-hybrid color theme for Terminator (https://github.com/w0ng/vim-hybrid)
[global_config]
[keybindings]
[profiles]
[[default]]
[[hybrid]]
palette = "#282a2e:#a54242:#8c9440:#de935f:#5f819d:#85678f:#5e8d87:#707880:#373b41:#cc6666:#b5bd68:#f0c674:#81a2be:#b294bb:#8abeb7:#c5c8c6"
scrollbar_position = hidden
cursor_color = "#c5c8c6"
foreground_color = "#c5c8c6"
show_titlebar = False
# configuration for osx clipboard support
set-option -g default-command "reattach-to-user-namespace -l sh"