Skip to content

Instantly share code, notes, and snippets.

View Shadowfiend's full-sized avatar

Antonio Salazar Cardozo Shadowfiend

View GitHub Profile
Shadowfiend / gist:1040867
Created June 22, 2011 19:11 — forked from nomothetis/gist:1040861
Fish script for committing to SVN via git-svn
View gist:1040867
# This script requires fish-nuggets, available at:
function svnc --description "Commit from git master to SVN."
if not is-git
echo "svnc can only be run from a git repository."
set -l branch (env git symbolic-ref -q HEAD)
Shadowfiend / nativeTemplateEngine.js
Created June 20, 2011 05:23 — forked from mjtko/nativeTemplateEngine.js
knockout "native" template engine
View nativeTemplateEngine.js
ko.nativeTemplateEngine = function () {
function nodeListToArray(nodeList) {
var array = [];
for (var i = 0; i < nodeList.length; ++i)
array[i] = nodeList[i];
return array;