Skip to content

Instantly share code, notes, and snippets.

View benc's full-sized avatar

Ben Cochez benc

View GitHub Profile
@benc
benc / gist:19f3ae5cd7df203ad92a0da1651f6357
Created September 6, 2016 08:42
consulting.cochez.neo4j.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>HardResourceLimits</key>
<dict>
<key>NumberOfFiles</key>
<integer>40000</integer>
</dict>
<key>KeepAlive</key>
@benc
benc / mvn.load
Created May 26, 2015 19:29
maven colored output for fish shell
# Maven colored output
# ====================
#
# NOTE: on OSX, install GNU sed:
#
# brew install gnu-sed --default-names
#
set -x BOLD (tput bold)
set -x UNDERLINE_ON (tput smul)
set -x UNDERLINE_OFF (tput rmul)
@benc
benc / Info.plist
Created February 16, 2015 14:26
Stock Yosemite ifc-ccid Info.plist + DIGIPASS 870 entry. See http://heavyindustries.io/blog/2015/05/22/belfius-digipass-yosemite-fix.html for more information
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleExecutable</key>
<string>libccid.dylib</string>
<key>CFBundleIdentifier</key>
<string>org.debian.alioth.pcsclite.smartcardccid</string>

Keybase proof

I hereby claim:

  • I am benc on github.
  • I am benc (https://keybase.io/benc) on keybase.
  • I have a public key whose fingerprint is 640B D836 A8B8 338F 1863 5343 6202 1B16 F20E 7CB3

To claim this, I am signing this object:

@benc
benc / PrettyPrintJSON.rb
Created August 19, 2014 09:29
BBEdit Text Filter to pretty print JSON
#!/usr/bin/env ruby
# encoding: UTF-8
require 'json'
ARGF.set_encoding(Encoding::UTF_8)
puts JSON.pretty_generate(JSON.parse(ARGF.read))