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
    
  
  
    
  | // ==UserScript== | |
| // @name Viewers AutoReload | |
| // @version 0.1 | |
| // @author crashmax | |
| // @match https://www.twitch.tv/moderator/* | |
| // @icon https://www.google.com/s2/favicons?sz=64&domain=twitch.tv | |
| // @grant none | |
| // ==/UserScript== | |
| setInterval(() => { | 
  
    
      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
    
  
  
    
  | # Campaign ID can be fetched trough the API (List all Campaigns: GET https://www.patreon.com/api/oauth2/v2/campaigns) | |
| # access_token can be created on https://www.patreon.com/portal/registration/register-clients | |
| # For more data, add fields to either fields[member] or fields[user]. All fields are listed on https://docs.patreon.com/#apiv2-resources | |
| async def fetch_patreons(self, campaign_id, access_token): | |
| patreons = {} | |
| url = f'https://www.patreon.com/api/oauth2/v2/campaigns/{campaign_id}/members' | |
| params = { | |
| 'include': 'user', | |
| 'fields[member]': | 
  
    
      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
    
  
  
    
  | #!/bin/bash | |
| # | |
| # This is sp, the command-line Spotify controller. It talks to a running | |
| # instance of the Spotify Linux client over dbus, providing an interface not | |
| # unlike mpc. | |
| # | |
| # Put differently, it allows you to control Spotify without leaving the comfort | |
| # of your command line, and without a custom client or Premium subscription. | |
| # |