Skip to content

Instantly share code, notes, and snippets.

View jarofghosts's full-sized avatar

jesse keane jarofghosts

View GitHub Profile
@fardog
fardog / setup.md
Created October 25, 2015 07:14
uBlock Origin (or other blockers) and Google Contributor

[uBlock Origin][ublock] and [Google Contributor][contributor]

The following instructions were able to get Google Contributor working for me, without a complete compromise of my browser settings. Some compromise, but that's what this is all about.

I'll keep this document updates as I learn more.

Sign up for Google Contributor

@max-mapper
max-mapper / readme.md
Last active May 14, 2022 09:12
list of interdisciplinary open source conferences

Interdisciplinary Open Source Community Conferences

Criteria

  • Must be an event that someone involved in open source would be interested in attending
  • Must be a community oriented event (no corporate owned for-profit events here please)
  • Can't be about a specific language/framework.

Leave suggestions in the comments below

# Hello, and welcome to makefile basics.
#
# You will learn why `make` is so great, and why, despite its "weird" syntax,
# it is actually a highly expressive, efficient, and powerful way to build
# programs.
#
# Once you're done here, go to
# http://www.gnu.org/software/make/manual/make.html
# to learn SOOOO much more.
@creationix
creationix / app.js
Last active December 30, 2015 07:29
Generate a tree of events using process.addAsyncListener
var http = require('http');
var send = require('send');
var urlParse = require('url').parse;
var count = 2;
var server = http.createServer(function (req, res) {
if (!--count) server.close(); // Only allow two connection and then exit.
send(req, urlParse(req.url).pathname)
.root(__dirname)
.pipe(res);
@coffeemug
coffeemug / gist:6168031
Last active February 3, 2022 23:16
The fun of implementing date support
After spending the better part of the month implementing date support
in RethinkDB, Mike Lucy sent the team the following e-mail. It would
have been funny, if it didn't cause thousands of programmers so much
pain. Read it, laugh, and weep!
-----
So, it turns out that we're only going to support dates between the
year 1400 and the year 10000 (inclusive), because that's what boost
supports.
@thlorenz
thlorenz / ReadmeCopy.md
Last active December 17, 2015 12:29
Copy valupack's goals. valuepack is a community driven rating system for nodejs modules on npm in order to help in selecting the right one.

Copy of these goals in order to facilitate discussions.

valuepack goals

Community driven rating system for nodejs modules on npm in order to help in selecting the right one.

Why

Whith 50k+ modules on npm finding the right module for the problem you have is becoming more tedious than it needs to be. Especially newcomers to nodejs are overwhelmed with the amount of modules to choose from.

@max-mapper
max-mapper / index.js
Created August 20, 2012 06:29
official semicolon style of @maxogden
function toCSV = function(table, cb) {
;;;;var cmd = spawn('mdb-export', [this.file, table])
;;;;cmd.stdout.pipe(concat(function(err, out) {
;;;;;;;;;;;;if (err) return cb(err)
;;;;;;;;;;;;if (!out) return cb('no output')
;;;;;;;;;;;;cb(false, out.toString())
;;;;;;;;}))
}
@toepoke
toepoke / gist:3159559
Created July 22, 2012 12:48
Add ui-icon icons to checkboxes to illustrate if they're clicked or not .. inspired by http://iwritecrappycode.wordpress.com/2012/03/01/jquery-ui-checkbox-better-feedback/
var onClass = "ui-icon-circle-check", offClass = "ui-icon-circle-close";
$( "input:checked[type=checkbox] " ).button({ icons: {primary: onClass} });
$( "input[type=checkbox]:not(:checked)" ).button({ icons: {primary: offClass} });
$( "input[type=checkbox]" ).click(function(){
var swap = function(me, toAdd, toRemove) {
// find the LABEL for the checkbox
// ... which should be _immediately_ before or after the checkbox
var node = me.next();
@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active April 25, 2024 06:23
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname