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 | |
FOLDER="/home/plex/toupload" | |
inotifywait -m $FOLDER -e create -e moved_to | | |
while read path action file; do | |
echo "The file '$file' appeared in directory '$path' via '$action'" | |
acd_cli ul $FOLDER/"$file" /Media/Unsorted/ | |
rm -rf $FOLDER/"$file" | |
done | |
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
echo Installing Chocolatey | |
@powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin | |
echo Grabbing apps | |
choco install chocolateygui google-chrome-x64 nodejs.install firefox 7zip.install vlc skype filezilla dotnet4.5 putty.install python dropbox mysql-workbench libreoffice procexp sublimetext3 calibre teamviewer winscp silverlight windirstat malwarebytes thunderbird wireshark winrar cdburnerxp python2 googledrive resharper vcredist2008 audacity evernote steam f.lux googleearth android-sdk cpu-z everything teracopy mp3tag handbrake.install eclipse unitywebplayer crystaldiskinfo openvpn vmwareplayer unchecky intellijidea-community androidstudio -y | |
pause |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>JSSample</title> | |
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script> | |
<meta name="viewport" content="user-scalable=yes, initial-scale=0.75, maximum-scale=2, minimum-scale=1, width=device-width, target-densitydpi=device-dpi" /> | |
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self' data: 'unsafe-inline' 'unsafe-eval' https:; object-src 'self'; style-src 'self' 'unsafe-inline' https:; img-src 'self' data: https:; media-src 'self'; frame-src 'self'; font-src 'self' data: https:; connect-src 'self' https: http:" /> | |
<meta http-equiv="X-Content-Security-Policy" content="default-src 'self'; script-src 'self' data: 'unsafe-inline' 'unsafe-eval' https:; object-src 'self'; style-src 'self' 'unsafe-inline' https:; img-src 'self' data: https:; media-src 'self'; frame-src 'self'; font-src 'self' data: https:; connect-src 'self' https:" /> | |
<meta http-equiv="X-WebKit-CSP" content="default-src ' |
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 RouterPassword Cycler | |
// @version 0.1 | |
// @description Cycles through all of RouterPasswords.com's routers and sticks the info into persistent storage | |
// @require http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js | |
// @author You | |
// @match http://routerpasswords.com/ | |
// @grant none | |
// ==/UserScript== | |
//Note this will only work once. If you want it to work again, run this command in your Chrome dev console: localStorage.setItem("RPSetup", false); |
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
Script here: https://gist.github.com/Makeshift/34ed1df004b94b12d298b0c6e6830f79 | |
Dump: | |
[ | |
{ | |
"manufacturer": "2WIRE", | |
"model": "HOMEPORTAL Rev. SBC YAHOO! DSL", | |
"protocol": "", | |
"username": "2Wire", | |
"password": "" | |
}, |
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
ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAgEApODhuUkBSCJRU8+YvT6SVtfwsNJIY06Oafrum6MCIKIKh4UAMe3MtlsXbVGvRiZ1cPMYzVReaWu+XN5P/tFX1hFWwhIMXHo84zJZlQetyKsf1AFYCHXthRARF77SxRTA+Kip4iTnYOyrDofb0JXWmNBFUxuDkmzL6JFkrkstNoV7iPqtTCgS4JL0m/slEfAOyh0r8kjNGBxLF7zpIOdRhBpC+nf6J8KqTBaDyWZgbijMyrehlodrV7TOvzEFryz+EKYtuHIuJgH9YkYuHS16tO9bGqlBcfIWMlD2WUV/fy8qCcI9h5nCWhHsXR/VUvZ6PdthNLuqBZuoSnr+rj9eFAnhPhJMAaF4UYCYM3exaqbMq7w96PkFR3GIcVK761gWeKJFM6pW3YHC5h3XuTNOJID1UT/0L3G2z4Ajt6rgKZsTbaXIv8ldlMnhfAOnASpL5vF1BCVvIJaKt4+i/309ahEDfG0fwry+yHjSCrrl3hN6N1OphZLRCT/9Q/8iJziIxESpdjff69fmLIyQs61aQWNoMcsA2iMI3745xMTzhJg2VYQniRwcgpZSJQm3K47vh2BSfr+NbfpzraT50Mns5K3Tad8qHqESjvA3i07Z62WEaP2rFaGGmvLdac1YTfyPuMUg9fPjkcSs+faHoPHZUbRYH/4DCvWNBNw8WE2SPss= Connor Bell |
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
[Unit] | |
Description=The Lounge | |
After=network-online.target | |
[Service] | |
Type=simple | |
ExecStart=/usr/local/bin/thelounge start | |
User=scassany | |
Restart=always |
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
echo Installing Chocolatey | |
@powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin | |
echo Grabbing apps | |
choco install classic-shell google-chrome-x64 telegram.install vmwarevsphereclient linkshellextension sourcetree slack filebot pidgin lastpass nodejs.install firefox 7zip.install vlc skype filezilla dotnet4.5 speccy keepass.install putty.install python dropbox procexp mumble teamspeak rainmeter jdownloader sublimetext3 calibre teamviewer winscp silverlight windirstat malwarebytes wireshark autohotkey winrar cdburnerxp python2 vcredist2008 audacity steam f.lux googleearth cpu-z everything teracopy mp3tag handbrake.install unitywebplayer crystaldiskinfo unchecky git jre8 jdk8 adobereader qbittorrent tor-browser ffmpeg -y | |
pause |
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
echo Installing Chocolatey | |
@powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))" && SET PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin | |
echo Grabbing apps | |
choco install paint.net youtube-dl cmder disabledefender-winconfig chocolateygui classic-shell google-chrome-x64 telegram.install vmwarevsphereclient linkshellextension sourcetree slack filebot nodejs.install awscli firefox vim 7zip.install vlc skype filezilla dotnet4.7.1 speccy keepass.install putty.install python dropbox procexp telegram mumble teamspeak rainmeter sublimetext3 calibre teamviewer windirstat wireshark autohotkey winrar cdburnerxp python2 vcredist2008 steam f.lux cpu-z everything mp3tag handbrake.install crystaldiskinfo unchecky git jre8 jdk8 adobereader qbittorrent tor-browser ffmpeg sysinternals curl -y | |
pause |
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
const config = { | |
docker: process.env["docker_conf"] ? JSON.parse(process.env["docker_conf"]) : {socketPath: '/var/run/docker.sock'}, | |
confdir: process.env["conf_dir"] || "/conf", | |
template: process.env["template"] || "/template.vhost", | |
destination: process.env["destination"] | |
} | |
const fs = require('fs').promises; | |
const path = require('path'); | |
const {Docker} = require('node-docker-api'); |
OlderNewer