- http://www.git-scm.com/docs/git-request-pull
- https://www.kernel.org/pub/software/scm/git/docs/git-request-pull.html
Only used to generate a summary of your changes for another human, good for mailing lists or an email and such.
Only used to generate a summary of your changes for another human, good for mailing lists or an email and such.
var initialiseKeys = function initialiseKeys (obj) { | |
var val | |
for (var key in obj) { | |
val = obj[key] | |
// the key isn't 'init' BUT it's an object we need to explore it | |
if (key !== 'init' && typeof val === 'object') { | |
initialiseKeys(val) | |
// hey the key is 'init' and its value is a function! | |
} else if (key === 'init' && typeof val === 'function') { |
var callFuncFromString = function (funcString, context, params) { | |
// funcString should be a string like so 'boop.bap', no () at the end | |
// parameters should be an array of the func's parameters, for .apply() | |
var layers = funcString.split('.') | |
layers.forEach(function (val) { | |
context = context[val] | |
}) |
var MyClass = { | |
prototype: { | |
// prototypal members and methods | |
}, | |
create: function (options) { | |
// do stuff with options | |
return Object.create(MyClass.prototype, options) | |
}, | |
} |
Creates URLs like /2012/12/15/merry-xmas.html
for your blog posts.
Requires momentjs to be installed: npm install --save moment
module.exports = function(grunt) { | |
// Project configuration. | |
grunt.initConfig({ | |
// Import package.json file, we get some info from here | |
pkg: grunt.file.readJSON('package.json'), | |
// Minify JS into one file | |
uglify: { | |
options: { | |
banner: '/*! <%= pkg.name %> <%= grunt.template.today("dd-mm-yyyy") %> */\n' |
VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Aug 24 2013 18:58:47) | |
Compiled by root@apple.com | |
Normal version without GUI. Features included (+) or not (-): | |
-arabic +autocmd -balloon_eval -browse +builtin_terms +byte_offset +cindent | |
-clientserver -clipboard +cmdline_compl +cmdline_hist +cmdline_info +comments | |
-conceal +cryptv +cscope +cursorbind +cursorshape +dialog_con +diff +digraphs | |
-dnd -ebcdic -emacs_tags +eval +ex_extra +extra_search -farsi +file_in_path | |
+find_in_path +float +folding -footer +fork() -gettext -hangul_input +iconv | |
+insert_expand +jumplist -keymap -langmap +libcall +linebreak +lispindent | |
+listcmds +localmap -lua +menu +mksession +modify_fname +mouse -mouseshape |
var connect = require("connect"), | |
http = require("http"); | |
var start = connect().use(connect.static(__dirname)) | |
http.createServer(start).listen(2882); | |
console.log("Static file server running at\n => http://localhost:2882/\nCTRL + C to shutdown"); | |
module.exports = start; |
#!/bin/sh | |
zip app.nw ./* | |
#xdg-open app.nw | |
#open app.nw |