Skip to content

Instantly share code, notes, and snippets.

View MylesBorins's full-sized avatar

Myles Borins MylesBorins

View GitHub Profile
document.body.appendChild(document.createElement('script')).src='https://rawgit.com/tommoor/tinycon/master/tinycon.min.js';
document.body.appendChild(document.createElement('script')).src='//cdnjs.cloudflare.com/ajax/libs/lodash.js/2.4.1/lodash.js';
// select the target node
var target = document.querySelector('#chat-list');
var count = 0;
// create an observer instance
var observer = new MutationObserver(function(mutations) {
var message = mutations[0].addedNodes[0].getElementsByTagName('p')[0].innerHTML
@MylesBorins
MylesBorins / avahi-daemon.conf
Created November 28, 2012 05:32
Default avahi-daemon.com
# This file is part of avahi.
#
# avahi is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as
# published by the Free Software Foundation; either version 2 of the
# License, or (at your option) any later version.
#
# avahi is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
@MylesBorins
MylesBorins / gist:3961104
Created October 26, 2012 19:59
Install node on arm
First step...
sudo apt-get update && sudo apt-get upgrade
Go see a movie or write a novel
Follow instructions at https://github.com/joyent/node/wiki/Installing-Node.js-via-package-manager
sudo apt-get install python-software-properties
Drink a beer while you wait