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
# With Chrome, go to your slack team https://*.slack.com/team | |
# Open JS console | |
copy(JSON.stringify($.map($("a[title*='Email']"), function(a) {return $(a).text()}))) |
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
$ rvm use --create 2.1@app_name | |
$ gem install rails --no-ri --no-rdoc | |
$ rails new app_name --database=postgresql | |
$ cd app_name/ | |
$ rvm --rvmrc 2.1@app_name | |
$ git init | |
$ git add . | |
# setup db | |
$ rake db:drop db:create db:migrate db:seed |
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
require 'twitter' | |
# twitter app keys from dev.twitter.com | |
KEY = '' | |
SECRET = '' | |
TOKEN = '' | |
TOKEN_SECRET = '' | |
# Add members in batch | |
def add_list_members(list_slug, members) |
NewerOlder