Skip to content

Instantly share code, notes, and snippets.

@cesine
cesine / most-active-users-on-github-2015.md
Last active August 29, 2015 14:27 — forked from eddiejaoude/most-active-users-on-github-2015.md
Most active users on GitHub 2015

This is the top 1000 users on GitHub

Where are you on here?

For the first 6 months of 2015 (Jan - June).

Query used on Google's BigQuery with GitHubArchive Data

SELECT actor.login as user NOT REGEXP '(bot|github|gerrit|test|worker|notifier|open|\-ci\t|user|build|continuous|review|jenkins|deploy|internousdev|coveralls|server|asfgit|dsm\-git|cn\-nytimes|gitter\-badger)'
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Input: <span id="inputArea" contenteditable>placeholder</span>
Result: <span id="resultArea"></span>
@cesine
cesine / An-Anonymous-Pen.markdown
Created January 24, 2014 16:45 — forked from anonymous/An-Anonymous-Pen.markdown
Css switch (from a checkbox)
@cesine
cesine / abstract-stimulus.js
Created December 9, 2013 17:40
Cant get data to show up in a component in a repition
/**
* @module ui/stimulus.reel
* @requires montage/ui/component
*/
var Component = require("montage/ui/component").Component,
Response = require("ui/response.reel").Response,
RangeController = require("montage/core/range-controller").RangeController;
/**
* @class Stimulus
@cesine
cesine / doughnut.R
Created August 3, 2013 22:53 — forked from mages/doughnut.R
#' Doughnut plot
#'
#' Draw a doughnut plot
#'
#' This function draws a pie chart with a hole; a doughnut plot
#' The doughnut plot is based on the pie plot, see \code{\link{pie}}.
#'
#' @param x a vector of non-negative numerical quantities.
#' The values in \code{x} are displayed as the areas of
#' doughnut slices.
@cesine
cesine / ember-precompile.js
Created October 26, 2012 18:46 — forked from gabrielgrant/ember-precompile.js
Precompile .handlebars templates with node js
var fs = require('fs');
var path = require('path');
var vm = require('vm');
var argv = require('optimist').argv;
function compileHandlebarsTemplate(file, onComplete) {
//dummy jQuery
var jQuery = function () { return jQuery }
jQuery.ready = function () { return jQuery }
jQuery.inArray = function () { return jQuery }
@cesine
cesine / corpus_dashboard.js
Created September 27, 2012 02:01
This is what our require really looks like...
// Set the RequireJS configuration
require.config({
paths : {
/* Bootstrap user interface javascript files */
"bootstrap" : "bootstrap/js/bootstrap",
"bootstrap-transition" : "bootstrap/js/bootstrap-transition",
"bootstrap-alert" : "bootstrap/js/bootstrap-alert",
"bootstrap-modal" : "bootstrap/js/bootstrap-modal",
"bootstrap-dropdown" : "bootstrap/js/bootstrap-dropdown",
"bootstrap-scrollspy" : "bootstrap/js/bootstrap-scrollspy",
var Corpus = Backbone.Model.extend({
changePouch : function(couchConnection, callback) {
this.pouch = Backbone.sync.pouch(couchConnection.pouchname);
callback();
},
saveAndInterConnectInApp : function(callback) {
callback();
}
});
({
baseUrl : "./public",
dir : "./activitywidget",
optimize : 'uglify',
uglify: {
toplevel: true,
ascii_only: true,
beautify: true,
max_line_length: 1000
},