This file contains hidden or 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
| import requests | |
| import sys | |
| """ | |
| Iterates over all channels in a slack workspace and builds a dictionary of clientIDs to channel list. | |
| """ | |
| member_dictionary = dict() | |
| # get a token from https://api.slack.com/docs/oauth-test-tokens |
This file contains hidden or 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
| <?php | |
| /* | |
| Plugin Name: Redirection iFrame | |
| Description: iframe redirect for Wordpress. Accepts a 'key' parameter which it then redirects to the new URL. | |
| Usage: [myiframe width=640 height=480]http://url.to.redirect.to[/myiframe] | |
| Version: 1.0 | |
| Author: Ana Todor | |
| Author URI: http://www.ana-todor.ro | |
| License: GPL2 | |
| */ |
This file contains hidden or 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
| #!/usr/bin/python | |
| import os.path | |
| import csv | |
| import cjson | |
| import sys | |
| import gzip | |
| import ntpath | |
| def write_event(prefix, event_type, headers, event): | |
| data = prepare_data(headers, event) |
This file contains hidden or 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
| CREATE TABLE itunes_tags ( | |
| game_id integer, | |
| itunes_id varchar(256), | |
| name varchar(256), | |
| tags varchar(512), | |
| primary key(itunes_id) | |
| ); | |
| insert into itunes_tags VALUES(4567 , 568438534, 'Stupid Zombies 2 Free' , 'Games,Entertainment,Action,Arcade'); |
This file contains hidden or 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
| GameAnalytics.init(gameKey : String, secretKey: String, buildName: String, userID:String, sessionID: String); |