I hereby claim:
- I am jhulten on github.
- I am jhulten (https://keybase.io/jhulten) on keybase.
- I have a public key whose fingerprint is 550E E582 EDFB 44B0 C041 D3A5 B5AB 29A5 2AC5 7886
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
svn: Commit failed (details follow): | |
svn: 'pre-commit' hook failed with error output: | |
err: Could not parse for environment production: Unknown function mysql_password at /tmp/tmp.XbAzeB7275:10 | |
Puppet syntax error in puppet/modules/mysql/manifests/init.pp. |
#!/usr/bin/env ruby | |
ARGV = ['foo'] if ARGV.empty? | |
require 'rubygems' | |
require 'commander' | |
program :name, 'foo' | |
program :version, '1.1.1' | |
program :description, 'Foo' |
-module(port_scanner). | |
-export([scan/3]). | |
scan(Addr, Start, End) -> | |
Services = parse_services(), | |
scan(Addr, Start, End, Services). | |
%% Internal functions | |
scan(Host, Start, End, Services) -> | |
[Data || Data <- |
-module(port_scanner). | |
-export([scan/3]). | |
scan(Addr, Start, End) -> | |
Services = parse_services(), | |
scan(Addr, Start, End, Services). | |
%% Internal functions | |
scan(Host, Start, End, Services) -> | |
[Data || Data <- |
-module(port_scanner). | |
-export([scan/3]). | |
scan(Addr, Start, End) -> | |
Services = parse_services(), | |
scan(Addr, Start, End, Services). | |
%% Internal functions | |
scan(Host, Start, End, Services) -> | |
[Data || Data <- |
# Config for Nginx to act as a front-end for Riak | |
# The main goal is to proxy all GETs directly to Riak, and disallow anything else (POST, PUT, etc) | |
# Also, disallow use of the map/reduce query links (i.e. /riak/bucket/key/_,_,_) | |
# Config is in /etc/nginx/sites-available/default or somewhere like that | |
# Set up load-balancing to send requests to all nodes in the Riak cluster | |
# Replace these IPs/ports with the locations of your Riak nodes | |
upstream riak_hosts { | |
server 127.0.0.1:8098; |
require 'json' | |
require 'optparse' | |
all_json = [] | |
options = {} | |
options[:overwrite] = false | |
optparse = OptionParser.new do |opts| | |
opts.banner = "Usage: split-em -f FILE -d DATABAG [-o]" | |
opts.on( '-f' ,'--file FILE', 'JSON file to split') do |file| |
(ns rest-api.core | |
(:use ring.adapter.jetty) | |
(:require clojure.contrib.classpath) | |
(:require [clojure.contrib.java-utils :as utils]) | |
(:require [rest-api.web :as web])) | |
(defn load-resource [name] | |
(let [rsc-name (str name) | |
thr (Thread/currentThread) | |
ldr (.getContextClassLoader thr)] |