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
#!/bin/bash | |
# usage: rename.sh directory X Y | |
# Replaces X.txt with Y.txt throughout directory and sub-directories | |
for f in `find $1 -type f`; do | |
new_f=`echo -n $f | sed -e s/$2/$3/g`; | |
if [ $new_f != $f ]; then | |
mv $f $new_f | |
fi | |
done |
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
Time, Clocks, and the Ordering of Events in a Distributed System | |
Leslie Lamport | |
http://cnlab.kaist.ac.kr/~ikjun/data/Course_work/CS642-Distributed_Systems/papers/lamport1978.pdf | |
This is a foundational paper because it introduces the idea of event ordering without referring to wall clock time. | |
Bigtable: A Distributed Storage System for Structured Data | |
Jeffrey Dean et al | |
http://research.google.com/archive/bigtable.html |
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
yay {"success":true,"message":"Image Saved","under_size":false,"image_id":210013174,"thumbnail_url":"http:\/\/static.dev-image2.ny4dev.etsy.com\/002\/0\/6471008\/il_75x75.210013174_mttt.jpg","image_url":"http:\/\/static.dev-image2.ny4dev.etsy.com\/002\/0\/6471008\/il_570xN.210013174_mttt.jpg","medium_url":"http:\/\/static.dev-image2.ny4dev.etsy.com\/002\/0\/6471008\/il_170x135.210013174_mttt.jpg"} |
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
Ingredients: | |
- 4 large ripe soft avocados | |
- 12 cherry tomatoes | |
- small red onion | |
- whole lemon | |
- cilantro | |
Prepare a large serving bowl. | |
Cut each avocado in half. |
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
Ingredients: | |
- 4 large ripe soft avocados | |
- 12 cherry tomatoes | |
- small red onion | |
- whole lemon | |
- cilantro | |
Prepare a large serving bowl. | |
Cut each avocado in half. |
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
Ingredients (quantities to taste): | |
carrots | |
celery | |
onions | |
mushrooms | |
spicy diced green chillis from a can | |
kidney beans | |
wheat bulger | |
spicy vegetable juice |
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
One 9-10 inch pie crust: | |
Stir together: | |
1½ cups flour | |
¼ teaspoon flour | |
Cut into flour until very small pieces (smaller than a raisin) | |
¼ pound butter | |
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
{ | |
schema, | |
[ | |
{version, "2.1"}, | |
{default_field, "text"}, | |
{default_op, "or"}, | |
{n_val, 3}, | |
{analyzer_factory, {erlang, text_analyzers, whitespace_analyzer_factory}} | |
], | |
[ |
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
[ | |
{kernel, [ | |
{inet_dist_listen_max, 7999}, | |
{inet_dist_listen_min, 6000} | |
]}, | |
{merge_index, [ | |
{data_root, "/mnt/riak/merge_index"} | |
]}, | |
{lager, [ | |
{handlers, [ |
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
[ | |
{kernel, [ | |
{inet_dist_listen_max, 7999}, | |
{inet_dist_listen_min, 6000} | |
]}, | |
{lager, [ | |
{handlers, [ | |
{lager_console_backend, "info"}, | |
{lager_file_backend, [{"/mnt/riak/log/error.log", "error", 10485760, "$D0", 5}, {"/mnt/riak/log/console.log", "info", 10485760, "$D0", 5}]} | |
]}, |