This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install Brave on crostini for dev work that needs edited hosts file on Chromebook | |
curl -s https://brave-browser-apt-release.s3.brave.com/brave-core.asc | sudo apt-key --keyring /etc/apt/trusted.gpg.d/brave-browser-release.gpg add - | |
source /etc/os-release | |
echo "deb [arch=amd64] https://brave-browser-apt-release.s3.brave.com/ `lsb_release -sc` main" | sudo tee /etc/apt/sources.list.d/brave-browser-release-`lsb_release -sc`.list | |
sudo apt update | |
sudo apt install brave-browser brave-keyring |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cat urls.html | grep -Eo "(http|https)://[a-zA-Z0-9./?=_-]*" | sort -u | |
grep -E : is the same as egrep | |
grep -o : only outputs what has been grepped | |
(http|https) : is an either / or | |
a-z : is all lower case | |
A-Z : is all uper case | |
. : is dot | |
/ : is the slash | |
? : is ? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
feat: add http2 component | |
--------------------------- | |
Summary in present tense. | |
--------------------------- | |
Other types: chore, docs, feat, fix, refactor, style, or test. | |
chore: add Dockerfile | |
docs: explain http2 component |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir ~/recondata/verizonmedia/assets/yahoo.com/automated/$1 | |
cd ~/recondata/verizonmedia/assets/yahoo.com/automated/$1 | |
findomain -a -t $1 -o txt | |
crtsh $1 | tee -a ~/recondata/verizonmedia/assets/yahoo.com/automated/$1/crtsh.txt | |
subfinder -d $1 -o ~/recondata/verizonmedia/assets/yahoo.com/automated/$1/subfinder.txt | |
cat ~/recondata/verizonmedia/assets/yahoo.com/automated/$1/*.txt | sort -u >> ~/recondata/verizonmedia/assets/yahoo.com/automated/$1/all.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
versionGo="1.13"; | |
sudo rm -rf /usr/local/go; | |
wget -q -P tmp/ https://dl.google.com/go/go"${versionGo}".linux-amd64.tar.gz; | |
sudo tar -C /usr/local -xzf tmp/go"${versionGo}".linux-amd64.tar.gz; | |
rm -rf tmp/; | |
#~/bashrc | |
# Go Global variables | |
export GOROOT=/usr/local/go |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://stackoverflow.com/a/24659189 | |
Move you branch pointer back to the first commit: | |
git reset --hard HEAD~ | |
Stage the changes from the previous commit: | |
git merge --squash HEAD@{1} | |
Commit your changes, amending them into a single commit. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/.s3cfg | |
/phpunit.xml | |
/nginx.conf | |
/.vimrc | |
/LICENSE.md | |
/yarn.lock | |
/Gulpfile | |
/Gulpfile.js | |
/composer.json | |
/.npmignore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"flags": "-HnriE", | |
"patterns": [ | |
"(xox[p|b|o|a]-[0-9]{12}-[0-9]{12}-[0-9]{12}-[a-z0-9]{32})", | |
"-----BEGIN RSA PRIVATE KEY-----", | |
"-----BEGIN DSA PRIVATE KEY-----", | |
"-----BEGIN EC PRIVATE KEY-----", | |
"-----BEGIN PGP PRIVATE KEY BLOCK-----", | |
"AKIA[0-9A-Z]{16}", | |
"amzn\\.mws\\.[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"settingsVersion": "1.67.4", | |
"exclusionRules": [ | |
{ | |
"pattern": "https?://mail.google.com/*", | |
"passKeys": "hjklmr" | |
}, | |
{ | |
"pattern": "https?://www.inoreader.com/*", | |
"passKeys": "hjklravy?bgm123456" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
return { | |
"ThePrimeagen/harpoon", | |
lazy = false, | |
dependencies = { | |
"nvim-lua/plenary.nvim", | |
}, | |
config = true, | |
keys = { | |
{ "<leader>a", "<cmd>lua require('harpoon.mark').add_file()<cr>", desc = "Mark file with harpoon" }, | |
{ "<C-e>", "<cmd>lua require('harpoon.ui').toggle_quick_menu()<cr>", desc = "Show harpoon marks" }, |