Skip to content

Instantly share code, notes, and snippets.

Charlie McConnell AvianFlu

  • Blue Apron
  • New York, NY
Block or report user

Report or block AvianFlu

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
AvianFlu / awesomebot.conf
Created Feb 8, 2014
Example upstart script
View awesomebot.conf
description "awesome bot"
start on startup
stop on shutdown
echo $$ >> /var/run/
exec node /var/bots/awesome.js >> /var/log/awesomebot.log 2>&1
View starbound server crash
*** glibc detected *** /home/steam/Steam/SteamApps/common/Starbound/linux64/starbound_server: free(): corrupted unsorted chunks: 0x0000000008c0c720 ***
======= Backtrace: =========
======= Memory map: ========
AvianFlu / gist:9518963
Created Mar 12, 2014
limechat segfault upon re-opening laptop lid
View gist:9518963
Process: LimeChat [34465]
Path: /Applications/
Identifier: net.limechat.LimeChat
Version: 2.39 (2.39)
Code Type: X86-64 (Native)
Parent Process: launchd [248]
Responsible: LimeChat [34465]
User ID: 501
Date/Time: 2014-03-12 19:33:29.453 -0400
View ssh.js
var spawn = require('child_process').spawn;
var child = spawn('ssh', ['root@'], {
stdio: [0, 1, 2]
View gist:8774b3b7bec07fa8de4c
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDLxOIAwpC0GmSuryhh0Ey4lKnR4NcneFe8hsnDQHsqp9MN6eF9top9vwXf/2pFLkq2PPSaoJvjC9N650MEfthP8LIR5xWBlrBYUAK/0slZN/nSfo8aLmleCXy11Y6PMXsKOkpY8Dmb36g+hIbNW+PEEz68iQYijuKhZn+tMlMyKsw6xvwxABd07q04AazybVz6oZfztWOhfb8UAXA9+iZwBMBMuBLGCLmv+zmPq3I/V21kkquMFEyVX1gOMKKHFH+XnsqtHavZpvOThvOpFQ87p8wolJ+teIGh/tZ++Qwxhg8O4n5iMnw5usdPFuhaPZmupLvIucQRyye+xc82i30F avianflu@Charlies-MacBook-Pro.local
AvianFlu / c720-i3-backlight.patch
Created Aug 25, 2014
Fix backlight on Acer C720 i3 models
View c720-i3-backlight.patch
From 41576ce101a70e44f5cf28dce5664c3449d5cc8d Mon Sep 17 00:00:00 2001
From: Charlie McConnell <>
Date: Mon, 25 Aug 2014 16:23:22 -0400
Subject: [PATCH] [drm/i915] Acer C720 i3 models have backlights
drivers/gpu/drm/i915/intel_display.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
AvianFlu / gist:f727bb2b11dcc950c779
Created Sep 23, 2014
The #archlinux IRC channel in a nutshell
View gist:f727bb2b11dcc950c779
<niel> havent done a system update in a year whats the chance it wrecks everything
<berceanu> niel: 67%
<Pessimist> niel, pi/5
<gnubien> niel: ask in #systemd
<sd1001> niel: Backup, then try
<oldwzd> niel: running ZFS?
<niel> oh god
<niel> no zfs
AvianFlu / wakeup.service
Created Sep 28, 2014
How to ACTUALLY fix suspend on a C720
View wakeup.service
Description=Proper ACPI Wakeup Settings
ExecStart=/bin/bash -c "echo LID0 > /proc/acpi/wakeup"
ExecStart=/bin/bash -c "echo TPAD > /proc/acpi/wakeup"
ExecStart=/bin/bash -c "echo TSCR > /proc/acpi/wakeup"
View gist:dba5bdb04ff70f83b451
Description=Docker Daemon
ExecStart=/usr/bin/docker -d -H unix:///var/run/docker.sock -e lxc
AvianFlu / iptables.rules
Created Oct 5, 2014
iptables rules for coreOS on DigitalOcea
View iptables.rules
:Leet-Firewall-1 - [0:0]
# Allow access to Ghost instances over private network
-A INPUT -i eth1 -p tcp -s,, --dport 2368 -j ACCEPT
# Allow private etcd ports
You can’t perform that action at this time.