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
# How long it should wait between every loop in seconds | |
$secondsToWait = 5 | |
# The volume you want in percent (0.92 = 92%) | |
$volume = 1.00 | |
Write-Host "Starting invinite loop, press CTRL + C or close the window to stop" | |
while (1) { | |
Start-Process -FilePath "nircmd.exe" -WorkingDirectory $PSScriptRoot -ArgumentList "setsysvolume $([math]::floor(65535 * $volume))","default_record" -Wait | |
Write-Host "Volume set to $($volume * 100)%" | |
Start-Sleep -Seconds $secondsToWait |
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
sendkey esc press | |
wait 250 | |
setcursor 960 624 | |
wait 10 | |
sendmouse left click | |
wait 250 | |
setcursor 847 721 | |
wait 10 | |
sendmouse left click |
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 Amazon Smile redirect | |
// @namespace https://Bgmn.me | |
// @version 0.4 | |
// @description Redirects www.amazon.de & www.amazon.com url to the respective smile.amazon.tdl domain | |
// @author Bgmn.me | |
// @include https://www.amazon.* | |
// @grant none | |
// @homepage https://gist.github.com/Delivator/1c124681d85d0e9046214397ee6aaed3 | |
// ==/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
#!/bin/bash | |
function paste.click(){ | |
if [ -z "$1" ]; then | |
curl -s --data-binary @- https://paste.click/s/; | |
else | |
curl -s --data-binary @$1 https://paste.click; | |
fi; | |
}; |
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
import os | |
import sys | |
from siaskynet import Skynet | |
# upload | |
print("Uploading", str(sys.argv[1])) | |
skylink = Skynet.UploadFile(str(sys.argv[1])) | |
print("Upload successful, skylink: " + skylink) | |
os.system("echo " + skylink + " | clip") |
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
{ | |
"Version": "13.0.1", | |
"Name": "Siasky", | |
"DestinationType": "ImageUploader, TextUploader, FileUploader", | |
"RequestMethod": "POST", | |
"RequestURL": "https://siasky.net/skynet/skyfile/sharex-$random:a|b|c|d|e|f|g|h|i|j|k|l|m|n|o|p|q|r|s|t|u|v|w|x|y|z|A|B|C|D|E|F|G|H|I|J|K|L|M|N|O|P|Q|R|S|T|U|V|W|X|Y|Z|0|1|2|3|4|5|6|7|8|9$$random:a|b|c|d|e|f|g|h|i|j|k|l|m|n|o|p|q|r|s|t|u|v|w|x|y|z|A|B|C|D|E|F|G|H|I|J|K|L|M|N|O|P|Q|R|S|T|U|V|W|X|Y|Z|0|1|2|3|4|5|6|7|8|9$$random:a|b|c|d|e|f|g|h|i|j|k|l|m|n|o|p|q|r|s|t|u|v|w|x|y|z|A|B|C|D|E|F|G|H|I|J|K|L|M|N|O|P|Q|R|S|T|U|V|W|X|Y|Z|0|1|2|3|4|5|6|7|8|9$$random:a|b|c|d|e|f|g|h|i|j|k|l|m|n|o|p|q|r|s|t|u|v|w|x|y|z|A|B|C|D|E|F|G|H|I|J|K|L|M|N|O|P|Q|R|S|T|U|V|W|X|Y|Z|0|1|2|3|4|5|6|7|8|9$$random:a|b|c|d|e|f|g|h|i|j|k|l|m|n|o|p|q|r|s|t|u|v|w|x|y|z|A|B|C|D|E|F|G|H|I|J|K|L|M|N|O|P|Q|R|S|T|U|V|W|X|Y|Z|0|1|2|3|4|5|6|7|8|9$$random:a|b|c|d|e|f|g|h|i|j|k|l|m|n|o|p|q|r|s|t|u|v|w|x|y|z|A|B|C|D|E|F|G|H|I|J|K|L|M|N|O|P|Q|R|S|T|U|V|W|X|Y|Z|0|1|2|3|4|5|6|7|8|9$$random:a|b|c|d|e|f|g|h|i|j|k|l|m|n| |
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
param ( | |
$infile | |
) | |
$date = "{0:yyyy}_{0:MM}-{0:dd}_{0:HH}-{0:mm}" -f (get-date) | |
Get-ChildItem $infile | Rename-Item -Path $infile -NewName { $_.basename + "_" + $date + $_.extension } |
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
{ | |
"Version": "13.0.1", | |
"Name": "Skynet (SiaSky.net)", | |
"DestinationType": "ImageUploader, TextUploader, FileUploader", | |
"RequestMethod": "POST", | |
"RequestURL": "https://siasky.net/skynet/skyfile", | |
"Body": "MultipartFormData", | |
"FileFormName": "file", | |
"URL": "https://siasky.net/$json:skylink$" | |
} |
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
Get-ChildItem -Directory | ForEach-Object -Process {Compress-Archive -Path ".\$_\*" -DestinationPath ".\$_.zip"} |
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
http://siasky.net/AABT3pt5SYqcD-x92r67BhZPFRN62RQMD20Ej16m9jKDsQ 100MB.bin | |
http://siasky.net/CACLrXkiMMlbTYkuBuD_tqizkqrDJjDIg5dEBGDegMLeQg bbb_sunflower_2160p_60fps_normal.mp4 |