Skip to content

Instantly share code, notes, and snippets.

@captn3m0
captn3m0 / DONTS.md
Created July 1, 2025 07:24
HDFC Secure NetBanking Usage Guidelines
  • Avoid accessing NetBanking from shared computer networks such as cyber cafes or public Wi-Fi networks like hotels/airports, etc.
  • Do not click on links in the emails or sites other than www.hdfcbank.com to access your NetBanking webpage.
  • Don’t write your passwords anywhere or share your computer with unknown sources.
  • Do not disclose your passwords, OTPs, Debit Card Number, CVV etc to anyone (including Bank Staff).
  • Don’t respond to emails that request personal information.
  • Do not choose passwords that are easy to guess like your date of birth, spouse’s name etc.
  • Never download an attachment if it is not from a trusted source.
  • Don’t leave your account unattended after logging in.
@captn3m0
captn3m0 / README.md
Last active June 17, 2025 11:36
WhatsApp Open Source Attribution in Android

res/gd7.txt from the latest WhatsApp.apk downloaded on 17th June.

@captn3m0
captn3m0 / 01-REACTOR-EPUB.md
Created September 20, 2024 05:02
Tor.com (Reactor) Original Fiction EPUB Generation Script

Generatest EPUBs for all Original Fiction published at Reactor (earlier Tor.com) using a combination of curl, pup, ag, xargs, and url-to-epub.

Final output should be roughly 700+ EPUBs weighing around 250MB.

@captn3m0
captn3m0 / indiafoss-lightning-talk.md
Created September 8, 2024 08:35
IndiaFOSS Lightning Talk about blr.today
█████████████████████████████
██ ▄▄▄▄▄ █▀█▀▄  ▀▀▀█ ▄▄▄▄▄ ██
██ █   █ █▀ ▄█▀▀ ▄▀█ █   █ ██
██ █▄▄▄█ █▀█▀▄█▀█▀ █ █▄▄▄█ ██
██▄▄▄▄▄▄▄█▄█▄█▄█ ▀▄█▄▄▄▄▄▄▄██
██▄  ▄ ▀▄▄▄ ▄▀▄▄▄▄▀▄█ █▄█ ███
██▀█▀ ▀ ▄   ▀█▄█▀ ▀▄▀█▄▄█▄ ██
██ █▀ █ ▄█ ▄▀▀█ ▄▄▀ ▄▀▄▀▄ ▄██
██ █ ▀ ▄▄▀█▀██▀█▄▄ █▄  ▄█▄ ██
@captn3m0
captn3m0 / README.md
Created June 24, 2024 06:55
Azul Zulu JDK Source Code Diff
@captn3m0
captn3m0 / hsl-jekyll.rb
Created February 1, 2024 07:04
A HSL to Hex Jekyll Filter
require 'color'
module Jekyll
module HSLToHexFilter
def hsl_to_hex(input)
# Extract HSL components from the input string
hsl_match = input.match(/hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)/)
hue, saturation, lightness = hsl_match.captures.map(&:to_f)
# Create HSL object
@captn3m0
captn3m0 / jekyll-sqlite.rb
Created May 8, 2023 07:23
Jekyll Sqlite Plugin
require 'sqlite3'
module SQLiteGenerator
class Generator < Jekyll::Generator
priority :high
def generate(site)
site.config['sqlite'].each do |name, config|
require 'pp'
SQLite3::Database.new config['file'] do |db|
Jekyll.logger.info "Jekyll SQLite:", "Starting to load #{name}"
@captn3m0
captn3m0 / PKGBUILD.diff
Created May 7, 2023 10:13
openscap-1.3.7 clean install
diff --git a/PKGBUILD b/PKGBUILD
index 2786452..150320b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
# Maintainer: Quey-Liang Kao <[email protected]>
pkgname=openscap
-pkgver=1.3.6
+pkgver=1.3.7
@captn3m0
captn3m0 / 01-README.md
Created November 22, 2022 06:55
AWS Hyderabad

List of missing services on AWS Hyderbad region (at launch) is in missing-services.txt

Announcement text:


Hello Everyone,

We are excited to announce that the AWS Asia Pacific (Hyderabad) Region is now available.

@captn3m0
captn3m0 / _headers
Created November 22, 2022 05:23
endoflife.date sample rendered files
/*
X-Frame-Options: DENY
X-XSS-Protection: 1; mode=block
# Generated using https://www.permissionspolicy.com/
Permissions-Policy: accelerometer=(), ambient-light-sensor=(), autoplay=(), battery=(), camera=(), cross-origin-isolated=(), display-capture=(), document-domain=(), encrypted-media=(), execution-while-not-rendered=(), execution-while-out-of-viewport=(), fullscreen=(), geolocation=(), gyroscope=(), keyboard-map=(), magnetometer=(), microphone=(), midi=(), navigation-override=(), payment=(), picture-in-picture=(), publickey-credentials-get=(), screen-wake-lock=(), sync-xhr=(), usb=(), web-share=(), xr-spatial-tracking=() interest-cohort=()
X-Content-Type-Options: nosniff
Referrer-Policy: strict-origin
Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
/api*
Access-Control-Allow-Origin: *