Skip to content

Instantly share code, notes, and snippets.

Avatar

Rath Yin ryin

View GitHub Profile
@ryin
ryin / verify_redemption.sh
Created Oct 4, 2013
Retrieve iTunes receipt
View verify_redemption.sh
#!/bin/bash
base64 -D <(echo $1) | curl -d @- https://buy.itunes.apple.com/verifyReceipt
@ryin
ryin / .tmux.conf
Created Jul 14, 2012
tmux 1.6 configuration file
View .tmux.conf
set -g default-terminal "screen-256color"
# set window notifications
setw -g monitor-activity on
set -g visual-activity on
# set vi keybindings
set-window-option -g mode-keys vi
# remap PREFIX to C-a
@ryin
ryin / tmux_local_install.sh
Last active Nov 24, 2020
bash script for installing tmux without root access
View tmux_local_install.sh
#!/bin/bash
# Script for installing tmux on systems where you don't have root access.
# tmux will be installed in $HOME/local/bin.
# It's assumed that wget and a C/C++ compiler are installed.
# exit on error
set -e
TMUX_VERSION=1.8
You can’t perform that action at this time.