Just in case it doesn't last, if you scroll to the bottom of this README.md you can see the partial output of my traceroute to 216.81.59.173 today (2013-02-09). However, if you want to go on your own adventure just type: traceroute 216.81.59.173
.
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/sh | |
# | |
# This script starts and stops the Resque daemon | |
# This script belongs in /engineyard/bin/resque | |
# | |
PATH=/bin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:$PATH | |
CURDIR=`pwd` | |
usage() { |
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
sudo yum install git | |
#need IAM credentials for read for all services, see https://github.com/Netflix/edda/wiki/AWS-Permissions | |
export AWS_ACCESS_KEY_ID=xxx | |
export AWS_SECRET_KEY=xxx | |
export JAVA_OPTS="-XX:MaxPermSize=256M -Xmx1g" | |
git clone git://github.com/Netflix/edda.git | |
cd edda | |
./gradlew build | |
cd .. | |
wget http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-2.4.8.tgz |
The reason why you might get certificate errors in Ruby 2.0 when talking HTTPS is because there isn't a default certificate bundle that OpenSSL (which was used when building Ruby) trusts.
Update: this problem is solved in edge versions of rbenv and RVM.
$ ruby -rnet/https -e "Net::HTTP.get URI('https://github.com')"
net/http.rb:917:in `connect': SSL_connect returned=1 errno=0 state=SSLv3
read server certificate B: certificate verify failed (OpenSSL::SSL::SSLError)
You can work around the issue by installing a certificate bundle that you trust. I trust Mozilla and curl.
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
(defmacro count-macro-expansions (&body body) | |
"Count the number of macro expansions required to execute | |
BODY. Return two values: the result of executing BODY and the | |
number of expansions." | |
(let ((closures (gensym "CLOSURES-"))) | |
`(let* ((,closures | |
(funcall | |
(compile nil | |
`(lambda () | |
(let ((count 0)) |
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
package astar | |
import "container/heap" | |
type NodeQueue []Node | |
func NewNodeQueue() NodeQueue { | |
return make(NodeQueue, 0, 1000) | |
} |
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
# Just put this into lib/, and add your methods! | |
# Usage: Features.your_feature_name? | |
class Features | |
# Admin-only features? We've got that! | |
def self.reticulate_splines? | |
current_user && current_user.admin? | |
end | |
# Don't want to deploy to flip it on or off? It supports that! |
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
- Information and the Nature of Reality, Davies and Gregersen | |
- Swarm Intelligence, Bonabeau, Dorigo, Theraulaz | |
- Chaos, ed. Arun V. Holden | |
- Linked, Baraboa | |
- The Origins of Order, Kauffman | |
- Investigations, Kauffman | |
- Emergence, Steven Johnson | |
- Elements of Information Theory, Cover, Thomas | |
- The End of Certainty, Prigogine | |
- Physical Fluid Dynamics, Tritton |
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
* { | |
font-size: 12pt; | |
font-family: monospace; | |
font-weight: normal; | |
font-style: normal; | |
text-decoration: none; | |
color: black; | |
cursor: default; | |
} |