Skip to content

Instantly share code, notes, and snippets.

View taoeffect's full-sized avatar

Greg Slepak taoeffect

View GitHub Profile
$ brew doctor
Warning: Unbrewed dylibs were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected dylibs:
/usr/local/lib/libcdt.5.dylib
/usr/local/lib/libcgraph.6.dylib
/usr/local/lib/libchicken.dylib
/usr/local/lib/libcimar.dylib
@taoeffect
taoeffect / watchme.html
Created September 21, 2013 22:37
If the contents of the "Watch Zone" changes, it probably means trouble. ^_^ Details: https://www.taoeffect.com/blog/?p=5496
<li class="icon4">
<h3>AES-256 Bit Encryption + Scrypt</h3>
<p>Espionage uses powerful <a href="http://en.wikipedia.org/wiki/Advanced_Encryption_Standard" target="_blank">AES-256 encryption</a>
to protect your files and the super-computer defying <a href="http://www.tarsnap.com/scrypt.html" target="_blank">scrypt</a>
to protect your passwords (instead of relying on OS X's weak keychain).
<span id="sig-start" class="respect-and-protect-your-customers" style="display:none">
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
<!--
@taoeffect
taoeffect / gist:6826028
Created October 4, 2013 13:35
Equivalent CoffeeScript: (title, [options]..., cb) =>
var _this = this,
__slice = [].slice;
(function() {
var cb, options, title, _arg, _i;
title = arguments[0], _arg = 3 <= arguments.length ? __slice.call(arguments, 1, _i = arguments.length - 1) : (_i = 1, []), cb = arguments[_i++];
options = _arg[0];
});
@taoeffect
taoeffect / PARC.lsp
Last active December 24, 2015 18:59
Failed attempt to create a "Perfect Automatic Reference Counting" scheme. This file has been edited. The original attempt can be found here: http://www.newlispfanclub.alh.net/forum/viewtopic.php?f=15&t=3151
(define (Node.)
; for the sake of this example, let's say that this function
; is a "constructor" that returns a symbol pointing to a map.
)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; DECLARE "METHODS" FOR NODE ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(define (Node.set-paret this parent)
sbx()
{
echo '(version 1) (trace "/tmp/traceout.sb")' > /tmp/tracein.sb
sandbox-exec -f /tmp/tracein.sb "$@"
sandbox-simplify /tmp/traceout.sb > /tmp/tracesimple.sb
open -a "Sublime Text" /tmp/tracesimple.sb
}
@taoeffect
taoeffect / gist:8258513
Created January 4, 2014 18:19
Traceroutes to and from my current location (in Miami) using apple.com, ufl.edu, and miami.edu.
$ traceroute apple.com
traceroute: Warning: apple.com has multiple addresses; using 17.172.224.47
traceroute to apple.com (17.172.224.47), 64 hops max, 52 byte packets
1 [HOME] (192.168.1.254) 1.992 ms 1.989 ms 13.267 ms
2 [REDACTED].miamfl.sbcglobal.net ([REDACTED]) 31.805 ms 27.143 ms 26.661 ms
3 * * *
4 * * *
5 * * *
6 12.83.70.13 (12.83.70.13) 89.778 ms
12.83.70.21 (12.83.70.21) 26.697 ms 27.636 ms
;; add this to your ~/.emacs or ~/.emacs.d/init.el file
;; jump parens
(defun match-paren (arg)
(interactive "p")
(cond
((looking-at "\\s\(") (forward-list 1) (backward-char 1))
((looking-at "\\s\)") (forward-char 1) (backward-list 1))
((looking-at "\\s\{") (forward-list 1) (backward-char 1))
((looking-at "\\s\}") (forward-char 1) (backward-list 1))
@taoeffect
taoeffect / nest.go
Created January 25, 2016 21:54 — forked from markbeee/nest.go
GoogleNestGo
package main
import (
"bytes"
"encoding/json"
"errors"
"fmt"
flags "github.com/jessevdk/go-flags"
"io"
"io/ioutil"
@taoeffect
taoeffect / Espionage.dmg.sig
Last active February 14, 2016 00:58
Signature for Espionage 3.6.3.
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org
iQIcBAABCgAGBQJWv9BkAAoJEOxnICvpCVJH1UkP/3/CRfd9MnGSZR3L9+ThhGpm
sQoYAqHtlXP0gAfnsAKkgTqHGE7dpILNdoI/HXi2WBpBzPRsZSOD6Lh8/zH/0oQI
valNBYkamoTSGGVhg2HRnUYTdel66T5quEM0rotGmV0zUH3B1k7z1kvIKEITg0PU
w94yp/aJT8UR9CsrYZHM7DfSAEUJ8Why8uIlXCh6fj/75AAC1W/52hqXw79HapZj
N8Ch9XyU06m8GItIEZEYZH5JmgkEC46ofjgCl8VCbpFNksw543Wo/me3dh1mxnnE
JRZnVrcM9mme+v69qqrY+4TUST7ZAy7KNJRf+GtuUq1fFmtEpeXCBLAxFVKMUJYq
CnRpMl7PigKGd/1JIWuWIEgbNoO+mW0uIf7Z3P92dNyRl4M5SLP7yPVoh20r+wei
@taoeffect
taoeffect / Espionage.dmg.sig
Created February 15, 2016 00:58
Signature for Espionage 3.6.4
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org
iQIcBAABCgAGBQJWwSKAAAoJEOxnICvpCVJHf0QP/2cyJ3Zzy34MyHGWhWxLMHMp
bWvjZBBuPYmt6m32kNsUx58rrnapeW/OhvtxijTd3w3a4PuOgkRK5+WXkHJhxtni
uaP7VWpXVBAiwqZdRuY3QKQovMKp4lrepjF+XjwhLH/kG0Mr8eHggzkni4RA22iX
3n/BcKxHXogXNpfqDxXgTokz3SLycuZ9Xvpx/wC7n+3LDkKKrg264NL+OXekhTWi
2vzsZVe6csWwcPL6/uEo65i9OPUT3hPFB2n0Ewrz7GJtT6zj6HNrT7A17z4SVvZ+
LyDAO7iLSFOofQrncsRWRgFGNvZ/LtbL5hMGm8cevgIvTWkIo7OGE8R6ddK7vGNY
M5Ccb6cMFAjicbZTkF+EhNb1Io4UlrksTDMydHPW/JEEvaC8jYCt6PEvWX40jEXN