Skip to content

Instantly share code, notes, and snippets.

Avatar

Ben Fortune xbenjii

View GitHub Profile
@xdamman
xdamman / install_ffmpeg_ubuntu.sh
Created Jul 2, 2014
Install latest ffmpeg on ubuntu 12.04 or 14.04
View install_ffmpeg_ubuntu.sh
#!/bin/bash
# Bash script to install latest version of ffmpeg and its dependencies on Ubuntu 12.04 or 14.04
# Inspired from https://gist.github.com/faleev/3435377
# Remove any existing packages:
sudo apt-get -y remove ffmpeg x264 libav-tools libvpx-dev libx264-dev
# Get the dependencies (Ubuntu Server or headless users):
sudo apt-get update
@ralt
ralt / pastebin.sh
Last active Aug 31, 2016
putfile & pastebin
View pastebin.sh
#!/bin/bash
SSH_FOLDER=foo@bar.com:www/
BASE_URL=http://bin.foo.com/
PASTE_FOLDER=~/.pastes/
file=$(mktemp ${PASTE_FOLDER}XXXXXX)
mv $file $file.html
file="$file.html"
chmod 644 ${file}
@ssube
ssube / .tmux.conf
Last active Nov 16, 2017
tmux with vim bindings for atom terminal-plus with tmux bindings
View .tmux.conf
# use UTF8
set -g utf8
set-window-option -g utf8 on
# make tmux display things in 256 colors
#set -g default-terminal "xterm-256color"
# set scrollback history to 10000 (10k)
set -g history-limit 10000
View workout and diet
1:
Arms/Shoulders (triceps, biceps).
30 minutes cardio (or 3 miles, which ever takes longer)
Pullup set (assisted if you can't do real pullups) 5 reps * 3 (repeat for at least 3 different grip variations)
Tricep dips (assisted if needed, otherwise use machine)
Shoulder press, etc
Add in whatever arms you like here
End with burn outs
You can’t perform that action at this time.