- http://christophermeiklejohn.com/distributed/systems/2013/07/12/readings-in-distributed-systems.html
- http://michaelrbernste.in/2013/11/06/distributed-systems-archaeology-works-cited.html
- http://dancres.org/reading_list.html
- http://rxin.github.io/db-readings/
- http://research.microsoft.com/en-us/um/people/lamport/pubs/pubs.html
- http://www.eecs.berkeley.edu/GradAffairs/CS/Prelims/db.html
- http://pdos.csail.mit.edu/dsrg/papers/
- http://scalingsystems.com/2011/09/07/reading-list-for-distributed-systems/
- http://courses.engr.illinois.edu/cs525/sp2011/sched.htm
- http://henryr.github.io/distributed-systems-readings/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ mongo host:port/db | |
MongoDB shell version: 2.2.3 | |
connecting to: host:port/db | |
> db.auth('myuserid','mypassword') | |
1 | |
> db.system.indexes.find() | |
{ "v" : 1, "key" : { "_id" : 1 }, "ns" : "db.system.users", "name" : "_id_" } | |
{ "v" : 1, "key" : { "_id" : 1 }, "ns" : "db.administrators", "name" : "_id_" } | |
{ "v" : 1, "key" : { "_id" : 1 }, "ns" : db.apps", "name" : "_id_" } | |
{ "v" : 1, "key" : { "app_id" : 1 }, "unique" : true, "ns" : "db.apps", "name" : "app_id_1" } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Simple tester for Converser SDK feedback form manipulation. No network connections | |
# made. | |
#import "CIOSecondViewController.h" | |
@interface CIOSecondViewController () | |
@property (strong,nonatomic) VGConversationEngine *converser; | |
@end | |
@implementation CIOSecondViewController |
I hereby claim:
- I am oisin on github.
- I am oisin (https://keybase.io/oisin) on keybase.
- I have a public key whose fingerprint is 5A6B 3BEF B837 764F EAC4 FD6E 0D97 5065 C08C F6CF
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This initializer adds a method, show_mongo, when running a rails console. When active, all | |
# moped commands (moped is mongoid's mongodb driver) will be logged inline in the console output. | |
# If called again, logging will be restored to normal (written to log files, not shown inline). | |
# Usage: | |
# > show_mongo | |
if defined?(Rails::Console) | |
def show_mongo | |
if Moped.logger == Rails.logger | |
Moped.logger = Logger.new($stdout) |
Locate the section for your github remote in the .git/config
file. It looks like this:
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = git@github.com:joyent/node.git
Now add the line fetch = +refs/pull/*/head:refs/remotes/origin/pr/*
to this section. Obviously, change the github url to match your project's URL. It ends up looking like this:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Crush all the Pings! | |
for i in *.png | |
pngcrush "$i" `basename -s .png "$i"`-crushed.png |
This is a summary of an original prose piece
Author
- Patches to be kept as small as practicable
- Patches to be explained clearly
Reviewer
- What is the intent of the patch?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'thread' | |
module Alert | |
def self.yikes(msg) | |
# Use this to log/trigger monitor | |
puts msg | |
end | |
end | |
# See http://burgestrand.se/code/ruby-thread-pool/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:14.04 | |
MAINTAINER Oisin Hurley <oisin@nis.io> | |
RUN apt-get update && apt-get install -y curl wget git | |
RUN adduser --home /home/api_server --disabled-password --gecos '' api_server | |
RUN adduser api_server sudo | |
RUN echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers | |
USER api_server | |
RUN gpg --keyserver hkp://keys.gnupg.net --recv-keys D39DC0E3 | |
RUN curl -sSL https://get.rvm.io | bash -s stable | |
RUN /bin/bash -l -c "source /home/api_server/.rvm/scripts/rvm" |