This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| dojo.provide("dojox.mustache._Templated"); | |
| dojo.require("dijit._Templated"); | |
| // | |
| // INSTALL: copy http://github.com/janl/mustache.js to this folder as _base.js | |
| // Add dojox.mustache = dojo.hitch(Mustache, "to_html") in _base.js, wrapping | |
| // the whole file in a self-executing-anonymous-function. eg: | |
| // | |
| // dojo.provide("dojox.mustache._base"); | |
| // (function(){ | |
| // /* contents of Mustache.js */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE HTML PUBLIC> | |
| <html> | |
| <head> | |
| <meta http-equiv="Content-type" content="text/html; charset=utf-8"> | |
| <title>euro</title> | |
| <script type="text/javascript" charset="utf-8"> | |
| window["€"] = { foo: "yes" }; | |
| console.dir(window["€"]); | |
| </script> | |
| </head> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <project> | |
| <!-- this build is meant to be invoked by maven --> | |
| <target name="uptodate" unless="dojo.skipbuild"> | |
| <uptodate property="dojo.skipbuild" | |
| targetFile="${dojo.build.release.location}/${dojo.build.release.name}/dojo/dojo.js"> | |
| <srcfiles dir="${js.source}"> | |
| <include name="**/*.js" /> | |
| <include name="**/*.html" /> | |
| <include name="**/*.css" /> | |
| <include name="**/*.gif" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .comment { | |
| padding: 1em; | |
| clear: left; | |
| } | |
| .comment-author-avatar { | |
| float: left; | |
| } | |
| .comment-content { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env node | |
| /* | |
| tunlr - simple SSH tunnel management | |
| usage: tunlr [options] [command] | |
| options: | |
| -q quiet. suppress console output. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <script type="text/javascript" src="http://mbostock.github.com/d3/d3.js?1.25.0"></script> | |
| <script type="text/javascript" src="http://mbostock.github.com/d3/d3.time.js?1.25.0"></script> | |
| <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script> | |
| </head> | |
| <body> | |
| <div id="chart"></div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| osascript ~/dotfiles/bin/reload-chrome.osa |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| HOST: loki Loss% Snt Last Avg Best Wrst StDev | |
| 1.|-- unknown 0.0% 200 0.9 1.0 0.7 3.7 0.4 | |
| 2.|-- cable-mac1.srspny01-ar400 0.0% 200 15.5 79.6 9.8 2191. 263.8 | |
| 3.|-- gig2-39.srspny01-rtr002.a 0.5% 200 8.4 14.1 8.1 189.5 18.2 | |
| 4.|-- rdc-74-76-242-134.alb.nor 2.0% 200 10.6 13.4 9.2 51.2 5.2 | |
| 5.|-- rdc-74-76-241-193.alb.nor 0.0% 200 21.0 25.3 18.4 45.1 4.4 | |
| 6.|-- ae-5-0.cr0.nyc30.tbone.rr 0.0% 200 27.1 24.6 18.1 50.9 4.0 | |
| 7.|-- 107.14.19.147 0.0% 200 20.2 21.5 17.6 64.8 5.6 | |
| 8.|-- nyk-b5-link.telia.net 5.0% 200 19.9 22.2 17.7 62.2 5.9 | |
| 9.|-- nyk-b6-link.telia.net 7.0% 200 18.7 23.0 18.0 59.7 5.4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ;;; a bunch of skeletons and mods to js-mode | |
| (eval-after-load 'js | |
| '(progn | |
| (define-skeleton js-anon-fn-skeleton | |
| "Insert an anonymous function" nil | |
| "function("(skeleton-read "Arguments:")") {" > \n | |
| "" > _ \n | |
| "}" > \n | |
| ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| define([ "jquery-ui" ], function(jqui) { | |
| return { | |
| init: function() { | |
| $(".datepicker").datepicker(); | |
| } | |
| } | |
| }); |