Skip to content

Instantly share code, notes, and snippets.

View 128keaton's full-sized avatar

Keaton Burleson 128keaton

View GitHub Profile
@128keaton
128keaton / chromium.sh
Last active August 29, 2015 14:21
fixed flash/pdf/other for chromium run "curl -L https://goo.gl/B286lX | bash"
#!/bin/bash
#based on https://gist.github.com/3065781 which is based on https://wiki.archlinux.org/index.php/Chromium.
echo "mounting file system"
mount -o remount, rw /
#Flash, pdf.
#mp3,mp4, stopped working...
echo "removing MP3/4 fix"
rm -r /usr/lib/cronos/libffmpegsumo.so
rm -r /opt/google/chrome/libffmpegsumo.so
@128keaton
128keaton / temp.php
Created May 18, 2015 04:41
Temperature monitoring
<?php
//add your server aliases here
$servers = array(
"10.0.0.201" => "Larry",
"10.0.0.56" => "Le Mac Pro",
);
@128keaton
128keaton / Keaton.h
Created March 15, 2015 02:56
Me in a nutshell
@interface Keaton : NSObject
@property(strong, nonatomic)BOOL speak;
@end
@128keaton
128keaton / Veggie Tales XML
Created February 24, 2015 16:17
Something silly I did for a class. Now, to find my hair brush...
<?xml version="1.0" encoding="utf-8"?>
<MusicLibrary>
<genre>
<category name="Silly">
<album name = "Silly Songs with Larry" artist = "Larry the Cucumber">
<song name = "Where is my hairbrush" duration = "1:00"></song>
</album>
<album name = "Songs by Mr. Lunt" artist = "Mr Lunt">
<song name = "Cheeseburger, I love you!" duration = "1:00"></song>
</album>
In OTIHapCore.m:
- (void)setupBridgeAccessory {
/* HAKAccessory *bridgeAccessory = [[HAKAccessory alloc] init];
HAKAccessoryInformationService *infoService = [[HAKAccessoryInformationService alloc] init];
infoService.nameCharacteristic.name = @"Hue Bridge";
infoService.serialNumberCharacteristic.serialNumber = @"972BB8AF";
infoService.manufacturerCharacteristic.manufacturer = @"Philips";
infoService.modelCharacteristic.model = @"Hue Bridge";
bridgeAccessory.accessoryInformationService = infoService;