Where are you on here?
Query used on Google's BigQuery with GitHubArchive Data
SELECT actor.login as user, COUNT(*) as total FROM (
/* | |
https://webapps.stackexchange.com/questions/100820/how-do-i-invite-all-team-members-to-a-new-slack-channel#answer-104062 | |
Instructions: Just browse to the appropriate channel and paste | |
this script (below) into your Chrome/Firefox dev console and hit enter. | |
Then wait for the script to run until it completes. | |
It might take time as there is a limit to how many users may be invited at once. | |
The script will loop until all team members are invited. | |
*/ | |
var foundAny=false; | |
function selectAllByLetter(remainingLetters) { |
import requests | |
SLACK_API_TOKEN = "xoxo-asdfghjkl..." # get one from https://api.slack.com/docs/oauth-test-tokens | |
CHANNEL_NAME = "general" | |
channel_list = requests.get('https://slack.com/api/channels.list?token=%s' % SLACK_API_TOKEN).json()['channels'] | |
channel = filter(lambda c: c['name'] == CHANNEL_NAME, channel_list)[0] | |
channel_info = requests.get('https://slack.com/api/channels.info?token=%s&channel=%s' % (SLACK_API_TOKEN, channel['id'])).json()['channel'] | |
members = channel_info['members'] |
var i = 1; | |
function inviteAllUsers() { | |
setTimeout(function () { | |
setTimeout(function() { | |
$('#channel_actions_toggle').click(); | |
},100) | |
setTimeout(function() { | |
$('#channel_invite_item').click(); | |
},200) |
'use strict'; | |
/** | |
* Vermin completely manages the running of the filerev and usemin tasks, so | |
* that assets that reference other assets are correctly hashed after their | |
* referenced assets are spliced in by usemin. | |
* | |
* Vermin also makes various assumptions about how filerev and usemin are set | |
* up. For instance, it assumes that usemin runs immediately after filerev, | |
* that filerev renames files in-place, and that usemin relies on |
# no config | |
Time.now is localtime | |
1.second.from_now is UTC | |
Timestamp stored in UTC | |
AR not translated | |
Time.now: Fri Aug 24 10:22:25 +0930 2012 | |
1.second.from_now 2012-08-24 00:52:26 UTC |
/* BlobBuilder.js | |
* A complete BlobBuilder shim | |
* By Eli Grey | |
* License: MIT/X11 | |
*/ | |
/*global self, unescape, encodeURIComponent */ | |
/*jslint bitwise: true, regexp: true, confusion: true, es5: true, vars: true, white: true, | |
plusplus: true, maxerr: 50, indent: 4 */ |