Skip to content

Instantly share code, notes, and snippets.

View jarp0l's full-sized avatar
πŸ™†β€β™‚οΈ
:D

Prajwol Pradhan jarp0l

πŸ™†β€β™‚οΈ
:D
View GitHub Profile
@jarp0l
jarp0l / techopsexamples-utm-cleaner.js
Created November 22, 2025 18:01
Strip UTM parameters from all links on techopsexamples.com
// ==UserScript==
// @name UTM Cleaner
// @namespace https://gist.github.com/jarp0l
// @version 1.0.0
// @description Strip UTM parameters from all links on page
// @author jarp0l
// @match https://www.techopsexamples.com/*
// @match http://www.techopsexamples.com/*
// @run-at document-end
// @updateURL https://gist.github.com/jarp0l/raw/techopsexamples-utm-cleaner.user.js
@jarp0l
jarp0l / hamrobazaar-hideHighAdCountUsers.js
Last active January 14, 2026 12:47
Hide listings from users who have more than a certain number of ads on Hamrobazaar. Users with high number of ads are usually sort of brokers. (Updated to support Hamrobazaar's new UI layout)
// ==UserScript==
// @name Hamrobazaar - Hide Users with Many Ads
// @namespace hamrobazaar
// @version 2026.01.14
// @description Hide listings from users who have more than a certain number of ads on Hamrobazaar
// @author jarp0l
// @match https://hamrobazaar.com/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=hamrobazaar.com
// @grant none
// @updateURL https://gist.github.com/jarp0l/41b4169f7b1c55272d9aea00879dc43e/raw

Problem

I have two Github accounts: oanhnn (personal) and superman (for work). I want to use both accounts on same computer (without typing password everytime, when doing git push or pull).

Solution

Use ssh keys and define host aliases in ssh config file (each alias for an account).

How to?

  1. Generate ssh key pairs for accounts and add them to GitHub accounts.

🧠 Quartz Cheatsheet: Notes vs Posts

A reference for when to use Notes or Posts in your Quartz site (e.g. Obsidian + Quartz).


πŸ“Š Notes vs Posts Summary Table

Feature πŸ“’ Notes πŸ“° Posts
@jarp0l
jarp0l / tampermonkey-remove-usp-param.js
Created March 24, 2024 12:11
Tampermonkey script to remove `?usp=sharing` param from Google Drive links on `https://bctengineeringnotes.blogspot.com/*`
// ==UserScript==
// @name Remove ?usp=sharing param
// @namespace http://tampermonkey.net/
// @version 2024-03-24
// @description Remove ?usp=sharing param from Google Drive links
// @author jarp0l
// @match https://bctengineeringnotes.blogspot.com/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=blogspot.com
// @grant none
// ==/UserScript==
@jarp0l
jarp0l / project-ideas.md
Last active April 26, 2024 04:03
Some projects that I want to do one day
  • An eml file viewer; potential features: cross-platform, ability to use native apps to open attachments, good UI, security analysis of email
  • Domain price comparison tool for Nepali services - e.g. comparing domain price in prabhu host vs babal host vs nest nepal etc.
  • A browser extension that informs whether a TryHackMe room is free or needs premium subscription, esp. in hacktivities.

Details

@jarp0l
jarp0l / linear-app-theme.md
Created December 2, 2023 15:56
linear.app Interface color scheme

Color scheme for linear.app interface based on Catppuccin Macchiato palette: https://catppuccin.ryanccn.dev/palette

  1. Go to https://linear.app/<your-workspace>/settings/account/preferences.
  2. Scroll down to Theme > Interface theme > Custom.
  3. Paste the following in All colors textbox:
  #24273a,#cad3f5,#363a4f,#cad3f5,#7dc4e4,#181926
  1. Set the theme by clicking on Set Theme.
@jarp0l
jarp0l / siem_training.md
Created January 22, 2023 04:39 — forked from isaqueprofeta/siem_training.md
SIEM Training
#!/bin/bash
export VSCODE_GALLERY_SERVICE_URL="https://marketplace.visualstudio.com/_apis/public/gallery"
export VSCODE_GALLERY_ITEM_URL="https://marketplace.visualstudio.com/items"
vscodium