Run the below command in terminal:
wget --no-cache -O - https://gist.github.com/EmpireWorld/737fbb9f403d4dd66dee1364d866ba7e/raw/install-lamp.sh | bash| version: '3.1' | |
| services: | |
| unifi: | |
| container_name: unifi | |
| restart: unless-stopped | |
| image: linuxserver/unifi | |
| volumes: | |
| - /srv/docker/unifi:/config | |
| environment: | |
| - PGID=0 |
| #!/bin/bash | |
| echo -n Password: | |
| read -s password | |
| echo | |
| hash="$(echo -n $password | openssl sha1)" | |
| upperCase="$(echo $hash | tr '[a-z]' '[A-Z]')" | |
| prefix="${upperCase:0:5}" | |
| response=$(curl -s https://api.pwnedpasswords.com/range/$prefix) | |
| while read -r line; do |
| <?php | |
| // http://jeffreysambells.com/2012/10/25/human-readable-filesize-php + some edit | |
| // https://gist.github.com/liunian/9338301 | |
| function human_filesize($bytes, $decimals = 2) | |
| { | |
| if ($bytes < 1024) { | |
| return $bytes . ' B'; | |
| } | |
| $factor = floor(log($bytes, 1024)); |
| #!/bin/bash | |
| clear | |
| # Checks for ROOT privileges | |
| echo "============================================" | |
| echo "Checking for ROOT" | |
| echo "============================================" | |
| if [ "$USER" = "root" ] | |
| then | |
| echo "Success! You are ROOT" | |
| else |
| <?php | |
| /** | |
| * Split PDF file | |
| * | |
| * <p>Split all of the pages from a larger PDF files into | |
| * single-page PDF files.</p> | |
| * | |
| * @package FPDF required http://www.fpdf.org/ | |
| * @package FPDI required http://www.setasign.de/products/pdf-php-solutions/fpdi/ |
| # -*- mode:conf-unix -*- | |
| ### hosts win10 extra | |
| ### More info: https://github.com/crazy-max/WindowsSpyBlocker | |
| 0.0.0.0 answers.microsoft.com | |
| 0.0.0.0 apps.skype.com | |
| 0.0.0.0 az361816.vo.msecnd.net | |
| 0.0.0.0 az512334.vo.msecnd.net | |
| 0.0.0.0 cdn.content.prod.cms.msn.com | |
| 0.0.0.0 choice.microsoft.com |
| """ | |
| Use PlexPy to count how many plays per user occurred this week. | |
| Notify via PlexPy Notification | |
| """ | |
| import requests | |
| import sys | |
| import time | |
| TODAY = int(time.time()) |
| """ | |
| Send an email with what was added to Plex in the past week using PlexPy. | |
| Email includes title (TV: Show Name: Episode Name; Movie: Movie Title), time added, image, and summary. | |
| """ | |
| import requests | |
| import sys | |
| import time | |
| import os | |
| from email.mime.text import MIMEText |
| """ | |
| Find what was added TFRAME ago and not watched using PlexPy. | |
| """ | |
| import requests | |
| import sys | |
| import time |