Download from here:
MD5: 59bab8f71f8c096cd3f72cd73851515d
Rename it to: Sublime Text
Make it executable with: chmod u+x Sublime\ Text
Download from here:
MD5: 59bab8f71f8c096cd3f72cd73851515d
Rename it to: Sublime Text
Make it executable with: chmod u+x Sublime\ Text
// ---- | |
// Sass (v3.4.1) | |
// Compass (v1.0.1) | |
// Breakpoint (v2.5.0) | |
// ---- | |
@import "compass"; | |
@import "memo"; | |
@import "breakpoint"; |
{ | |
"name": "some-package", | |
"dependencies": { | |
"uglifyjs": "^2.0", | |
"grunt": "*", | |
"grunt-cli": "*", | |
"grunt-contrib-uglify": "*" | |
}, | |
"scripts": { | |
"prepublish": "test -f $PWD/node_modules/.bin/uglifyjs || (rm -f $PWD/node_modules/.bin/uglifyjs && ln -s $PWD/node_modules/grunt-contrib-uglify/node_modules/.bin/uglifyjs $PWD/node_modules/.bin/uglifyjs)" |
macro if_t { | |
case { _ $v } => { | |
letstx $vv = [makeValue(#{$v}.map(unwrapSyntax).join(''), #{here})] | |
return #{$vv} | |
} | |
} | |
macroclass iclass { | |
pattern { | |
rule { $type:if_t $vn:if_t } |
option '-f', '--file [FILE]', 'File to cover' | |
task 'coverage:methods', 'Returns methods defined in given file', (opts) -> | |
[fs, regex] = [ | |
require 'fs' | |
new RegExp '([\\w\\.\\_]+)?\\s*?\\=\\s*?function\\(', 'gm' | |
] | |
if not opts.file? | |
util.error 'no file specified', 'coverage' | |
return |
watchConfig: true | |
ports: | |
80: | |
router: | |
'github.com': 'github.com:80' | |
443: | |
router: | |
'github.com': 'github.com:443' |
//growlnotify -n "My App" -m "Hello world" | |
//osascript -e 'display notification "Lorem ipsum dolor sit amet" with title "Title"' | |
//os.platform` | |
var _notify = function(taskName, msg) { | |
var _child; | |
if (taskName == void(0) || taskName === null || taskName.length === 0) { | |
if (this.name != void(0)) { | |
taskName = this.name; | |
} else { |
function Logger(loggerName) { | |
this.loggerName = loggerName || 'logger'; | |
this.date = new Date; | |
} | |
(function (prototype) { | |
prototype.time = function () { | |
var time = [ | |
this.date.getHours(), | |
this.date.getMinutes(), |
// Intercepting HTTP calls with AngularJS. | |
angular.module('MyApp', []) | |
.config(function ($provide, $httpProvider) { | |
// Intercept http calls. | |
$provide.factory('MyHttpInterceptor', function ($q) { | |
return { | |
// On request success | |
request: function (config) { | |
// console.log(config); // Contains the data about the request before it is sent. |
Vagrant.configure(2) do |config| | |
config.vm.define "boot2docker" | |
config.vm.box = "parallels/boot2docker" | |
config.vm.box_check_update = false | |
config.ssh.private_key_path = [ | |
'~/.vagrant.d/insecure_private_key', | |
'~/.ssh/id_rsa' | |
] |