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
| import requests | |
| from bs4 import BeautifulSoup | |
| import yaml | |
| import os | |
| def find_url_poster(data): | |
| base = [] | |
| if isinstance(data, dict): | |
| for key, value in data.items(): |
The default version of java provided in the latest raspbian images are outdated, so we are going to install from the ppa:webupd8team/java repository instead. Please note that add-apt-repository ppa:webupd8team/java will not work, so we will need to add the repository manually.
- Create the gpg key file and paste the following lines of text below
nano key.txt
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
| ############################### | |
| # Action Replay # | |
| # Code Types supported by # | |
| # CTRPluginFramework # | |
| # v0.5.0 # | |
| ############################### | |
| ============== | |
| INFO | |
| ============== |
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
| adaway.org | |
| api.twitter.com | |
| bitbucket.org | |
| changelogs.ubuntu.com | |
| de.ign.com | |
| dl.google.com | |
| dmp.adform.net | |
| dropbox.com | |
| feedly.com | |
| gearbest.com |
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
| function getTarget() { | |
| let entityValues = Object.values(parent.entities); | |
| let greenWorms = entityValues.filter(entity => entity.mtype === 'worm'); | |
| let redWorms = entityValues.filter(entity => entity.mtype === 'osnake'); | |
| let target; | |
| if (redWorms.length > 0) | |
| target = findClosest(redWorms); |
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
| ;------------------------------------------------------------------------------- | |
| ; Jake's AutoHotKey.ahk | |
| ; | |
| ; For Reference: | |
| ; | |
| ; Hotkey Modifiers | |
| ; # - Windows key | |
| ; ! - Alt | |
| ; ^ - Control | |
| ; + - Shift |
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 | |
| #### Media file processing script for Filebot | |
| # This script gets triggered by some means (inotify, auditd, cron, etc.) and processes media files in some locations. | |
| # It will run the filebot amc.groovy script against these files and output them into user defined locations for HTPC use. | |
| # | |
| # Known Limitations: | |
| # Not dealing with music files, just video files. I use beets for music tagging. | |
| # Not dealing with unique video types just yet, such as comedy specials, concerts, etc. Filebot might match it okay but I am not confident about it. |
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
| ################## | |
| # Privacy Settings | |
| ################## | |
| # Privacy: Let apps use my advertising ID: Disable | |
| Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\AdvertisingInfo -Name Enabled -Type DWord -Value 0 | |
| # To Restore: | |
| #Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\AdvertisingInfo -Name Enabled -Type DWord -Value 1 | |
| # Privacy: SmartScreen Filter for Store Apps: Disable | |
| Set-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\AppHost -Name EnableWebContentEvaluation -Type DWord -Value 0 |
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 | |
| # qbittorrent only passes the torrentname and torrentpath | |
| #TORRENT_ID=$1 | |
| TORRENT_NAME=$1 | |
| TORRENT_PATH=$2 | |
| #echo "Processing: " $1 $2 $3 >> /tmp/deluge-execute.log | |
| /usr/bin/filebot -script fn:amc --output "/mnt/Raw/Filebotd" --log-file amc.log --action copy --conflict auto -non-strict --def artwork=y subtitles=en "ut_dir=$TORRENT_PATH/$TORRENT_NAME" "ut_kind=multi" "ut_title=$TORRENT_NAME" | |
| #filebot -script fn:amc --output "$HOME/Videos" --log-file amc.log --action copy --conflict override -non-strict --def artwork=y subtitles=en "ut_dir=$TORRENT_PATH/$TORRENT_NAME" "ut_kind=multi" "ut_title=$TORRENT_NAME" |
NewerOlder
