I hereby claim:
- I am steckel on github.
- I am steckel (https://keybase.io/steckel) on keybase.
- I have a public key ASCI2U_T9_qNFncMs4xfVj1hFW6CXnsttU3LAHlvaUYQiwo
To claim this, I am signing this object:
var stockQuotes = [{"name":"Faux Derp","symbol":"MNI","index":"NASDAQ","price":"25.91","change_price":"1.69","change_percent":".45%","time":"Apr 23 7:59 EDT","estimated_price":"25.9157","estimated_change":".39%","open":"25.9162","high":"25.9187","low":"-46.09","volume":"25.9168M","avg_volume":"25.9112M","market_cap":"25.9138B"},{"name":"Pro Derp","symbol":"SCRS","index":"NASDAQ","price":"982.25","change_price":"63.12","change_percent":".79%","time":"Apr 23 7:59 EDT","estimated_price":"982.2557","estimated_change":".26%","open":"982.256","high":"982.2510","low":"928.25","volume":"982.2584M","avg_volume":"982.2513M","market_cap":"982.2576B"},{"name":"Cafe World","symbol":"MNI","index":"NASDAQ","price":"136.32","change_price":"47.58","change_percent":".2%","time":"Apr 23 7:59 EDT","estimated_price":"136.3266","estimated_change":".23%","open":"136.3239","high":"136.3264","low":"131.32","volume":"136.3217M","avg_volume":"136.3264M","market_cap":"136.3252B"},{"name":"Bear LLC","symbol":"RCK","index":"NASDAQ","price |
var assert = require('assert'); | |
var a = { | |
get a() { | |
return "a"; | |
} | |
}; | |
assert.deepEqual(Object.keys(a), ['a'], 'es6 enhanced object literals'); | |
var b = {}; |
autoload -Uz promptinit | |
promptinit | |
prompt redhat |
PROMPT="hello" | |
RPROMPT="world" |
/** | |
* Poor man's Slicy for Adobe Illustator -> PDF -> XCode 6+ workflow | |
* | |
* This niave script scans the current document for any GroupItem or | |
* CompoundPathItem who's name matches "@2x" in anyway. Once found, it | |
* will attempt to export them as PDF to `~/Desktop`. | |
* | |
* verboseMode {Bool=false} - When enabled, the script will alert information | |
* about each layer it attempts to scan. | |
* |
<!DOCTYPE html> | |
<meta charset="utf-8"> | |
<style> | |
.chart rect { | |
fill: steelblue; | |
} | |
.chart text { | |
fill: white; |
I hereby claim:
To claim this, I am signing this object:
const execFile = require('child_process').execFile; | |
const flow = require('flow-bin'); | |
function FlowPlugin(options) { | |
} | |
FlowPlugin.prototype.apply = function(compiler) { | |
var errors = []; |
// Turn on Developer Mode under User Settings > Appearance > Developer Mode (at the bottom) | |
// Then open the channel you wish to delete all of the messages (could be a DM) and click the three dots on the far right. | |
// Copy/paste the below script into the JavaScript console. | |
// invoke the function `clearMessages("username", "messageId")` | |
// where username is optional username to filter off of and where messageID is an optional ID that you wish to retain, but delete everything before | |
function clearMessages(username, before) { | |
const authToken = document.body.appendChild(document.createElement`iframe`).contentWindow.localStorage.token.replace(/"/g, ""); | |
const channel = window.location.href.split('/').pop(); | |
const baseURL = `https://discordapp.com/api/channels/${channel}/messages`; |
//!Portions of this code are licensed under the following license: | |
//! * @overview es6-promise - a tiny implementation of Promises/A+. | |
//! * @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald) | |
//! * @license Licensed under MIT license | |
//! * See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE | |
//! * @version 4.1.0+f9a5575b | |
!function(e) { | |
var t = {}; | |
function n(r) { | |
if (t[r]) |