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
class Variable { | |
obj: any; | |
constructor() { | |
this.obj = JSON.parse( MakerWebhooks.makeWebRequestQueryJson[0].ResponseBody ); | |
} | |
get( name: string ) { | |
if ( !(name in this.obj) ){ |
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
{"0":[ | |
android, | |
baby, | |
Tool, | |
gloves, | |
soap, | |
controller, | |
mirror, | |
dumbbell, | |
monitor, |
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 | |
ALL=false | |
DB=false | |
if [ -z $1 ]; then | |
exit | |
fi | |
if [ -z $2 ]; then | |
ALL=true |
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 | |
#Version 1.16 | |
function guessEdition { | |
TEMP=$(echo $1 | sed -E 's/.*((special|limited|uncensored|imax|deluxe|criterion|collector|remastered|ultimate|international|german|dircut|uncut|director|alternate|theatrical|extended|unrated|final)).*/\1/gI') | |
TEMP=$(echo $TEMP | tr '[:upper:]' '[:lower:]') | |
if [ "$TEMP" != "" ]; then | |
case $TEMP in | |
special) TEMP="Special" ;; |
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 | |
### | |
# How to use: Set this up as a Cron job and have it call at a regular interval. | |
# Example Cron time: */5 * * * * | |
### | |
#This needs to mach the name you gave the script in the unraid UI | |
SCRIPT_NAME=driveStandBy |
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
================= | |
status.yml | |
================= | |
overlays: | |
airing_shows: | |
variables: {key: airing, weight: 40, text: AIRING, last: 14, back_color: <<back_color_<<key>>>>} | |
template: [name: standard, name: status] | |
returning_shows: | |
variables: {key: returning, weight: 30, text: RETURNING, back_color: <<back_color_<<key>>>>} |
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
0.0.0.0 activate.adobe.com | |
0.0.0.0 practivate.adobe.com | |
0.0.0.0 ereg.adobe.com | |
0.0.0.0 wip3.adobe.com | |
0.0.0.0 activate.wip3.adobe.com | |
0.0.0.0 3dns-3.adobe.com | |
0.0.0.0 3dns-2.adobe.com | |
0.0.0.0 adobe-dns.adobe.com | |
0.0.0.0 adobe-dns-2.adobe.com | |
0.0.0.0 adobe-dns-3.adobe.com |
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
GOOGLE_CAL="ics url" | |
LOGIN_CAL="user:pass" | |
DEST_CAL="url to radicale calendar" | |
curl "$GOOGLE_CAL" | curl -u "$LOGIN_CAL" -X PUT "$DEST_CAL" --data-binary @- | |
# If you're looking to share a calendar then use symlinks | |
#ln -sf /path/to/src /path/to/dest | |
#chown radicale:radicale /opt/radicale /etc/radicale -fR | |
#find /opt/radicale/ -type d -exec chmod 0750 "{}" \; | |
#find /etc/radicale/ -type d -exec chmod 0750 "{}" \; |
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
<?php | |
class Localization { | |
private $localization_directory = null; | |
private $language = null; | |
private $localization_array = null; | |
private $test_data = '{ | |
"00000000": "Hello", |
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 | |
WATCH_DIR=$1 | |
URL=https://ubuntu.com/download/alternative-downloads | |
cd "$WATCH_DIR" | |
for i in $(curl -sq "$URL" -- | grep -hoE 'http.+?torrent'); do wget -q $i; done |
NewerOlder