Skip to content

Instantly share code, notes, and snippets.

Michael Cronnelly cronnelly

Block or report user

Report or block cronnelly

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile

Keybase proof

I hereby claim:

  • I am cronnelly on github.
  • I am cronnelly ( on keybase.
  • I have a public key ASC0iYpOGQVtE8DWLyW1ukBW-u2x2KuU9207CigbYFhTvAo

To claim this, I am signing this object:

cronnelly /
Last active Oct 26, 2016 — forked from smac89/
Install latest version of ffmpeg on Ubuntu
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 / gist:98345100afe21840267270da3283b371
Created Apr 5, 2016
lxcbr0 is being replaced by lxdbr0
View gist:98345100afe21840267270da3283b371
┌─────────────────────────────────────────────────────────┤ Configuring lxd ├──────────────────────────────────────────────────────────┐
│ │
│ lxcbr0 is being replaced by lxdbr0 │
│ │
│ With this package upgrade LXD is moving away from the LXC provided lxcbr0 bridge and moving to its own lxdbr0 bridge. │
│ │
│ The reason for this switch is:
echo '{
"handlers": ["debug"],
"name": "push_woot_test",
"output": "woot!",
"status": 0
}' > /dev/udp/
View gist:9862978
Traceback (most recent call last):
File "/home/anthracite/anthracite/", line 763, in _handle
File "/home/anthracite/anthracite/", line 1622, in wrapper
rv = callback(*a, **ka)
File "/home/anthracite/anthracite/", line 1572, in wrapper
rv = callback(*a, **ka)
File "./", line 123, in events_timeline
(range_low, range_high) = backend.get_events_range()
File "/home/anthracite/anthracite/", line 272, in get_events_range
View gist:9484112
qemu-kvm (1.0+noroms-0ubuntu14.13) precise-security; urgency=medium
* SECURITY UPDATE: privilege escalation via REPORT LUNS
- debian/patches/CVE-2013-4344.patch: support more than 256 LUNS in
hw/scsi-bus.c, hw/scsi.h.
- CVE-2013-4344
-- Marc Deslauriers <> Tue, 28 Jan 2014 09:08:09 -0500
qemu-kvm (1.0+noroms-0ubuntu14.12) precise-proposed; urgency=low
cronnelly / gist:8382688
Created Jan 12, 2014
A crude test for UDP packet loss, with bash and netcat
View gist:8382688
# On server:
COUNT=0; while true; do nc -ulw0 1234 > /dev/null; echo $((++COUNT)); done
# On client:
for i in $(seq 6000); do echo "hello" >/dev/udp/<server>/1234; sleep 0.1; done
View gist:6020857
# 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
cronnelly / node-upstart-template.conf
Last active Dec 17, 2015
Template Upstart script for Clock's Node.js applications, using nave.
View node-upstart-template.conf
author "Michael Cronnelly"
env NODE_ENV=testing
env NODE_START=/var/application/<site>/server.js
env NODE_VERSION=0.10.7
env PORT=3310
setuid node
env HOME=/home/node
You can’t perform that action at this time.