Skip to content

Instantly share code, notes, and snippets.

View sparcut's full-sized avatar
:bowtie:
working

sparcut sparcut

:bowtie:
working
View GitHub Profile
@sparcut
sparcut / compare.js
Created December 22, 2017 09:33
Difference in API responses
const _ = require('lodash');
const fs = require('fs');
const images = require('./images.json'); // https://twitchemotes.com/api_cache/v3/images.json
const subJSON = require('./subscriber.json'); // https://twitchemotes.com/api_cache/v3/subscriber.json
const subIds = Object.keys(subJSON);
const sub = {}
for(let i = 0, len = subIds.length; i < len; i++) {
@sparcut
sparcut / keymap.cson
Created January 2, 2017 07:04
DocBlockr Issue - Atom Settings + Packages (built from sync-settings package)
"atom-workspace":
"alt-shift-T": "atom-terminal:open-project-root"
"ctrl-shift-Q": "api-docs:search-under-cursor"
# Your init script
#
# Atom will evaluate this file each time a new window is opened. It is run
# after packages are loaded/activated and after the previous editor state
# has been restored.
#
# An example hack to log to the console when each text editor is saved.
#
# atom.workspace.observeTextEditors (editor) ->
# editor.onDidSave ->
@sparcut
sparcut / aws_dark_theme.css
Created October 27, 2016 06:22
Dark theme for AWS console. Edited version of --> https://userstyles.org/styles/131297/aws-dark
html,
body,
#content,
.CLB,
.DMB,
#bucket-list-container,
#properties-panel,
#main,
#left-column,
li.awstoc,