assuming password protected svn repo with standard trunk, branches, tags setup
svn2git http://svn.example.com/path/to/repo --username [USERNAME] --verbose
If you haven't already set your NPM author info, now you should:
npm set init.author.name "Your Name"
npm set init.author.email "[email protected]"
npm set init.author.url "http://yourblog.com"
npm adduser
script(id='greeting', type='text/html') | |
div#example | |
Hello my name is, <%= name %>! |
var ffi = require('ffi'), | |
ref = require('ref'), | |
Struct = require('ref-struct'), | |
Library = require('./Library'), | |
Type = ref.Type, | |
NULL = ref.NULL, | |
isNull = ref.isNull; | |
var groups = ['libs', 'types', 'structs', 'callbacks', 'enums']; |
DISQUS.addBlocks("theme")(function (d) { | |
d.blocks.letUsKnow = function (f, c) { | |
var a = new d.Builder, | |
h = DISQUS.extend({}, f, c); | |
with(h) return a.put('<a href="https://www.surveymonkey.com/s/GHK872T" target="_blank">'), a.put(gettext("Let us know.")), a.put("</a>"), a.compile() | |
}; | |
d.blocks.relatedThread = function (f, c) { | |
var a = new d.Builder, | |
h = DISQUS.extend({}, f, c); | |
with(h) return a.put(' <li class="discovery-unit"> <div class="discovery-heading-wrapper"> <h3 title="'), a.put((a.esc || function (a) { |
var DISQUS = function (e) { | |
var g = e.DISQUS || {}; | |
g.AssertionError = function (b) { | |
this.message = b | |
}; | |
g.AssertionError.prototype.toString = function () { | |
return "Assertion Error: " + (this.message || "[no message]") | |
}; | |
g.assert = function (b, d, f) { | |
if (!b) if (f) e.console && e.console.log("DISQUS assertion failed: " + d); |
//Wait for relevant code bits to load before starting any tests | |
define(['core.js'], function( core ) { | |
module("Core Tests"); | |
test("Test core methods", function(){ | |
expect(2); | |
equals( 1, 1, "A trivial test"); | |
ok( true, "Another trivial test"); | |
}); |
[alias] | |
lg1 = log --graph --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(bold white)— %an%C(reset)%C(bold yellow)%d%C(reset)' --abbrev-commit --date=relative | |
lg2 = log --graph --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(bold white)— %an%C(reset)' --abbrev-commit | |
logo = log --oneline | |
stat = log --stat |
loadGruntConfigAndDependencies('./initConfig/'); | |
function loadGruntConfigAndDependencies (files) { | |
require('matchdep').filterDev('grunt-*').forEach(grunt.loadNpmTasks); | |
grunt.initConfig(loadConfig(files)); | |
} | |
function loadConfig(files) { | |
var path = require('path'), | |
object = {}; |
define(['baseView', 'rivetsPlugin'], function(BaseView, rivetsPlugin) { | |
'use strict'; | |
var rivetsView = new BaseView({ | |
plugins : [rivetsPlugin] | |
}); | |
}); |