This file contains 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
(function(){ | |
var total = 0; | |
var year = (new Date()).getFullYear(); | |
function init(num) { | |
num = (typeof num !== 'number' ? 0 : num); | |
if(num === 0) { | |
$('<div/>').css({ | |
position: 'fixed', | |
left: 0, | |
top: 0, |
This file contains 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
/* | |
* Copyright (c) 2010 Tobias Schneider | |
* This script is freely distributable under the terms of the MIT license. | |
*/ | |
(function(){ | |
var UPC_SET = { | |
"3211": '0', | |
"2221": '1', | |
"2122": '2', |
This file contains 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
let s:commands = system('ditz --commands') | |
function! s:DitzComplete(cur, all, pos) | |
let args = split(strpart(a:all, 0, a:pos), ' ', 1) | |
if len(args) <= 2 | |
return s:commands | |
elseif index(split(s:commands), args[1]) != -1 | |
return system('ditz '.args[1].' "<options>"') | |
else |
This file contains 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
FART |