As configured in my dotfiles.
start new:
tmux
start new with session name:
| mode = ENV["SPEC"] || "full" | |
| require_relative "spec_helper_#{mode}" |
| function box_name { | |
| [ -f ~/.box-name ] && cat ~/.box-name || hostname -s | |
| } | |
| local user='%{$fg[magenta]%}%n%{$fg[green]%}@%{$fg[magenta]%}$(box_name)%{$reset_color%}' | |
| local pwd='%{$fg[white]%}%~%{$reset_color%}' | |
| local rvm='' | |
| if which rvm-prompt &> /dev/null; then | |
| rvm='%{$fg[green]%}‹$(rvm-prompt i v g)›%{$reset_color%}' | |
| else |
As configured in my dotfiles.
start new:
tmux
start new with session name:
| <!DOCTYPE html> | |
| <html> | |
| <head></head> | |
| <body></body> | |
| <script type="text/javascript" src="http://mbostock.github.com/d3/d3.js"></script> | |
| <script type="text/javascript"> | |
| // Define the SVG domain in a viewbox to get automatic resize to | |
| // window. This is a good alternative to d3.scale for simple stuff | |
| svg=d3.select("body") |
| <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" | |
| "http://www.w3.org/TR/html4/loose.dtd"> | |
| <html lang="en"> | |
| <head> | |
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
| <title>Simple Raphael Maps Using D3 Projections</title> | |
| <script type="text/javascript" charset="utf-8" src="raphael-min.js"></script> | |
| <script type="text/javascript" charset="utf-8" src="geo-projection.js"></script> | |
| <script type="text/javascript" charset="utf-8" src="us.svg.js"></script> |
Data visualization in one of three most important steps in data mining (https://github.com/entaroadun/hnpickup#readme). Often times, it's impossible to understand data without proper visualization. I went looking for great tools to do that.
Two website list recent JS visualization frameworks:
Most of them are available on Github. My three favorite: