Skip to content

Instantly share code, notes, and snippets.

View dev-SR's full-sized avatar
🏠
Working from home

Sharukh Rahman Soikat dev-SR

🏠
Working from home
View GitHub Profile
@dev-SR
dev-SR / GoogleDorking.md
Created October 20, 2021 07:07 — forked from sundowndev/GoogleDorking.md
Google dork cheatsheet

Google dork cheatsheet

Search filters

Filter Description Example
allintext Searches for occurrences of all the keywords given. allintext:"keyword"
intext Searches for the occurrences of keywords all at once or one at a time. intext:"keyword"
inurl Searches for a URL matching one of the keywords. inurl:"keyword"
allinurl Searches for a URL matching all the keywords in the query. allinurl:"keyword"
intitle Searches for occurrences of keywords in title all or one. intitle:"keyword"
@dev-SR
dev-SR / postgresql-list-foreign-keys.sql
Created September 3, 2021 18:42 — forked from velosipedist/postgresql-list-foreign-keys.sql
List all foreign keys in PostgreSQL database, analog of MySQL SHOW CREATE TABLE mytable;
--- Source: http://solaimurugan.blogspot.ru/2010/10/list-out-all-forien-key-constraints.html
SELECT
tc.constraint_name,
tc.constraint_type,
tc.table_name,
kcu.column_name,
tc.is_deferrable,
tc.initially_deferred,
rc.match_option AS match_type,
@dev-SR
dev-SR / ANSI-color-codes.h
Last active May 29, 2021 15:18 — forked from RabaDabaDoba/ANSI-color-codes.h
The entire table of ANSI color codes working in C!
/*
* This is free and unencumbered software released into the public domain.
*
* For more information, please refer to <https://unlicense.org>
*/
//Regular text
#define BLK "\e[0;30m" //Black
#define RED "\e[0;31m" //Red
#define GRN "\e[0;32m" //Green
@dev-SR
dev-SR / git-config
Last active May 20, 2024 07:29 — forked from pksunkara/config
Sample of git config file (Example .gitconfig) (Place them in $XDG_CONFIG_HOME/git)
# set VScode as editor:
# git config --global core.editor "code --wait"
# open in VScode:
# git config --global -e
# alias `!git`
# If the alias expansion is prefixed with an exclamation point(`!`), it will be treated as a shell command.
[user]
email = hello..@gmail.com
name = Soikat Rahman
# username = dev-SR