Skip to content

Instantly share code, notes, and snippets.

{:user {:compile-path ".out/",
:target-path ".dist/",
:clean-targets [:target-path :compile-path],
:mirrors {#".+" {:url "https://artifactory/repo"
:username ~(System/getenv "username")
:password ~(System/getenv "password")}},
@techwhizbang
techwhizbang / gist:1bcaf9628a909b8a6b56
Created August 24, 2014 15:06
rack_api_versioning example
map "/accounts" do
use RackApiVersioning::Middleware, :app_name => "awesome-app", :default_version => 1, :target_version => 2
run AccountsController
end
@techwhizbang
techwhizbang / README.md
Created January 22, 2019 22:50 — forked from tombigel/README.md
How to Change Open Files Limit on OS X and macOS Sierra (10.8 - 10.12)

How to Change Open Files Limit on OS X and macOS

This text is the section about OS X Yosemite (which also works for macOS Sierra) from https://docs.basho.com/riak/kv/2.1.4/using/performance/open-files-limit/#mac-os-x

The last time i visited this link it was dead (403), so I cloned it here from the latest snapshot in Archive.org's Wayback Machine https://web.archive.org/web/20170523131633/https://docs.basho.com/riak/kv/2.1.4/using/performance/open-files-limit/

Mac OS X

To check the current limits on your Mac OS X system, run: