Skip to content

Instantly share code, notes, and snippets.

@vickyRathee
vickyRathee / puppeteer-adblocker
Created September 19, 2021 11:33
Block ads and other resources using Puppeteer network request interceptor
const puppeteer = require("puppeteer");
(async () => {
const browser = await puppeteer.launch({
headless: true,
timeout: 30000,
ignoreHTTPSErrors: true,
args: ["--no-sandbox", "--disable-setuid-sandbox"],
});
@0xjac
0xjac / private_fork.md
Last active March 15, 2025 04:48
Create a private fork of a public repository

The repository for the assignment is public and Github does not allow the creation of private forks for public repositories.

The correct way of creating a private frok by duplicating the repo is documented here.

For this assignment the commands are:

  1. Create a bare clone of the repository. (This is temporary and will be removed so just do it wherever.)

git clone --bare [email protected]:usi-systems/easytrace.git

@bvanskiver
bvanskiver / shrew-soft-shortcut.bat
Last active March 14, 2023 07:25
Shrew Soft VPN client shortcut with saved credentials
rem http://www.shrew.net/
"C:\Program Files\ShrewSoft\VPN Client\ipsecc.exe" -r "VPN Profile Name" -u "Username" -p "Password" -a