Skip to content

Instantly share code, notes, and snippets.

Patrick Connolly patcon

Block or report user

Report or block patcon

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View civictechto-org-structure.yml
name: Civic Tech Toronto
subcircles:
- name: Hacknight
accountabilities:
- Ensuring weekly hacknights run smoothly.
notes: |>
Google Spreadsheet: Hacknight Roles https://link.civictech.ca/roles
roles:
- name: Speaker support
View matterbridge.log
2019-04-24T17:38:21.425770+00:00 app[worker.1]: time="2019-04-24T17:38:21Z" level=debug msg="Start listening for Slack messages" prefix=slack-legacy
2019-04-24T17:38:21.470770+00:00 app[worker.1]: time="2019-04-24T17:38:21Z" level=info msg="Gateway(s) started succesfully. Now relaying messages" prefix=main
2019-04-24T17:38:21.541737+00:00 app[worker.1]: time="2019-04-24T17:38:21Z" level=debug msg="Not refreshing channel list as it was done less than 10s seconds ago." prefix=slack-legacy
2019-04-24T17:38:23.242004+00:00 app[worker.1]: time="2019-04-24T17:38:23Z" level=debug msg="== Receiving event &slack.HelloEvent{}" prefix=slack-legacy
2019-04-24T17:38:34.862634+00:00 app[worker.1]: time="2019-04-24T17:38:34Z" level=debug msg="<= Message is &config.Message{Text:"", Channel:"general-en", Username:"", UserID:"", Avatar:"", Account:"slack-legacy.g0vtw", Event:"user_typing", Protocol:"", Gateway:"", ParentID:"", Timestamp:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}, ID:"", Extra:map[string][]interface
View other-toronto-lobbying-comms-types.txt
Other:Fax reminder emergency partnership funding request
Other:Urgent community requests
Other:Fax reminder emergency partnership funding request
Other:City demands seniors' group pay to walk-SUN VIDEO
Other:Fax reminder emergency partnership funding request
Other:City demands seniors' group pay to walk-SUN VIDEO
Other:Fax reminder emergency partnership funding request
Other:City demands seniors' group pay to walk-SUN VIDEO
Other:City demands seniors' group pay to walk-SUN VIDEO
Other:Fax emergency partnership funding request
View test.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View meetup_template.txt
{{{ description_intro }}}
+ Presenter:
{{{ presenter_details_section }}}
+ Social Media Cheat Codes:
{{{ presenter_social_media }}}
View matterbridge.log
[0000] INFO main: Enabling debug
[0000] INFO main: Running version 1.11.4-dev
[0000] INFO main: WARNING: THIS IS A DEVELOPMENT VERSION. Things may break.
[0000] INFO gateway: Parsing gateway i18n-test
[0000] INFO gateway: Starting bridge: slack.g0vtw
[0000] INFO slack: Connecting using token (sending and receiving)
[0000] INFO bridge: slack.g0vtw: joining i18n-local-test-tw (ID: i18n-local-test-twslack.g0vtw)
[0000] INFO api: Listening on 0.0.0.0:4242
[0000] DEBUG slack: Choosing token based receiving
[0000] DEBUG slack: == Receiving event &slack.ConnectingEvent{Attempt:1, ConnectionCount:0}
View matterbridge.log
[0055] DEBUG slack: == Receiving event &slack.MessageEvent{Msg:slack.Msg{Type:"message", Channel:"CDBKWMMEY", User:"U4MCXJKNC", Text:"blah", Timestamp:"1541734370.074000", ThreadTimestamp:"", IsStarred:false, PinnedTo:[]string(nil), Attachments:[]slack.Attachment(nil), Edited:(*slack.Edited)(nil), LastRead:"", Subscribed:false, UnreadCount:0, SubType:"", Hidden:false, DeletedTimestamp:"", EventTimestamp:"1541734370.074000", BotID:"", Username:"", Icons:(*slack.Icon)(nil), Inviter:"", Topic:"", Purpose:"", Name:"", OldName:"", Members:[]string(nil), ReplyCount:0, Replies:[]slack.Reply(nil), ParentUserId:"", Files:[]slack.File(nil), Upload:false, Comment:(*slack.Comment)(nil), ItemType:"", ReplyTo:0, Team:"T02G2SXKM", Reactions:[]slack.ItemReaction(nil), ResponseType:"", ReplaceOriginal:false, DeleteOriginal:false}, SubMessage:(*slack.Msg)(nil)}
[0055] ERROR slack: &errors.errorString{s:"could not find information for user with id U4MCXJKNC"}
[0075] DEBUG slack: == Receiving event &slack.Me
View matterbridge.log
[1562] DEBUG slack: == Receiving event &slack.FileCreatedEvent{Type:"file_created", EventTimestamp:"1541733906.008400", File:slack.File{ID:"FDZFL8S1Y", Created:0, Timestamp:0, Name:"", Title:"", Mimetype:"", ImageExifRotation:0, Filetype:"", PrettyType:"", User:"", Mode:"", Editable:false, IsExternal:false, ExternalType:"", Size:0, URL:"", URLDownload:"", URLPrivate:"", URLPrivateDownload:"", OriginalH:0, OriginalW:0, Thumb64:"", Thumb80:"", Thumb160:"", Thumb360:"", Thumb360Gif:"", Thumb360W:0, Thumb360H:0, Thumb480:"", Thumb480W:0, Thumb480H:0, Thumb720:"", Thumb720W:0, Thumb720H:0, Thumb960:"", Thumb960W:0, Thumb960H:0, Thumb1024:"", Thumb1024W:0, Thumb1024H:0, Permalink:"", PermalinkPublic:"", EditLink:"", Preview:"", PreviewHighlight:"", Lines:0, LinesMore:0, IsPublic:false, PublicURLShared:false, Channels:[]string(nil), Groups:[]string(nil), IMs:[]string(nil), InitialComment:slack.Comment{ID:"", Created:0, Timestamp:0, User:"", Comment:""}, CommentsCount:0, NumStars:0, IsStarred:false}, FileID:"F
@patcon
patcon / get_token.sh
Created Nov 6, 2018
A quick little script to get the internal OAuth API token from Gitter desktop (Mac).
View get_token.sh
cat query.sql | sqlite3 ~/Library/Caches/com.troupe.gitter.mac.Gitter/Cache.db
plutil -convert xml1 /tmp/request_object.plist
cat /tmp/request_object.plist | grep Bearer
View matterbridge.log
[0060] DEBUG slack: <= Message is &config.Message{Text:"what about #vtaiwan and #vtaiwan-en", Channel:"i18n-test-en-local", Username:"patcon", UserID:"U4MCXJKNC", Avatar:"https://secure.gravatar.com/avatar/7e945991d1d70075cff59331d72ef4d8.jpg?s=48&d=https%3A%2F%2Fa.slack-edge.com%2F66f9%2Fimg%2Favatars%2Fava_0014-48.png", Account:"slack.g0v-tw", Event:"", Protocol:"", Gateway:"", Timestamp:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}, ID:"slack 1539342035.000100", Extra:map[string][]interface {}{}}
[0060] DEBUG gateway: => Sending config.Message{Text:"what about #vtaiwan and #vtaiwan-en", Channel:"i18n-test-en-local", Username:"patcon", UserID:"U4MCXJKNC", Avatar:"https://secure.gravatar.com/avatar/7e945991d1d70075cff59331d72ef4d8.jpg?s=48&d=https%3A%2F%2Fa.slack-edge.com%2F66f9%2Fimg%2Favatars%2Fava_0014-48.png", Account:"slack.g0v-tw", Event:"", Protocol:"", Gateway:"i18n-test", Timestamp:time.Time{wall:0xbee83d94e592ddb0, ext:60380006222, loc:(*time.Location)(0x25b8b80)}, ID:"slack 153
You can’t perform that action at this time.