View mogrify
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
replace black colour to one new colour | |
mogrify -path "target/path/" +level-colors lightgray "source/path/*.png" | |
replace black and white image with new "color" (note the comma) | |
mogrify -path "target/path/" +level-colors lightgray, "source/path/*.png" |
View broadlink
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
https://keitetran.github.io/BroadlinkIRTools/ |
View change default application by file type windows 10
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
run | |
control /name Microsoft.DefaultPrograms /page pageFileAssoc |
View openssl IMAP connect
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
openssl s_client -crlf -connect example.com:993 | |
tag login user@example.com password | |
tag LIST "" "*" | |
tag SELECT INBOX | |
tag STATUS INBOX (MESSAGES) | |
tag FETCH x:y (BODY[HEADER]) | |
tag FETCH y (BODY) | |
tag FETCH y (BODY[n]) | |
tag LOGOUT |
View default-win10.reg
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
Windows Registry Editor Version 5.00 | |
[HKEY_CURRENT_USER\Console] | |
"ColorTable00"=dword:000c0c0c | |
"ColorTable01"=dword:00da3700 | |
"ColorTable02"=dword:000ea113 | |
"ColorTable03"=dword:00dd963a | |
"ColorTable04"=dword:001f0fc5 | |
"ColorTable05"=dword:00981788 | |
"ColorTable06"=dword:00009cc1 |
View ffmpeg
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
# to=timestamp | |
ffmpeg -i input -ss 00:01:00 -to 00:02:00 output | |
# t=duration | |
ffmpeg -i input -ss 00:01:00 -t 00:02:00 output | |
# concat | |
ffmpeg -i "concat:input1.ts|input2.ts|input3.ts" -c copy output.ts | |
# convert all files in dir from srt to vtt |
View citrix receiver add more certs
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
# It's most likely because Citrix Receiver only include a few root certs | |
# and the server you are connecting to is not using one of these. | |
# To map more root certs to Citrix Receiver in Ubuntu do this: | |
sudo ln -s /usr/share/ca-certificates/mozilla/* /opt/Citrix/ICAClient/keystore/cacerts/ | |
sudo c_rehash /opt/Citrix/ICAClient/keystore/cacerts/ |
View shutdown
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
C:\Windows\System32\shutdown.exe /s /t 0 |
View publish.net.core
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
dotnet publish -f netcoreapp2.0 -c Release |
View youtube-dl.conf
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
-o %(series)s.s%(season_number)02de%(episode_number)02d.%(title)s.%(height)sp-%(id)s.%(ext)s | |
-f 'bestvideo[height<=720]+bestaudio/best[height<=720]' | |
--restrict-filenames |
NewerOlder