most of these require logout/restart to take effect
# Enable character repeat on keydown
defaults write -g ApplePressAndHoldEnabled -bool false
# Set a shorter Delay until key repeat
global | |
maxconn 10000 # Total Max Connections. This is dependent on ulimit | |
nbproc 2 | |
defaults | |
mode http | |
option redispatch | |
maxconn 2000 | |
contimeout 5000 | |
clitimeout 50000 |
machine github.com | |
login technoweenie | |
password SECRET | |
machine api.github.com | |
login technoweenie | |
password SECRET |
require 'rubygems' | |
require 'fraggle/block' | |
# # Locks with doozerd | |
# | |
# Doozerd is a little coordination service. I think of it like Zookeeper | |
# Lite (TM). In today's episode, we'll naively manage exclusive advisory locks. | |
# | |
# Disclaimer: If part of this implementation is total lolscale, | |
# please to let me know what papers/sources I should read to avoid lolscaling. |
package gocard | |
import ( | |
"fmt" | |
"io" | |
"crypto/md5" | |
"crypto/sha1" | |
"crypto/sha256" | |
"crypto/sha512" | |
) |
#!/usr/bin/env escript | |
%% -*- erlang -*- | |
-include_lib("kernel/include/file.hrl"). | |
-compile(export_all). | |
-define(LOG(S), io:format(S)). | |
-define(LOG(S,A), io:format(S,A)). | |
main(Dirs) -> | |
CodePath = case os:getenv("RIAK_LIB") of |
var App = angular.module('App', []); |
package main | |
import ( | |
"fmt" | |
"io/ioutil" | |
"net/http" | |
"log" | |
"regexp" | |
"strings" | |
) |
app.config field riak.conf variable | |
------------------------------------------------------------------------------------------- | |
yokozuna.enabled yokozuna | |
yokozuna.solr_port yokozuna.solr_port | |
yokozuna.solr_jmx_port yokozuna.solr_jmx_port | |
yokozuna.solr_jvm_args yokozuna.solr_jvm_args | |
yokozuna.yz_dir yokozuna.data_dir | |
riak_repl.data_root mdc.data_root | |
riak_core.cluster_mgr mdc.cluster_manager | |
riak_repl.max_fssource_cluster mdc.max_fssource_cluster |
I've been wanting to do a serious project in Go. One thing holding me back has been a my working environment. As a huge PyCharm user, I was hoping the Go IDE plugin for IntelliJ IDEA would fit my needs. However, it never felt quite right. After a previous experiment a few years ago using Vim, I knew how powerful it could be if I put in the time to make it so. Luckily there are plugins for almost anything you need to do with Go or what you would expect form and IDE. While this is no where near comprehensive, it will get you writing code, building and testing with the power you would expect from Vim.
I'm assuming you're coming with a clean slate. For me this was OSX so I used MacVim. There is nothing in my config files that assumes this is the case.