View power state.md

known power states

Darkwake

add info about what can happen in darkwake here

EC.ACAttach/Maintenance

  • observed when a machine has the lid shit and AC power is plugged in
DarkWake from Normal Sleep [CDN] due to EC.ACAttach/Maintenance: Using AC (Charge:60%) 45 secs  
View readme.md

Monitoring angular $$watchers

There are a few chrome extensions that will tell you the total count of your angular $$watchers but in order to narrow down the problem areas I needed more insight into which elements were causing problems. This script helped me by giving me the ability to:

  • Quickly identify the top x elements with the highest number of $$watchers
  • Get the total $$watchers for any element including all of it's descendants
  • Get all $$watchers for the current documentElement

For debugging I recommend using chrome snippets. Paste the watcher.js script into a new snippet, save it and then run it. Once you load the snippet you can call any functions it loaded directly from the console as many times as you want.

View seFriends.json
data = {
513235098: {
'name': 'Jessica Rosencrantz',
'party': 'M',
'url': 'www.facebook.com/profile.php?id=513235098',
'links': 79,
friends: [100000187341594, 100000291294767, 100000355044663, 100000376216663, 100000435428982, 100000498548271, 100000722350039, 100000915833836, 100001003344685, 100001271265275, 1098281303, 1120780235, 1163238064, 1216865551, 1316987640, 1559240903, 1579393963, 1580354178, 1580984151, 1588213609, 1632673980, 1648244070, 1798792206, 1823746056, 518863727, 566150442, 615400577, 627432198, 659317346, 659447527, 659797047, 660268257, 667560872, 671580417, 680898153, 694083449, 709209568, 712594934, 719250028, 720692924, 744692971, 746972005, 747718940, 665044967, 659035975, 100000190566310, 630497853, 640985323, 652186403, 660192511, 1559042200, 616582915, 706609537, 592467716, 1140645457, 568642535, 1543462611, 765202870, 761624739, 597050673, 821993711, 519550685, 1435452082, 731441945, 740646481, 541310839, 531801283, 564086102, 829338915, 586248830, 18326
View plusone.js
// unminifed version of https://apis.google.com/js/plusone.js
// see https://developers.google.com/+/plugins/+1button/#getting-started
window.___jsl = window.___jsl || {};
window.___jsl.h = window.___jsl.h || 'm;\/_\/apps-static\/_\/js\/gapi\/__features__\/rt=j\/ver=zVTxVnVbJog.en_US.\/sv=1\/am=!FRwcaGMpC1CIJ0aI4g\/d=1\/';
window.___jsl.l = [];
window.___gpq = [];
window.gapi = window.gapi || {};
window.gapi.plusone = window.gapi.plusone || (function () {
function f(n) {
View gist:7850920
ftp://ftp.attglobal.net/pub/custom/ibm_linux/agnclient-1.0-2.0.1.3003.i386.rpm
View gist:7013529
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>author</key>
<string>Michael Sheets</string>
<key>name</key>
<string>Twilight</string>
<key>settings</key>
<array>
View gist:5899513
Access to .ORG WHOIS information is provided to assist persons in
determining the contents of a domain name registration record in the
Public Interest Registry registry database. The data in this record is provided by
Public Interest Registry for informational purposes only, and Public Interest Registry does
not
guarantee its accuracy. This service is intended only for query-based
access. You agree that you will use this data only for lawful purposes
and that, under no circumstances will you use this data to: (a) allow,
enable, or otherwise support the transmission by e-mail, telephone, or
View cnnAnalyzer.js
var $ = require('cheerio'),
request = require('request')
function gotHTML(err, resp, html) {
if (err) return console.error(err)
var parsedHTML = $.load(html)
parsedHTML('.cnn_mtt1content > ul > li > a ').map(function(i, latest) {
var href = $(latest).attr('href')
console.log(href);
})
View gist:5873214
$ nmap -p 6667 -sT irc.mozilla.org
Starting Nmap 6.25 ( http://nmap.org ) at 2013-06-26 21:10 EDT
Nmap scan report for irc.mozilla.org (63.245.216.214)
Host is up (0.076s latency).
rDNS record for 63.245.216.214: concrete.mozilla.org
PORT STATE SERVICE
6667/tcp open irc
Nmap done: 1 IP address (1 host up) scanned in 2.09 seconds
View gist:4245981
/Users/donellekosch/Sites/favorites/node_modules/jsdom/lib/jsdom.js:177
features = JSON.parse(JSON.stringify(window.document.implementation._fea
^
TypeError: Cannot read property 'implementation' of undefined
at exports.env.exports.jsdom.env.processHTML (/Users/donellekosch/Sites/favorites/node_modules/jsdom/lib/jsdom.js:177:59)
at Request.exports.env.exports.jsdom.env [as _callback] (/Users/donellekosch/Sites/favorites/node_modules/jsdom/lib/jsdom.js:282:9)
at Request.init.self.callback (/Users/donellekosch/Sites/favorites/node_modules/jsdom/node_modules/request/main.js:122:22)
at Request.EventEmitter.emit (events.js:99:17)
at Request.<anonymous> (/Users/donellekosch/Sites/favorites/node_modules/jsdom/node_modules/request/main.js:661:16)
at Request.EventEmitter.emit (events.js:126:20)