Skip to content

Instantly share code, notes, and snippets.

Ben Cochez benc

Block or report user

Report or block benc

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:19f3ae5cd7df203ad92a0da1651f6357
<?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
maven colored output for fish shell
View mvn.load
# 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 Feb 16, 2015
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
View Info.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>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleExecutable</key>
<string>libccid.dylib</string>
<key>CFBundleIdentifier</key>
<string>org.debian.alioth.pcsclite.smartcardccid</string>
View keybase.md

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 Aug 19, 2014
BBEdit Text Filter to pretty print JSON
View PrettyPrintJSON.rb
#!/usr/bin/env ruby
# encoding: UTF-8
require 'json'
ARGF.set_encoding(Encoding::UTF_8)
puts JSON.pretty_generate(JSON.parse(ARGF.read))
You can’t perform that action at this time.