Skip to content

Instantly share code, notes, and snippets.

View jakiestfu's full-sized avatar
🌺

Jacob Kelley jakiestfu

🌺
View GitHub Profile
import DS from 'ember-data';
export default DS.RESTAdapter.extend({
shouldReloadAll: function() {
return true;
}
});
$ = jQuery
queues = {}
running = false
queue = (name) ->
name = 'default' if name is true
queues[name] or= []
next = (name) ->
This file has been truncated, but you can view the full file.
'use strict';
var COMPILED = !0, goog = goog || {};
goog.global = this;
goog.DEBUG = !1;
goog.LOCALE = "en";
goog.provide = function (a) {
if (!COMPILED) {
if (goog.isProvided_(a))
throw Error('Namespace "' + a + '" already declared.');
delete goog.implicitNamespaces_[a];
This file has been truncated, but you can view the full file.
'use strict';
var COMPILED = !0, goog = goog || {};
goog.global = this;
goog.DEBUG = !1;
goog.LOCALE = "en";
goog.provide = function (a) {
if (!COMPILED) {
if (goog.isProvided_(a))
throw Error('Namespace "' + a + '" already declared.');
delete goog.implicitNamespaces_[a];
@jakiestfu
jakiestfu / polyTexMe.js
Last active December 12, 2015 02:38
Ported to JS from https://gist.github.com/4700257 by @kelleydv This is a function in python that accepts a list of arrays. The arrays represent the coefficients of a polynomial, in increasing degree. For example, the array (1,0,3) represents the polynomial 3x^2+1. The output is an array of lines of LaTeX code suitable for insertion into an enume…
/*
* polyTexMe
* @param polynomials: Array
* @return: Array
*
* polyTexMe takes a list of coefficient-arrays,
* where the degree of the term is equal to the index
*/
var polyTexMe = function(polynomials){