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 2016 The Kubernetes Authors. | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# | |
# Unless required by applicable law or agreed to in writing, software | |
# distributed under the License is distributed on an "AS IS" BASIS, |
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
// Welcome! require() some modules from npm (like you were using browserify) | |
// and then hit Run Code to run your code on the right side. | |
// Modules get downloaded from browserify-cdn and bundled in your browser. | |
moment = require('moment') | |
a = moment('2013-01-30').add(1, 'months').calendar() | |
console.log(a) |
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
import sys, os, glob | |
import readline | |
import pyaudio | |
import wave | |
from pydub import AudioSegment | |
from pydub.utils import get_player_name, make_chunks | |
CHUNK = 1024 |
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
import Graphics.Element (Element) | |
import Graphics.Collage (collage, textured, circle) | |
main : Element | |
main = | |
collage 800 600 | |
[textured "http://placehold.it/200x200" (circle 200.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
module Pi where | |
import Random | |
import Signal | |
import List | |
import Graphics.Element (Element, empty) | |
import Graphics.Collage (..) | |
import Color | |
import String | |
import Window |
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
lodash = _ = require('lodash') | |
request = require('request') | |
teamListUrl = () -> 'http://prod-api-madden.grw.io/api/teams' | |
# teamKey == 'bills' for example | |
templateDataUrl = (teamKey) -> "http://prod-api-madden.grw.io/api/templates/team-key/#{teamKey}" | |
gifDataUrl = (templateKey) -> | |
"http://prod-api-madden.grw.io/api/memes/template-key/#{templateKey}" |
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
[push] | |
default = simple | |
[pull] | |
ff = only | |
[core] | |
whitespace = cr-at-eol | |
# https://stackoverflow.com/a/10584237 | |
pager = less -x1,5 | |
[color] | |
ui = true |
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
{ | |
"coffeescript_error": { | |
"level": "error" | |
}, | |
"arrow_spacing": { | |
"name": "arrow_spacing", | |
"level": "ignore" | |
}, | |
"no_tabs": { | |
"name": "no_tabs", |
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
javascript:(function() { | |
var ids = _.uniq($('.visible .selected').closest('.story').map(function() { return this.className.match(/story_(\d+)/)[1]; })); | |
var prString = '[Fixes #' + ids.join(' #') + ']'; | |
window.prompt('Copy to clipboard:', prString); | |
})(); |
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
2014-07-14 13:12:01 -0400 | |
The server is down, I am working on it. I will post updates here as they occur. | |
This is unlikely to be resolved within the next 12 hours. | |
2014-07-15 14:34:02 -0400 | |
All previously recorded data has been preserved, but no new stats will be recorded while the server is down. | |
The restoration process should be completed within the next 24 hours. |