Skip to content

Instantly share code, notes, and snippets.

@emory
emory / 0_reuse_code.js
Created March 13, 2014 02:47
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@emory
emory / keybase.md
Last active August 29, 2015 13:58
201404041609 keybase proof emory@stickwell via 128.255.0.0/16

Keybase proof

I hereby claim:

  • I am emory on github.
  • I am emory (https://keybase.io/emory) on keybase.
  • I have a public key whose fingerprint is A8C4 D7D7 54C8 EABA 7964 3AE8 EB9C 9F2F 7EEB 0403

To claim this, I am signing this object:

@emory
emory / gist:10301696
Created April 9, 2014 18:42
riposte y u no sleep
Incident Identifier: 83B3A6BF-B9B9-4D00-8A3B-5472E1AF0E74
CrashReporter Key: da20006cc4c69bd3803721774630b4dde23af289
Hardware Model: iPhone5,2
Process: Riposte [847]
Path: /var/mobile/Applications/A07768B5-B65F-41C2-955C-C71996C5E2DF/Riposte.app/Riposte
Identifier: com.riposte.riposteiphone
Version: 99 (1.6)
Code Type: ARM (Native)
Parent Process: launchd [1]
@emory
emory / merger.py
Created April 21, 2014 21:14 — forked from btoews/merger.py
# file: merger.py
# based off: http://cmikavac.net/2011/07/09/merging-multiple-nessus-scans-python-script/
# by: mastahyeti
import xml.etree.ElementTree as etree
import shutil
import os
first = 1
for fileName in os.listdir("."):
----- Original message -----
From: "Emory L." <emory@hellyeah.com>
To: Mac OS X enterprise deployment project <macenterprise@lists.psu.edu>, "adambarnett52@GMAIL.COM" <adambarnett52@gmail.com>
Subject: RE: Osx 10.9 tags
Date: Fri, 14 Mar 2014 13:33:02 -0500
This is probably because your extended attributes and metadata aren't making it over. If you're using rsync from a Mac, the one Apple includes is not able to do this.
Recommended solution: install rsync 3.1.0, I use Homebrew to install it. I can't vouch for your destination filesystem and platform knowing what an extended attribute is, but it works for me against HFS+ and ZFS destinations on FreeBSD, OS X servers.
----- Original message -----
From: "Emory L." <emory@kvet.ch>
To: Mac OS X enterprise deployment project <macenterprise@lists.psu.edu>
Subject: RE: Osx 10.9 tags
Date: Tue, 18 Mar 2014 10:23:43 -0500
adambarnett52@GMAIL.COM writes:
> No joy with using -E
>
Last Exception Backtrace:
0 CoreFoundation 0x21e19e2a __exceptionPreprocess + 122
1 libobjc.A.dylib 0x2eebac86 objc_exception_throw + 34
2 CoreFoundation 0x21e1f174 -[NSObject(NSObject) doesNotRecognizeSelector:] + 184
3 CoreFoundation 0x21e1d092 ___forwarding___ + 710
4 CoreFoundation 0x21d4f1f4 _CF_forwarding_prep_0 + 20
5 Cathode 0x000e49d8 0xda000 + 43480
6 Cathode 0x000e50f8 0xda000 + 45304
7 Cathode 0x0011e924 0xda000 + 280868
8 Foundation 0x22b932ec __NSFireTimer + 60
@emory
emory / gist:2e472eba7526dbed9262
Created October 27, 2014 04:43
2014-10-26 201410262342 @emory
vfs.generic.nfs.client.access_dotzfs: 1
kstat.zfs.misc.fm.erpt-dropped: 0
kstat.zfs.misc.fm.erpt-set-failed: 0
kstat.zfs.misc.fm.fmri-set-failed: 0
kstat.zfs.misc.fm.payload-set-failed: 0
kstat.zfs.misc.xuio_stats.onloan_read_buf: 0
kstat.zfs.misc.xuio_stats.onloan_write_buf: 0
kstat.zfs.misc.xuio_stats.read_buf_copied: 0
kstat.zfs.misc.xuio_stats.read_buf_nocopy: 0
kstat.zfs.misc.xuio_stats.write_buf_copied: 0
@emory
emory / gist:2949e137a753321d302a
Created February 19, 2015 05:10
go go gadget l2arc
1 # go go gadget l2arc
2 capacity operations bandwidth
3 pool alloc free read write read write
4 ------------------------------------------------------------------ ----- ----- ----- ----- ----- -----
5 bees 1.43T 1.29T 39 1.89K 4.24M 165M
6 mirror 1.35T 475G 39 383 4.24M 33.3M
7 /var/run/disk/by-id/media-FF5ED2E0-D4D7-CF4B-A490-067E6B4B5BC9 - - 9 268 1.01M 29.5M
8 /var/run/disk/by-id/media-3EB10351-DEC9-694A-8C3C-7A4C4B1B605D - - 29 306 3.24M 33.6M
9 mirror 85.0G 843G 0 820 0 76.3M
10 disk10 - - 0 6
@emory
emory / privacy-policy.md
Created October 1, 2015 05:18 — forked from maddisondesigns/cookie-policy.md
eCommerce Terms & Conditions and Privacy Templates

#Privacy Policy

####1. We respect your privacy

Business Name respects your right to privacy and this policy sets out how we collect and treat your personal information. “Personal information” is information we hold which is identifiable as being about you.

####2. What personal information we collect