Skip to content

Instantly share code, notes, and snippets.

@anandsuresh
anandsuresh / riak-admin-rsync.sh
Last active July 31, 2019 19:00
Sync Riak Partitions over rsync
#!/usr/bin/env bash
# Prints the usage details of this script
usage() {
local prog=${0##*/}
cat <<-EOF
Transfers Riak partitions between nodes
Usage: $prog -N <destination>
Example: $prog prod-2290
@anandsuresh
anandsuresh / ruby.js
Last active August 29, 2015 14:22 — forked from jcoglan/ruby.js
'use strict';
var Object_create, extend, Module, Include, Kernel, Class;
var hasOwnProperty = Object.prototype.hasOwnProperty;
if (typeof Object.create === 'function')
Object_create = Object.create;
else
Object_create = function(prototype) {

Keybase proof

I hereby claim:

  • I am anandsuresh on github.
  • I am anandsuresh (https://keybase.io/anandsuresh) on keybase.
  • I have a public key whose fingerprint is F2B9 F5A7 7B1D 68B8 6ACA 9F54 F61B 7D5C 9A00 71DF

To claim this, I am signing this object: