(C-x means ctrl+x, M-x means alt+x)
The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf
:
Now that we live in the Big Data, Web 3.14159 era, lots of people want to build databases that are too big to fit on a single machine. But there's a problem in the form of the CAP theorem, which states that if your network ever partitions (a machine goes down, or part of the network loses its connection to the rest) then you can keep consistency (all machines return the same answer to
For better understanding we will use the following naming convention:
[ L1 ][ L2 ][ L3 ][ Space ][ R1 ][ R2 ][ R3 ]
Let's say I have a particular commit (for example, a gerrit patchset), with a whole bunch of merging history. I want a single commit of all its changes against master, without having to walk through a huge rebase of the intermediate commits.
First let's get it as a branch:
~/src/grot/gerrit-pull 6225/9
git checkout -b gerrit
This bash script offers quick shortcuts to simulate slower network connections. It is useful when you need to simulate a wireless network on a Linux network server, especially when you are using a virtual machine guest on your local machine or in the cloud.
slow 3G # Slow network on default eth0 down to 3G wireless speeds
slow reset # Reset connection for default eth0 to normal
slow vsat --latency=500ms # Simulate satellite internet with a high latency
slow dsl -b 1mbps # Simulate DSL with a slower speed than the default
slow modem-56k -d eth0 # Simulate a 56k modem on the eth1 device. eth0 is unchanged.
#Riak Multi DC Repl Cheat Sheet
##Types There are two types of multi data center replication in Riak.
Fullsync
Operation is triggered by connection creation between clusters, running riak-repl start-fullsync
on the listener leader, or every fullsync_interval minutes. Relevant app.config settings:
-module(client_eqc). | |
-compile(export_all). | |
-include_lib("eqc/include/eqc.hrl"). | |
-include_lib("eqc/include/eqc_component.hrl"). | |
api_spec() -> | |
#api_spec { | |
language = erlang, | |
modules = [ |
#!/bin/sh | |
## | |
# Install autoconf, automake and libtool smoothly on Mac OS X. | |
# Newer versions of these libraries are available and may work better on OS X | |
# | |
# This script is originally from http://jsdelfino.blogspot.com.au/2012/08/autoconf-and-automake-on-mac-os-x.html | |
# | |
export build=~/devtools # or wherever you'd like to build |
umask 022
for system-shared librarieswx:demo()
on OS X 10.9.2 with wxWidgets 3.0.0 is still unstable, though observer:start()
is more stable.brew install wxmac --disable-monolithic
will do. See http://erlang.org/pipermail/erlang-questions/2014-February/077952.html.;; Use org-babel to load config | |
(require 'org) | |
(org-babel-load-file (expand-file-name "seancribbs.org" user-emacs-directory)) |