Skip to content

Instantly share code, notes, and snippets.

@jatinsharrma
jatinsharrma / Extract.sh
Created July 4, 2020 15:06
Extract Multiple ZIP / RAR files from one directory to another. Shell Script
#!/bin/bash
#Script to extract Multiple RAR files and place each RAR file's content in its own directory
for z in *.rar
do
# removing all white space. Generating Directory name
c="$(echo -e "${z}" | tr -d '[:space:]')"
# Creating directory. Replace <Directory Address> with your own Directory Address.
mkdir /<Directory Address>/$c;
.php
.html
.txt
.htm
.aspx
.asp
.js
.css
.pgsql.txt
.mysql.txt
@Hakky54
Hakky54 / openssl_commands.md
Last active April 10, 2025 20:29 — forked from p3t3r67x0/openssl_commands.md
OpenSSL Cheat Sheet

OpenSSL Cheat Sheet 🔐

Install

Install the OpenSSL on Debian based systems

sudo apt-get install openssl
@Aldaviva
Aldaviva / Useful programs.md
Last active April 5, 2023 08:46
Applications and extensions that are handy to install in different operating systems and browsers

Windows

Program Category Notes
7+ Taskbar Tweaker Tweaking Adjust taskbar behavior.
AltSnap Window management Easily move windows with mouse.
Autoruns Startup management Turn off startup processes.
CCleaner System cleanup Upsells are a little annoying.
dBpoweramp Audio encoder Transcode music batches in parallel.
DisplayFusion Tweaking Plethora of multi-monitor, desktop, and shell tweaks.
Driver Store Explorer System cleanup Uninstall unused drivers.
@Jaid
Jaid / disableWindowsDefender.reg
Last active October 16, 2024 07:20
Disable Windows 10 Defender (can drastically reduce CPU usage, but I only recommend this for advanced Windows users)
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Defender]
"DisableAntiSpyware"=dword:00000001
"DisableAntiVirus"=dword:00000001
"DisableRoutinelyTakingAction"=dword:00000001
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Defender\Real-Time Protection]
"DisableRealtimeMonitoring"=dword:00000001
"DisableBehaviorMonitoring"=dword:00000001
@coltenkrauter
coltenkrauter / fix-wsl2-dns-resolution
Last active April 9, 2025 09:37
Fix DNS resolution in WSL2
More recent resolution:
1. cd ~/../../etc (go to etc folder in WSL).
2. echo "[network]" | sudo tee wsl.conf (Create wsl.conf file and add the first line).
3. echo "generateResolvConf = false" | sudo tee -a wsl.conf (Append wsl.conf the next line).
4. wsl --terminate Debian (Terminate WSL in Windows cmd, in case is Ubuntu not Debian).
5. cd ~/../../etc (go to etc folder in WSL).
6. sudo rm -Rf resolv.conf (Delete the resolv.conf file).
7. In windows cmd, ps or terminal with the vpn connected do: Get-NetIPInterface or ipconfig /all for get the dns primary and
secondary.
@chriswayg
chriswayg / create-cloud-template.sh
Last active April 4, 2025 19:45
This script will download a cloud image of many Linux distros and create a Proxmox 6 KVM template from it.
#!/bin/bash
set -o errexit
clear
printf "\n*** This script will download a cloud image and create a Proxmox VM template from it. ***\n\n"
### HOW TO USE
### Pre-req:
### - run on a Proxmox 6 server
### - a dhcp server should be active on vmbr1
#!/usr/bin/python3
"""#------------------------------------------------------------------------------------------------
#-- Movie Tag Updater for Radarr
#--------------------------------------------------------------------------------------------------
# Program : Radarr_tagarr
# To Complie : n/a
#
# Purpose : Add tags and profiles to radarr movies. Tags are retreived from Radarr.
# Say Y to add a tag. N to skip a tag. N for all tags will remove all tags.
#
@ericlaw1979
ericlaw1979 / reattachFiddlerscript.js
Last active December 19, 2023 16:42
Reattach Fiddler as system proxy if unexpectedly detached; see https://feedback.telerik.com/fiddler/1410460-the-system-proxy-was-changed-click-to-reenable-capturing for discussion.
// Click Rules > Customize Rules. Scroll to OnBoot() and inside the function add:
static function OnBoot() {
FiddlerApplication.oProxy.add_DetachedUnexpectedly(DoReattach);
//...
// Just before the OnBoot function, add the following new functions:
static function DoReattach(o: Object, ea: EventArgs) {
FiddlerObject.UI.sbpInfo.Text = "Scheduling automatic reattach at " + new Date();
@FFY00
FFY00 / tracker-list.txt
Last active December 12, 2024 13:12
Torrent Trackers
http://104.28.1.30:8080/announce
http://104.28.16.69/announce
http://107.150.14.110:6969/announce
http://109.121.134.121:1337/announce
http://114.55.113.60:6969/announce