Skip to content

Instantly share code, notes, and snippets.

View rwp0's full-sized avatar
📚
On one's own way, at one's own pace…

Elvin Aslanov rwp0

📚
On one's own way, at one's own pace…
View GitHub Profile
@rwp0
rwp0 / change.schtasks.bat
Last active February 1, 2024 22:26
schtasks: Windows Task Scheduler CLI (Shutdown)
rem https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/schtasks-change
schtasks /change /tn shutdown /st 00:00
@rwp0
rwp0 / geula.m3u
Last active November 20, 2023 23:45
Geula FM Network URL Playable via VLC
#EXTM3U
#EXTINF:0,radio.mp3
#EXTVLCOPT:network-caching=1000
https://broadcast.adpronet.com/radio/8010/radio.mp3
# https://onlineradiobox.com/il/geula/
# https://en.wikipedia.org/wiki/M3U
@rwp0
rwp0 / Net-SSLeay.md
Last active November 17, 2023 21:19
Perl under WSL from Scratch
******************************************************************************
* COULD NOT FIND LIBSSL HEADERS                                              *
*                                                                            *
* The libssl header files are required to build Net-SSLeay, but they are     *
* missing from /usr. They would typically reside in /usr/include/openssl.    *
*                                                                            *
* If you are using the version of OpenSSL/LibreSSL packaged by your Linux    *
* distribution, you may need to install the corresponding "development"      *
* package via your package manager (e.g. libssl-dev for OpenSSL on Debian    *
@rwp0
rwp0 / scrcpy.bat
Created October 31, 2023 11:14
scrcpy Shortcut on Windows
rem Target
scrcpy.exe --turn-screen-off --show-touches --power-off-on-close
rem Run: Maximized
rem Comment: https://manpages.debian.org/unstable/scrcpy/scrcpy.1.en.html
@rwp0
rwp0 / Get-WinUserLanguageList.out
Last active October 26, 2023 11:37
Add Windows User Input Languages with PowerShell
LanguageTag : en-US
Autonym : English (United States)
EnglishName : English
LocalizedName : English (United States)
ScriptName : Latin
InputMethodTips : {0409:00000409}
Spellchecking : True
Handwriting : False
LanguageTag : ru
@rwp0
rwp0 / pod.org
Created October 21, 2023 21:01
Perl POD Line Limit

78 charcters

@rwp0
rwp0 / file.reset.git.md
Last active September 26, 2023 10:39
Git Remove File from a Commit

PR Perl/perl5#21498

Reset File

Command

git reset HEAD~1 .\t\op\lc.t # specify correct relative or full path to the file
@rwp0
rwp0 / shxc.sh
Created September 18, 2023 13:20
Save the commandline alongside its output in file
sh -xc "perl SCRIPT.pl --option1 --option2 argument FILE" > OUTPUT_FILE 2>&1