This file contains 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 | |
declare -A USERS # associative array | |
# enter users here | |
USERS[name1]="token1xxxxxxxxxxxxxxxxxxxxxxxxxx steamID64optional" | |
USERS[name2]="token2xxxxxxxxxxxxxxxxxxxxxxxxxx steamID64optional" | |
USERS[examp]="efa1d62e8e422acc0a76aff5ac889d71 76561197295961561" | |
BASE_DIR=/home/pi/saliencheat |
This file contains 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
############################################################################## | |
## 3.6_fstring-3.5_strformat.py ## | |
## Matt Moran (2018) ## | |
############################################################################## | |
## Usage: python 3.6_fstring-3.5_strformat.py file_to_process.py | |
## | |
## Converts all 3.6 fstrings f"insert {var:.2f} here" to 3.5 compatible | |
## "insert {:.2f} here".format(var) | |
## | |
## Works with: |
This file contains 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/env bash | |
set -o errexit | |
set -o nounset | |
set -o pipefail | |
# Automatically update your CloudFlare DNS record to the IP, Dynamic DNS | |
# Can retrieve cloudflare Domain id and list zone's, because, lazy | |
# Place at: | |
# /usr/local/bin/cf-ddns.sh |
This file contains 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 Auto Club selector for TaskPilot | |
// @namespace MattMoran | |
// @version 1.0.0 | |
// @description Automatically select your club | |
// @updateURL https://gist.github.com/DarkMatterMatt/badf3a61d743a098773e48150a4402e0/raw/ | |
// @author Matt Moran | |
// @copyright Matt Moran 2017 | |
// @match http://taskpilot.org/ | |
// ==/UserScript== |
This file contains 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 Latest RASPs page for rasp.nz | |
// @namespace MattMoran | |
// @version 2.0.1 | |
// @description Allows using rasp.nz/rasp/latest | |
// @updateURL | |
// @author Matt Moran | |
// @copyright Matt Moran 2017 | |
// @match http://rasp.nz/rasp/latest* | |
// ==/UserScript== |
This file contains 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 AutoRefresh for Github | |
// @namespace MattMoran | |
// @version 1.0 | |
// @description Automatically refreshed inactive Github tabs every 10 mins | |
// @author Matt Moran | |
// @copyright Matt Moran 2017 | |
// @match https://github.com/*/*/* | |
// @updateURL https://gist.github.com/DarkMatterMatt/0cda044231c3ec45fb788713e6a023cc/raw/ | |
// @require https://cdnjs.cloudflare.com/ajax/libs/js-cookie/2.2.0/js.cookie.min.js |
This file contains 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 AutoLogin for VexForums | |
// @namespace MattMoran | |
// @version 1.0.0 | |
// @description VexForums logs itself out frequently. It's a PITA. | |
// @updateURL https://gist.githubusercontent.com/DarkMatterMatt/d9092fea491c7de5bebf7b1c4cee10af/raw/ | |
// @author Matt Moran | |
// @copyright Matt Moran 2017 | |
// @match https://www.vexforum.com/* | |
// ==/UserScript== |
This file contains 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
# Your init script | |
# | |
# Atom will evaluate this file each time a new window is opened. It is run | |
# after packages are loaded/activated and after the previous editor state | |
# has been restored. | |
# | |
# An example hack to log to the console when each text editor is saved. | |
# | |
# atom.workspace.observeTextEditors (editor) -> | |
# editor.onDidSave -> |
NewerOlder