Created by Christopher Manning
Nodes are linked to nodes in neighboring cells. The cell's color is a function of its area.
- Drag the nodes to interact with the diagram.
- Use the mousewheel to add/remove nodes.
| source :rubygems | |
| # We are not loading Active Record, nor Active Resources etc. | |
| # We can do this in any app by simply replacing the rails gem | |
| # by the parts we want to use. | |
| gem "actionpack", "~> 3.2" | |
| gem "railties", "~> 3.2" | |
| gem "tzinfo" | |
| # Let's use thin |
| // helpful links | |
| http://www.w3schools.com/html/html_forms.asp | |
| http://css-tricks.com/ | |
| http://960.gs/ | |
| <html> | |
| <head> | |
| <title>my title</title> | |
| <style type="text/css"> | |
| li { color: red } |
| #!/usr/bin/ruby | |
| # inkscape -b '#ffffff' -e circles.png -w 3000 circles.svg | |
| # gem install color-tools | |
| require 'color' | |
| # http://code.google.com/p/chipmunk-physics/ | |
| # svn checkout http://chipmunk-physics.googlecode.com/svn/trunk/ chipmunk-physics-read-only | |
| # cmake -D BUILD_RUBY_EXT=ON . | |
| # make && sudo make install |
Created by Christopher Manning
Nodes are linked to nodes in neighboring cells. The cell's color is a function of its area.
| date | wounds | other | disease | |
|---|---|---|---|---|
| 5/1854 | 0 | 95 | 105 | |
| 6/1854 | 0 | 40 | 95 | |
| 7/1854 | 0 | 140 | 520 | |
| 8/1854 | 20 | 150 | 800 | |
| 9/1854 | 220 | 230 | 740 | |
| 10/1854 | 305 | 310 | 600 | |
| 11/1854 | 480 | 290 | 820 | |
| 12/1854 | 295 | 310 | 1100 | |
| 1/1855 | 230 | 460 | 1440 |
| 95 | 0 | |
|---|---|---|
| 45 | 1 | |
| 10 | 2 | |
| 30 | 1 | |
| 80 | 2 | |
| 5 | 0 |
| #!/bin/bash | |
| echo "Generating an SSL private key to sign your certificate..." | |
| openssl genrsa -des3 -out myssl.key 1024 | |
| echo "Generating a Certificate Signing Request..." | |
| openssl req -new -key myssl.key -out myssl.csr | |
| echo "Removing passphrase from key (for nginx)..." | |
| cp myssl.key myssl.key.org | |
| openssl rsa -in myssl.key.org -out myssl.key |
| import javax.imageio.ImageIO; | |
| import java.awt.*; | |
| import java.awt.image.BufferedImage; | |
| import java.io.File; | |
| import java.util.*; | |
| /** | |
| * Create an ASCII letters sorted by intensity. By including the inverse letters | |
| * the number of combinations are increased. | |
| * |
| #!/bin/bash | |
| # modified from https://gist.github.com/1288596 by http://github.com/jehiah | |
| # JAN 01 2013 by http://github.com/zeroeth | |
| # | |
| # Show distance between local master and remote branches | |
| # list how far apart from local master each branch is | |
| echo "Distance from master:" | |
| git for-each-ref --format="%(refname:short) %(upstream:short)" refs/heads | \ |