Resources from the JavaScript round table discussion at BarCamp Boston 7.
- [Eloquent Javascript][ejs]
- [Mozilla Developer Network][mdn]
- [Codeschool][]
#!/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 |
<?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"> |
#!/bin/bash | |
# Downloads all of the HOPE 9 Conference mp3s (info found on http://www.hopenumbernine.net/schedule/) to the current directory | |
wget -O "Michael Weinberg - 3D Printing: Making Friends in DC Before People Start Freaking Out.mp3" http://c3455205.r5.cf0.rackcdn.com/HN9A23.mp3 | |
wget -O "Molly Sauter - Activist DDoS Attacks: When Analogies and Metaphors Fail.mp3" http://c3455205.r5.cf0.rackcdn.com/HN9A24.mp3 | |
wget -O "Ray - Advanced Handcuff Hacking.mp3" http://c3455205.r5.cf0.rackcdn.com/HN9B07.mp3 | |
wget -O "Aditya K. Sood - Advancements in Botnet Attacks and Malware Distribution.mp3" http://c3455205.r5.cf0.rackcdn.com/HN9C14.mp3 | |
wget -O "James Vasile - Anti-Censorship and Anti-Surveillance Tools - Improving the Landscape.mp3" http://c3455205.r5.cf0.rackcdn.com/HN9B31.mp3 | |
wget -O "Jennifer Ortiz - Brain Chemistry: How Psychoactive Chemicals Hack the Central Nervous System.mp3" http://c3455205.r5.cf0.rackcdn.com/HN9B26.mp3 |
### | |
# 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' | |
]); |
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"]); |
~ $ 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 ; | |