Skip to content

Instantly share code, notes, and snippets.

View paulomcnally's full-sized avatar
:octocat:
JS

Paulo McNally paulomcnally

:octocat:
JS
View GitHub Profile
➜ v0.12 git:(v0.12.0-release) ✗ diff -urN out/doc/api /tmp/api
diff -urN out/doc/api/_toc.html /tmp/api/_toc.html
--- out/doc/api/_toc.html 2015-02-24 14:18:33.000000000 -0800
+++ /tmp/api/_toc.html 2015-02-24 14:13:09.000000000 -0800
@@ -85,6 +85,7 @@
<li><a href="string_decoder.html">String Decoder</a></li>
<li><a href="timers.html">Timers</a></li>
<li><a href="tls.html">TLS/SSL</a></li>
+<li><a href="tracing.html">Tracing</a></li>
<li><a href="tty.html">TTY</a></li>
@amosrivera
amosrivera / cd-alias.sh
Last active August 29, 2015 14:18
Cd && ls every time you cd into a directory.
# source: http://unix.stackexchange.com/a/20413
# prevent loading the alias if it's not an interactive shell
[ -z "$PS1" ] && return
function cd {
builtin cd "$@" && ls -F
}
@hendrikswan
hendrikswan / .eslintrc
Last active September 29, 2020 09:18
Packages and build config for Build Cross Platform React Native Apps with Exponent and Redux
{
"extends": "airbnb/base",
"plugins": [
"react"
],
"env": {
"node": true,
"jasmine": true,
},
"rules": {
@dannote
dannote / final-cut-pro-trial-reset.swift
Last active May 30, 2024 20:49
Final Cut Pro X trial reset
#!/usr/bin/swift
import Foundation
let path = URL(fileURLWithPath: NSString(string: "~/Library/Application Support/.ffuserdata").expandingTildeInPath)
let data = try! NSData(contentsOf: path) as Data
let dictionary = try! NSKeyedUnarchiver.unarchiveTopLevelObjectWithData(data) as! NSDictionary
let mutableDictionary = dictionary.mutableCopy() as! NSMutableDictionary
for (key, value) in mutableDictionary {
@paulomcnally
paulomcnally / lily58-keyboard.org
Created August 11, 2020 23:33 — forked from braun-steven/lily58-keyboard.org
Lily58 Pro Parts List