Skip to content

Instantly share code, notes, and snippets.

View kelly's full-sized avatar

Kelly kelly

  • dailymile
  • San Francisco, CA
View GitHub Profile
@kelly
kelly / workflows.json
Last active September 20, 2018 20:47
{
"categories": {
"1": "Customer Feedback",
"2": "Retention/Loyalty",
"3": "Customer Success"
},
"example_categories": {
"1": "Running Shoes",
"2": "Nutrition Product",
"3": "Cycling Product",
@kelly
kelly / jsonToPlist.coffee
Last active January 1, 2016 13:29
sanitized json to plist. Converts all keys to camelCase and allows for prefixed keys.
_ = require 'underscore'
fs = require 'fs'
plist = require 'plist'
ccase = require 'change-case'
stdio = require 'stdio'
opts = stdio.getopt
'input':
description: 'input',
mandatory: true,
@kelly
kelly / sassyJSON.coffee
Last active January 1, 2016 08:29
Store your colors, or other variables in json. This will convert to sass variables. usage: "coffee sassyJSON.coffee --input file.json"
_ = require 'underscore'
beautify = require('js-beautify').css
stdio = require 'stdio'
fs = require 'fs'
opts = stdio.getopt
'input':
description: 'input',
mandatory: true,
args: 1,
/* CSS */
$height: 85px;
$width: 700px;
.container { position: relative }
.card {
height: $height;
width: $width;
z-index: 1;