Backstory: I decided to crowdsource static site generator recommendations, so the following are actual real world suggested-to-me results. I then took those and sorted them by language/server and, just for a decent relative metric, their Github Watcher count. If you want a heap of other projects (including other languages like Haskell and Python) Nanoc has the mother of all site generator lists. If you recommend another one, by all means add a comment.
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>happy valentines day</title> | |
<link href='http://fonts.googleapis.com/css?family=Lato:100,900' rel='stylesheet' type='text/css'> | |
<script type="text/javascript" src="http://mbostock.github.com/d3/d3.js?1.26.0"></script> | |
<script type="text/javascript" src="http://mbostock.github.com/d3/d3.geo.js?1.26.0"></script> | |
<script type="text/javascript" src="http://mbostock.github.com/d3/d3.geom.js?1.26.0"></script> | |
<script type="text/javascript" src="http://mbostock.github.com/d3/d3.layout.js?1.26.0"></script> | |
<style type="text/css"> |
#countries { | |
::shadow1, ::shadow2, ::shadow3 { | |
line-color: #024; | |
line-join: round; | |
} | |
::shadow1 { | |
line-opacity: 0.03; | |
line-width: 7; | |
} | |
::shadow2 { |
PROTIP: Bars in Oregon have to serve food as long as they're serving alcohol. As a result, some of them have amazing food.
PROTIP: You can't buy alcohol (other than beer or wine) anywhere else but a state-controlled liquor store. Most of them are closed on Sundays and close around 7pm every other night of the week.
- The Night Light - This was our favorite bar just before we moved to Italy. Right in the heart of the quiet Clinton district (where we were living at the time).
- The Doug Fir Lounge - I hate to use the word swanky again but that's the only way I can describe it. The entire place is built to look like a log cabin. Used to go here all the time. Pretty good bar. The restaurant is open until 3am (or at least was when I lived there) and has some DAMN good gastro pub style food. The halibut fish and chips and burger are insane. Funny enough, I saw the GitHub guys here (including maddox and Tek I think?) after
21:57 < dook> You seem to be new to node, is that right?
21:57 < skidz> good to know... yes.. very
21:57 < skidz> but familar with JS but mostly a C# programmer
21:58 < dook> Ok so the basic premise is that to make Chrome run javascript fast, they made a JS->C++ compiler called V8
21:58 < dook> It makes JS compile into very fast, efficient code.
// assuming you have $ defined | |
var $ = jqueryblablah | |
// way 1 | |
function addFunctions(global) { | |
function a() {} | |
function b() {} | |
global.a = a | |
global.b = b | |
} |
tacos are a category of food that are relatively small in size and are served on a open platform of thin carbohydrate filled material. things that make you want to sleep after eating or are sealed off when served are not tacos (see instead: burritos, pizza)
- dosa
- roti
- peking duck which is usually served with mushu pancakes
- gua bao
- smørbrød
- lefse
- [falafel and pita](http://www.feastingathome.com/2013/06/falafels-wit
- Install Package Control. For SublimeText 2, paste the following in Terminal:
import urllib2,os; pf='Package Control.sublime-package'; ipp = sublime.installed_packages_path(); os.makedirs( ipp ) if not os.path.exists(ipp) else None; urllib2.install_opener( urllib2.build_opener( urllib2.ProxyHandler( ))); open( os.path.join( ipp, pf), 'wb' ).write( urllib2.urlopen( 'http://sublime.wbond.net/' +pf.replace( ' ','%20' )).read()); print( 'Please restart Sublime Text to finish installation')
From here on out, use Package Control to install everything. ⌘
+Shift
+P
, then type Install
to get a list of installable packages you can 'livesearch through. After installing plugins, they should be running.
license: gpl-3.0 |
function Animal(name) { | |
if (!(this instanceof Animal)) return new Animal(name); | |
this.name = name || 'unknown'; | |
} | |
module.exports = Animal; | |
Animal.prototype.feed = function(food) { | |
food = food || 'food'; | |
return 'Fed ' + this.name + ' some ' + food; | |
}; |