Skip to content

Instantly share code, notes, and snippets.

View kirbysayshi's full-sized avatar

Drew Petersen kirbysayshi

View GitHub Profile
[
{
"name": "SofleKeyboard",
"author": "Josef Adamcik (+Drew Petersen)",
"switchMount": "cherry"
},
[
{
"x": 6.25,
"p": "CHICKLET"
var bcsv = require('binary-csv')
var bxhr = require('binary-xhr')
var bops = require('bops')
var through = require('through')
var url = require('url')
var createTable = require('data-table')
var insertCSS = require('insert-css')
var concat = require('concat-stream')
insertCSS(createTable.css)
window.fluid.dockBadge = '';
setTimeout(updateDockBadge, 1000);
setTimeout(updateDockBadge, 3000);
setInterval(updateDockBadge, 5000);
function updateDockBadge() {
var navigation = document.querySelector('[role=navigation]')
var doc = navigation.contentDocument || navigation.ownerDocument;
i=0; FILES=$(ls -tr ./); for FILE in $FILES; do i=$(($i + 1)); if [$(($i % 2)) = 0]; then echo"$i$FILE"; fi; done;
outputs:
==>
-bash: [0: command not found
-bash: [1: command not found
-bash: [0: command not found
...
...
...
@kirbysayshi
kirbysayshi / LICENSE.txt
Created October 14, 2011 04:51 — forked from 140bytes/LICENSE.txt
Signals in JS
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 Andrew Petersen <http://kirbysayshi.github.com>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
@kirbysayshi
kirbysayshi / LICENSE
Created August 6, 2011 05:35 — forked from kriskowal/LICENSE
Nano-promises
Copyright 2011 Kristopher Michael Kowal. All rights reserved.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to
deal in the Software without restriction, including without limitation the
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
sell copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
@kirbysayshi
kirbysayshi / LICENSE.txt
Created August 4, 2011 21:44 — forked from 140bytes/LICENSE.txt
when: Easily fire a callback when all deferreds are complete
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 Andrew Petersen <http://kirbysayshi.github.com>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
/*
* def.js: Simple Ruby-style inheritance for JavaScript
*
* Copyright (c) 2010 Tobias Schneider
* This script is freely distributable under the terms of the MIT license.
*/
(function(global) {
// used to defer setup of superclass and plugins
var deferred;