Skip to content

Instantly share code, notes, and snippets.

View cronnelly's full-sized avatar

Michael Cronnelly cronnelly

View GitHub Profile
@cronnelly
cronnelly / install_ffmpeg.sh
Last active October 26, 2016 07:24 — forked from smac89/install_ffmpeg.sh
Install latest version of ffmpeg on Ubuntu
#!/bin/bash
sudo apt-get update
sudo apt-get -y install autoconf automake build-essential libass-dev libfreetype6-dev \
libsdl1.2-dev libtheora-dev libtool libva-dev libvdpau-dev libvorbis-dev libxcb1-dev libxcb-shm0-dev \
libxcb-xfixes0-dev pkg-config texinfo zlib1g-dev
# Create a dir where the rest of the sources will live
mkdir ~/ffmpeg_sources
@cronnelly
cronnelly / client.sh
Last active August 29, 2015 14:05 — forked from nstielau/client.sh
#!/bin/bash
echo '{
"handlers": ["debug"],
"name": "push_woot_test",
"output": "woot!",
"status": 0
}' > /dev/udp/127.0.0.1/3030
# Fix PuTTY's bad ACS handling in Unicode
set-option -ga terminal-overrides ',*:enacs@:smacs@:rmacs@:acsc@'
# Start from 1
set -g pane-base-index 1
set -g base-index 1
# Colours
set-option -g default-terminal screen-256color