Skip to content

Instantly share code, notes, and snippets.

View codedsprit's full-sized avatar
❄️
howdy?

Roshan Tiwaree codedsprit

❄️
howdy?
View GitHub Profile
@codedsprit
codedsprit / curl-website-speed-test-with-no-cache.sh
Created March 23, 2025 19:16
Test the website speed with CURL request though command line.
curl -s -o /dev/null -w "%{time_total}\n" -H "Pragma: no-cache" https://gnu.org
@codedsprit
codedsprit / bypass-ip-restriction.txt
Created May 8, 2024 08:36
Bypass ip address restriction through spoofed localhost header
Private Networks
10.0.0.0/8
172.16.0.0/12
192.168.0.0/16
------------------------------
The localhost can be changed using private networks ...
X-Azure-ClientIP: 127.0.0.1
X-Azure-SocketIP: 127.0.0.1
@codedsprit
codedsprit / doas.conf
Created April 23, 2023 13:52
sudo is bloated I use doas btw
permit persist :wheel
permit nopass :audio as root cmd reboot
permit nopass :audio as root cmd poweroff
permit nopass :audio as root cmd zzz
@codedsprit
codedsprit / .zshrc
Created January 20, 2023 04:23
codedsprit's .zshrc
# _
# _______| |__ _ __ ___
# |_ / __| '_ \| '__/ __|
# _ / /\__ \ | | | | | (__
# (_)___|___/_| |_|_| \___|
# Enable colors and change prompt:
autoload -U colors && colors # Load colors
#PS1="%B%{$fg[red]%}[%{$fg[yellow]%}%n%{$fg[green]%}@%{$fg[blue]%}%M %{$fg[magenta]%}%~%{$fg[red]%}]%{$reset_color%}$%b
"