Resources from the JavaScript round table discussion at BarCamp Boston 7.
- [Eloquent Javascript][ejs]
- [Mozilla Developer Network][mdn]
- [Codeschool][]
term_.prefs_.set('background-color', '#2b303b'); | |
term_.prefs_.set('foreground-color', '#c0c5ce'); | |
term_.prefs_.set('cursor-color', '#c0c5ce') | |
term_.prefs_.set('color-palette-overrides', ["#2b303b","#bf616a","#a3be8c","#ebcb8b","#8fa1b3","#b48ead","#96b5b4","#c0c5ce","#65737e","#bf616a","#a3be8c","#ebcb8b","#8fa1b3","#b48ead","#96b5b4","#eff1f5"]); |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> | |
<head profile="http://selenium-ide.openqa.org/profiles/test-case"> | |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> | |
<link rel="selenium.base" href="http://twitter.com/" /> | |
<title>VerifyTweetWasSent</title> | |
</head> | |
<body> | |
<table cellpadding="1" cellspacing="1" border="1"> |
### | |
# Learning some Node/Express/Coffeescript :> | |
### | |
http = require 'http' | |
nouns = [ | |
'ali', 'pranav', 'wylie', 'spencer', | |
'dnb', 'cba', 'thang', 'DDS', 'leebot' | |
] |
{"hostname":"batterup","os":"linux","users":{"total":0,"tty":0,"pts":0},"timestamp":1360522877} | |
file: /tmp/linux/joust-1360522884, hostname: joust, set: 2013-02-10 14:01:24 -0500 | |
{"hostname":"joust","os":"linux","users":{"total":0,"tty":0,"pts":0},"timestamp":1360522884} | |
file: /tmp/linux/astroblaster-1360522879, hostname: astroblaster, set: 2013-02-10 14:01:19 -0500 | |
{"hostname":"astroblaster","os":"linux","users":{"total":0,"tty":0,"pts":0},"timestamp":1360522879} | |
file: /tmp/linux/alleyrally-1360522878, hostname: alleyrally, set: 2013-02-10 14:01:18 -0500 | |
{"hostname":"alleyrally","os":"linux","users":{"total":0,"tty":0,"pts":0},"timestamp":1360522878} | |
file: /tmp/linux/turtles-1360522902, hostname: turtles, set: 2013-02-10 14:01:42 -0500 | |
{"hostname":"turtles","os":"linux","users":{"total":0,"tty":0,"pts":0},"timestamp":1360522902} | |
file: /tmp/linux/timepilot-1360522878, hostname: timepilot, set: 2013-02-10 14:01:18 -0500 |
CAKE = <<-OMGCAKE | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| | | |
|~~~~~~~~~~~~~~~~~~~~~~~~~~~| | |
| | | |
|~~~~~~~~~~~~~~~~~~~~~~~~~~~| | |
| | | |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
HAPPY BIRTHDAY, NATE! | |
OMGCAKE |
term_.prefs_.set('background-color', '#1D1F21'); | |
term_.prefs_.set('foreground-color', '#C5C8C6'); | |
term_.prefs_.set('color-palette-overrides', [ | |
'#282A2E', '#A54242', '#8C9440', '#DE935F', | |
'#5F819D', '#85678F', '#5E8D87', '#707880', | |
'#373B41', '#CC6666', '#B5BD68', '#F0C674', | |
'#81A2BE', '#B294BB', '#8ABEB7', '#C5C8C6' | |
]); |
#!/bin/bash | |
# ntf | |
# Runs the command passed as the argument and shows a Growl notification when it's done. | |
# Usage: ntf <command> | |
# Example: `ntf echo hi` | |
# Requires Growl Notify: http://growl.info/extras.php#growlnotify | |
# Author: Ali Ukani | |
GROWLNOTIFY=/usr/local/bin/growlnotify # Location of growlnotify |
~ $ ssh-copy-id -i ~/.ssh/id_rsa -o PubkeyAuthentication=no ali:@orchid.local | |
/usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already installed | |
/usr/bin/ssh-copy-id: INFO: 1 key(s) remain to be installed -- if you are prompted now it is to install the new keys | |
Password: | |
fish: Expected a command name, got token of type 'Run job in background'. Did you mean 'COMMAND; and COMMAND'? See the help section for the 'and' builtin command by typing 'help and'. | |
Standard input: mkdir -p .ssh && cat >> .ssh/authorized_keys || exit 1 ; | |
/** | |
* Converts an RGB color value to HSL. Conversion formula | |
* adapted from http://en.wikipedia.org/wiki/HSL_color_space. | |
* Assumes r, g, and b are contained in the set [0, 255] and | |
* returns h, s, and l in the set [0, 1]. | |
* | |
* @param Number r The red color value | |
* @param Number g The green color value | |
* @param Number b The blue color value | |
* @return Array The HSL representation |