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
#!/bin/bash | |
PRIVATE_GROUPS="thepit" | |
CHANNELS="avatar plm_website general health_insurance vim" | |
USERS="awilkie amonat bryanalves brittneysaint" | |
if [[ "$SLACK_TOKEN" == '' ]] ; then | |
echo 'Visit https://api.slack.com/custom-integrations/legacy-tokens to make yourself a slack token' | |
echo 'Set it with `export SLACK_TOKEN=abc123...`' | |
echo 'Then rerun this script' |
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
// example usage: | |
// $ node convert.js ccffcc | |
var _ = require('lodash'); | |
var hexRgb = require('hex-rgb'); | |
var isHex = require('is-hex'); | |
var hex = process.argv[2]; | |
var convert = function (color) { | |
if (0 < color < 256) { |
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
#!/bin/bash | |
for f in *.scss; do sass-convert $f ${f%scss}sass ; done | |
rm *.scss |