I hereby claim:
- I am mhat on github.
- I am mattknopp (https://keybase.io/mattknopp) on keybase.
- I have a public key whose fingerprint is EB6A 62EF A2CD 2BDB 2BAC B19F 28DC 57E6 2682 F03D
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| BALLS = %w{ 8 B & o O } | |
| HEADS = %w{ D b C > } | |
| JIZZ = '~' | |
| SHAFT = '=' | |
| ARGV[0].to_i.times do | |
| balls = BALLS[ rand(BALLS.size) ] | |
| head = HEADS[ rand(HEADS.size) ] | |
| shaft = SHAFT * ((ssize = rand(ARGV[1].to_i)) == 0 ? 1 : ssize) | |
| jizz = JIZZ * ((jsize = rand(ARGV[1].to_i)) == 0 ? 1 : jsize) |
| #!/usr/bin/ruby | |
| # | |
| # This script installs to /usr/local only. To install elsewhere you can just | |
| # untar https://github.com/yammer/homebrew/tarball/master anywhere you like. | |
| # | |
| # 04th January 2011: | |
| # Change mxcl to yammer so it'll dtrt | |
| # | |
| # 30th March 2010: | |
| # Added a check to make sure user is in the staff group. This was a problem |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" | |
| "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>Label</key> | |
| <string>com.rabbitmq.server</string> | |
| <key>Program</key> | |
| <string>/usr/local/sbin/rabbitmq-server</string> | |
| <key>RunAtLoad</key> |
| export RABBITMQ_MNESIA_BASE=/tmp/rabbitmq/mnesia | |
| export RABBITMQ_LOG_BASE=/tmp/rabbitmq | |
| export RABBITMQ_NODENAME=rabbit2 | |
| export RABBITMQ_NODE_IP_ADDRESS=0.0.0.0 | |
| export RABBITMQ_NODE_PORT=5673 | |
| export RABBITMQ_CONFIG_FILE=/tmp/rabbitmq/rabbitmq | |
| /usr/local/sbin/rabbitmq-server |
| Listen 443 | |
| <VirtualHost *:80> | |
| RewriteEngine On | |
| RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} | |
| </VirtualHost> | |
| <VirtualHost *:443> | |
| ServerName yammer.local | |
| ServerAlias ymodules.local |
| user nobody; | |
| worker_processes 1; | |
| events { | |
| worker_connections 1024; | |
| } | |
| http { | |
| include mime.types; | |
| default_type application/octet-stream; |
| cd /usr/local/etc/nginx | |
| mkdir ssl | |
| cd ssl | |
| openssl genrsa -out server.key 1024 | |
| openssl req -new -key server.key -out server.csr | |
| US | |
| California | |
| SF | |
| Yammer |
| nginx.conf | |
| http://gist.github.com/596511 | |
| openssl-bs | |
| http://gist.github.com/596510 | |
| developer.rb | |
| http://gist.github.com/596497 |
| USE_SSL = true | |
| HTTP_PROTOCOL = "https://" |