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 / facebook.md
Created January 31, 2024 19:48
How to Permanently Delete Facebook and Instagram Accounts
@rwp0
rwp0 / vivaldi.md
Last active January 29, 2024 17:25
Vivaldi DNS Settings Chrome
@rwp0
rwp0 / macros.doskey.txt
Created January 22, 2024 19:40
My cmd.exe Doskey Macros
#=Read: doskey /macrofile=macros.doskey.txt
#=List: doskey /macros
#=Docs:
#=UP and DOWN ARROWS recall commands; ESC clears command line; F7 displays
#=command history; ALT+F7 clears command history; F8 searches command
#=history; F9 selects a command by number; ALT+F10 clears macro definitions.
vivaldi=%localappdata%\Vivaldi\Application\vivaldi.exe
@rwp0
rwp0 / uninstall.cpanm.sh
Created January 9, 2024 12:43
Uninstall CPAN module with CPANM
cpanm --uninstall <Module>
@rwp0
rwp0 / DISTRIBUTIONS.txt
Last active January 5, 2024 00:46
Strawberry Perl Distributions (Modules)
Strawberry Perl (64-bit) 5.38.2.2-64bit includes these distributions
installed on top of perl 5.38.2:
1/439: Algorithm-C3-0.11
2/439: Algorithm-Diff-1.201
3/439: Alien-Build-2.80
4/439: Alien-Build-Plugin-Download-GitLab-0.01
5/439: Alien-GMP-1.16
6/439: Alien-Libxml2-0.19
7/439: Alt-Crypt-RSA-BigInt-0.06
@rwp0
rwp0 / packages.winget.pl
Created December 28, 2023 23:56
Install My WinGet Packages (Perl script)
use v5.38;
use Getopt::Long;
# Run as: perl winget.pl --uninstall (Perl on Windows might omit the arguments if set as default interpreter for .pl files)
Getopt::Long::Parser -> new -> getoptions(
\my %options ,
'uninstall|u' ,
'show|s'
); # Program options
@rwp0
rwp0 / escape_aliases.md
Created December 20, 2023 20:14
Escape Command Alias in Bash
@rwp0
rwp0 / cpan.md
Last active December 21, 2023 22:46
Install CPAN Distributions Locally (to a user directory)

CPAN

Run cpan interactively:

o conf makepl_arg INSTALL_BASE=/home/regular/perl
o conf mbuildpl_arg=/home/regular/perl
o conf commit
@rwp0
rwp0 / help.advfirewall.netsh.out
Last active December 10, 2023 19:03
Block Domains with Windows Firewall (netsh)
C:\Users\EAslanov>netsh advfirewall firewall add rule ?
Usage: add rule name=<string>
dir=in|out
action=allow|block|bypass
[program=<program path>]
[service=<service short name>|any]
[description=<string>]
[enable=yes|no (default=yes)]
[profile=public|private|domain|any[,...]]
@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