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 June 9, 2025 12:54 — 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.md
Last active July 7, 2025 14:29
Fix DNS resolution in WSL2

Permanent WSL DNS Fix (WSL 2.2.1+)

If you're encountering ping github.com failing inside WSL with a Temporary failure in name resolution, you're not alone — this has been a long-standing issue, especially when using VPNs or corporate networks.

This issue is now fixed robustly with DNS tunneling, which preserves dynamic DNS behavior and avoids limitations like WSL’s former hard cap of 3 DNS servers in /etc/resolv.conf.

DNS tunneling is enabled by default in WSL version 2.2.1 and later, meaning that if you're still seeing DNS resolution issues, the first and most effective fix is simply to upgrade WSL. Upgrading WSL updates the WSL platform itself, but does not affect your installed Linux distributions, apps, or files.

To upgrade WSL, follow these steps,

@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