Skip to content

Instantly share code, notes, and snippets.

Charlie McConnell AvianFlu

  • Boxed
  • 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
AvianFlu / spam.md
Created Dec 4, 2015
Pretty Great Spam
View spam.md
View gist:f4131cb733b8b8e494f4
Build result &{[] map[base_error:Get https://registry.mydomain.com/userfiles/86767ce8-b593-4601-93ae-787f28c59006: x509: failed to load system roots and no roots provided] io.quay.builder.buildpackissue}
@AvianFlu
AvianFlu / iptables.rules
Created Oct 5, 2014
iptables rules for coreOS on DigitalOcea
View iptables.rules
*filter
:INPUT DROP [0:0]
:FORWARD DROP [0:0]
:OUTPUT ACCEPT [0:0]
:Leet-Firewall-1 - [0:0]
# Allow access to Ghost instances over private network
-A INPUT -i eth1 -p tcp -s 10.132.0.0/16,172.17.0.0/16,127.0.0.1 --dport 2368 -j ACCEPT
# Allow private etcd ports
View gist:dba5bdb04ff70f83b451
[Unit]
Description=Docker Daemon
Requires=multi-user.target
[Service]
ExecStart=/usr/bin/docker -d -H unix:///var/run/docker.sock -e lxc
PIDFile=/var/run/docker.pid
Restart=on-failure
[Install]
@AvianFlu
AvianFlu / wakeup.service
Created Sep 28, 2014
How to ACTUALLY fix suspend on a C720
View wakeup.service
[Unit]
Description=Proper ACPI Wakeup Settings
[Service]
Type=oneshot
RemainAfterExit=yes
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"
@AvianFlu
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
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 <charlie@charlieistheman.com>
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
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
View ssh.js
var spawn = require('child_process').spawn;
var child = spawn('ssh', ['root@198.199.85.48'], {
stdio: [0, 1, 2]
});
child.unref();
@AvianFlu
AvianFlu / gist:9518963
Created Mar 12, 2014
limechat segfault upon re-opening laptop lid
View gist:9518963
Process: LimeChat [34465]
Path: /Applications/LimeChat.app/Contents/MacOS/LimeChat
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
You can’t perform that action at this time.