This is a quick simple guide to getting jSpin setup for Mac and Linux.
You will need:
- Java (1.5 +)
| #!/usr/bin/python3 | |
| # this used to live at https://gitlab.gnome.org/snippets/814 | |
| # but has since been deleted, the original author is unknown | |
| # reuploading here for safe keeping | |
| import dbus | |
| import secrets | |
| import re |
| require 'json' | |
| require 'pp' | |
| # To run this, create a directory called "export" in the current directory. | |
| # Get admin access to Slack | |
| # Get an export of the data. | |
| # This will search export/standup/*.json files | |
| users = { | |
| 'U0AB5BETT' => 'andymeneely', |
This is a quick simple guide to getting jSpin setup for Mac and Linux.
You will need:
| # a simple Python plugin loading system | |
| # see http://stackoverflow.com/questions/14510286/plugin-architecture-plugin-manager-vs-inspecting-from-plugins-import | |
| class PluginMount(type): | |
| """ | |
| A plugin mount point derived from: | |
| http://martyalchin.com/2008/jan/10/simple-plugin-framework/ | |
| Acts as a metaclass which creates anything inheriting from Plugin | |
| """ |
| <?php | |
| /* From https://www.usps.com/send/official-abbreviations.htm */ | |
| $us_state_abbrevs_names = array( | |
| 'AL'=>'ALABAMA', | |
| 'AK'=>'ALASKA', | |
| 'AS'=>'AMERICAN SAMOA', | |
| 'AZ'=>'ARIZONA', | |
| 'AR'=>'ARKANSAS', |