Skip to content

Instantly share code, notes, and snippets.

View paramsiddharth's full-sized avatar
❤️
For the mother's pride, for the times I cried, got to stay alive. I'll survive.

Param Siddharth paramsiddharth

❤️
For the mother's pride, for the times I cried, got to stay alive. I'll survive.
View GitHub Profile
@itzderr
itzderr / gist:abdb2cdd795a23bc36e6a7838e388867
Last active September 6, 2025 02:57
Install Powerline MacOS

Step 1: Installation

Install Python3 via homebrew (Optional: in case you do not have pyhton installed. run python3 --version to see if it's installed)

$ brew install python3

Install powerline via pip (python package manager)

$ pip3 install powerline-status

@zrsmithson
zrsmithson / mngw-w64_boost.MD
Last active June 23, 2025 21:53
Installing boost on Windows using MinGW-w64 (gcc 64-bit)

Installing boost on Windows using MinGW-w64 (gcc 64-bit)

Introduction

Boost is easy when you are using headers or pre-compiled binaries for visual studio, but it can be a pain to compile from source on windows, especially when you want the 64-bit version of MinGW to use gcc/g++. This installation process should be thorough enough to simply copy and paste commands, but robust enough to install everything you need.

Note: if you need to install any of the libraries that need dependencies, see this great answer from stack overflow

Get files needed for install

Get the MinGW installer mingw-w64-install.exe from Sourceforge
Get the boost_1_68_0.zip source from Sourceforge
__Note: This should work perfectly w

@furixturi
furixturi / .envrc
Last active March 29, 2023 10:50
Use direnv to switch Github account between folders
# Use another github account in a certain folder
# Credit: http://suguru03.hatenablog.com/entry/2018/01/26/162826 (https://github.com/suguru03)
#
# Note: This requires installing direnv, I used homebrew for the installation
#
# Suppose for a certain github account, a new SSH key "id_rsa_xxx" was created and added in Github
# Create a .envrc file in the folder you want to use this account with the following line:
export GIT_SSH_COMMAND="ssh -i ~/.ssh/id_rsa_xxx"
@jnoc
jnoc / twitter_email_verification_method.txt
Last active June 23, 2025 09:42
twitter email lookup method, passive OSINT
*OUTLOOK METHOD*
1. Sign up a outlook.com email address
2. Link it to a twitter account
3. In the outlook account navigate to the 'people' icon
4. 'Add new contact'
5. Name it what you want and add a email to the contact and save it
6. On twitter navigate to https://twitter.com/settings/contacts_dashboard
(Settings > Privacy & Saftey > Manage your contacts)
7. Upload your address book via outlook.com
8. Twitter will then check if the email(s) are linked to an account that has the Discoverability - Let others find you by your email
@okutbay
okutbay / free_email_provider_domains.txt
Last active September 25, 2025 18:12 — forked from tbrianjones/free_email_provider_domains.txt
Most complete list of free email provider domains. Some of these are probably not around anymore. I've combined a dozen lists from around the web. Current "major providers" should all be in here as of the date this is created. I also created a service for it https://emailprovider.yonetic.im/ and use this list in my free link shortener service ht…
This file has been truncated, but you can view the full file.
0-00.usa.cc
0-180.com
0-30-24.com
0-420.com
0-900.com
0-aa.com
0-mail.com
0-z.xyz
0.pl
00.pe
@ingride
ingride / gist:7bb61483127d1f6d85a35d772b589090
Last active May 24, 2023 17:44
Return a String from C++ to WASM
// C++ bit . save it in an example.cpp file
#include "emscripten.h"
extern "C" {
inline const char* cstr(const std::string& message) {
char * cstr = new char [message.length()+1];
std::strcpy (cstr, message.c_str());
return cstr;
}
EMSCRIPTEN_KEEPALIVE
const char* getAMessage() {
#CODE
#Generate root password
import random, string
password = ''.join(random.choice(string.ascii_letters + string.digits) for i in range(20))
#Download ngrok
! wget -q -c -nc https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-amd64.zip
! unzip -qq -n ngrok-stable-linux-amd64.zip
#Setup sshd
@cerebrate
cerebrate / README.md
Last active July 4, 2025 01:28
Recompile your WSL2 kernel - support for snaps, apparmor, lxc, etc.

WARNING

THIS GIST IS EXTREMELY OBSOLETE. DO NOT FOLLOW THESE INSTRUCTIONS. SERIOUSLY.

IF YOU IGNORE THE ABOVE WARNING, YOU AGREE IN ADVANCE THAT YOU DIDN'T GET THESE INSTRUCTIONS FROM ME, THAT I WARNED YOU, AND THAT I RESERVE THE RIGHT TO POINT AND LAUGH MOCKINGLY IF AND WHEN SOMETHING BREAKS HORRIBLY.

I'll do a write-up of current custom-kernel procedures over on Random Bytes ( https://randombytes.substack.com/ ) one day soon.

NOTE

@denizssch
denizssch / XpSerials.txt
Created July 21, 2019 00:13
Windows XP ALL Serial Keys :) (For testing purpose [Ex: VM or PenTest])
FCKGW-RHQQ2-YXRKT-8TG6W-2B7Q8
Windows XP PRO Corporate serial number S/N: Key: MQPWW-PGVKX-YPMKG-8DH3G-KC8PW
windows xp home edition serial number S/N: 034634-262024-171505-828316-729010-413531-800424-400442
Windows XP 64 serial number S/N: B2RBK-7KPT9-4JP6X-QQFWM-PJD6G
Windows XP serial number S/N: K6C2K-KY62K-DQR84-RD4QV-QB74Q
Windows XP Professional 64-bit Corporate Edition 5.2.3790.1830 serial number S/N: VCFQD-V9FX9-46WVH-K3CD4-4J3JM
Microsoft Windows XP Professional SP2 serial number S/N: YY8F2-3CKVQ-RKTRG-6JMDR-9DTG6
Windows XP Professional Service Pack 1 sp1 serial number S/N: F46YY - 2R8VQ - R8GMY - 926VK - 6BQ73
Windows XP Pro serial number S/N: KBWR7-76BD8-J7MDQ-KKG&C-V9Q2J
@grassmunk
grassmunk / ani2ico.py
Last active September 27, 2025 13:33
Converts Microsoft Animated cursors ico/cur to png
#!/usr/bin/env python3
import sys
import os
import subprocess
import shutil
# Properly convert a Microsoft ANI file to Icon and PNG
# The filename is made up of: [icon file name]_[rate in jiffies]_[sequence].png
# GPL 3.0