Skip to content

Instantly share code, notes, and snippets.

@manero6
manero6 / sideload-magisk.md
Created September 21, 2023 13:29
Step-by-step guide on how I install Magisk using adb
@irazasyed
irazasyed / outbound-email-with-cloudflare.md
Last active November 19, 2025 18:28
Using Gmail SMTP with Cloudflare Email Routing: A Step-by-Step Guide

Using Gmail SMTP with Cloudflare Email Routing: Step-by-Step Guide

Learn how to send emails through Gmail SMTP with Cloudflare Email Routing in this comprehensive guide.

Step 1: Enable 2-Factor Authentication

To proceed with this method, ensure that you have enabled two-factor authentication for your Google account. If you haven't done so already, you can follow the link to set it up → Enable 2FA in your Google account.

Step 2: Create an App Password for Mail

@anthonydiiorio
anthonydiiorio / cty.sh
Created March 25, 2022 06:23
Update script for DX Spider Country Files
#!/bin/bash
echo 'Downloading CTY.DAT'
wget -q https://www.country-files.com/cty/cty.dat -P ~/spider/local_data/
echo 'Downloading WPXLOC.RAW'
wget -q https://www.country-files.com/cty/wpxloc.raw -P ~/spider/local_data/
echo 'Creating Prefixes'
~/spider/perl/create_prefix.pl
echo ''
echo 'Log into the cluster as Sysop and type: load/prefix'
read -n 1 -r -s -p $'Press [Enter] to login as Sysop...\n'
@ShyftXero
ShyftXero / .nanorc
Last active July 5, 2025 11:28
A good nanorc file
# Options
set tabsize 4
set tabstospaces
set indicator # side-bar for indicating cur position
set linenumbers
#set numbercolor green,normal
#set suspendable # allow nano be suspended
set smarthome # home jumps to line start first
set zap # delete selected text as a whole
Blok Youtube Web
^.+(youtube).*$|o-o.preferred.pttelkom-|a.youtube.com|b.youtube.com|c.youtube.com|d.youtube.com|e.youtube.com|f.youtube.com| g.youtube.com|h.youtube.com|i.youtube.com|j.youtube.com|l.youtube.com”|googlevideo.com|(facebook.com).*$
Blok Youtube App
^.+(youtube.com|www.youtube.com|m.youtube.com|ytimg.com|s.ytimg.com|ytimg.l.google.com|youtube.l.google.com|i.google.com|googlevideo.com|youtu.be).*$
@jult
jult / sysctl.conf
Last active December 6, 2025 08:11
[Debian 12 update!] sysctl config for linux server with 32 GB DDR RAM or more, SSD and 1Gbe (or faster) NIC
# IPv6 Configuration
# -> note that I have disabled ip6 for our internet-connection (wan/eth0) because
# -> my upstream/ISP (still) does not do IPv6. The rest, even localhost, does ip6 stuff.
net.ipv6.conf.all.disable_ipv6 = 0
net.ipv6.conf.default.disable_ipv6 = 0
net.ipv6.conf.lo.disable_ipv6 = 0
net.ipv6.conf.eth0.disable_ipv6 = 1
net.ipv6.conf.wan.disable_ipv6 = 1
# Packet Forwarding
@tasdikrahman
tasdikrahman / irssi.md
Last active December 1, 2025 20:20
irssi cheatsheet
@jwalanta
jwalanta / OpenWrt detect new device and send text message.md
Last active June 25, 2025 01:12
Detect new network devices connecting to OpenWrt and send text message
@jivoi
jivoi / offsec.md
Last active November 6, 2025 09:02
Penetrating Testing/Assessment Workflow

Penetrating Testing/Assessment Workflow & other fun infosec stuff

https://github.com/jivoi/pentest

My feeble attempt to organize (in a somewhat logical fashion) the vast amount of information, tools, resources, tip and tricks surrounding penetration testing, vulnerability assessment, and information security as a whole*

@SimplGy
SimplGy / renameToHash.sh
Last active July 27, 2023 07:30
Rename files with a hash based on their contents. eg: `abc.jpg` to `3101ace8db9f.jpg`. Useful for detecting duplicates.
#!/bin/bash
# TODO: skip tiny files (so small they couldn't be photos)
# TODO: make sure sym links and other file system oddities are handled
# TODO: look at paralellization for perf boost
#
# Constants
#
CHAR_COUNT=12
BLOCK_COUNT=6