“Smart tabs” sound better, a quick look at configuration files for both vim and sublime text:
Vim
---
noexpandtab
tabstop
smartindent
smarttab
| function TwoFace(id, width, height) { | |
| if (!(this instanceof TwoFace)) { | |
| return new TwoFace(id, width, height); | |
| } | |
| var canvas = document.createElement('canvas'), | |
| container = document.getElementById(id), | |
| divide = 50; | |
| this.ctx = canvas.getContext('2d'); |
| /*jslint devel: false, browser: true, sloppy: true, maxerr: 50, indent: 4 */ | |
| // | |
| // `PREFIX` variable will most likely be one of the following: | |
| // [o, moz, ms, webkit] | |
| // | |
| var PREFIX = (function (window, document) { | |
| // Get computed styles from the document to assess names of the CSS properties |
| // Very simple client-side only, data-less, templating system. | |
| // | |
| // Usage: | |
| // <div data-view="footer" data-type="partial"></div> | |
| // <div data-view="article" data-type="view"></div> | |
| var tempted = function (context) { | |
| if (!context) { | |
| context = window.document; | |
| } |
| // Extract FunctionBody as eval expects FunctionBody | |
| Function.prototype.getBody = function() { | |
| var m = this.toString().match(/\{([\s\S]*)\}/m)[1]; | |
| return m.replace(/^\s*\/\/.*$/mg,''); | |
| }; | |
| var GLOBAL = "GLOBAL"; | |
| function foo () { |
| div, ul, li, a, span { | |
| margin:0; | |
| padding:0; | |
| } | |
| body { font:16px/16px Arial, Helvetica, Sans-serif; } | |
| a { | |
| color:#222; | |
| text-decoration:none; | |
| } | |
| .sidebar { |
| // | |
| // Backbone.PagedCollection | |
| // | |
| // A smarter way to consume list resources over HTTP. Call it Hypermedia, REST, | |
| // whatever. There are other problems that we may wish to solve with the | |
| // current implementation of PagedCollection: | |
| // | |
| // 1. Jumping between specific pages; | |
| // 2. Web Linking works, however `per_page` paramter must be implemented; | |
| // 3. Call to `fetch` is required to retreive Link field, which means bootstrapping is a problem; and |
“Smart tabs” sound better, a quick look at configuration files for both vim and sublime text:
Vim
---
noexpandtab
tabstop
smartindent
smarttab
| #!/bin/bash | |
| while true; do | |
| if curl --silent -IL get.yeoman.io | grep -i '200'; then | |
| echo "yeoman looks to be available: visit http://yeoman.io" | |
| echo "or simply try running the command:" | |
| echo "$ curl -L get.yeoman.io | sh" | |
| say "yeoman!" | |
| fi | |
| sleep 120 |
| # Other VCS | |
| .svn/ | |
| .CVS/ | |
| .hg/ | |
| # Ignore these asset directories | |
| psd/ | |
| # Node.js modules, use `npm install` | |
| node_modules/ |
The following albums are mostly instrumental and very upbeat, electronic, techno-ish. Must listen to them on full blast.