ssh-keygen
- Specify a new pass if you already have another ssh
ssh-agent -s
ssh-agent ssh-add .ssh/backup/id_rsa
{ | |
"arrowParens": "always", | |
"useTabs": false, | |
"bracketSpacing": true, | |
"endOfLine": "lf", | |
"printWidth": 70, | |
"quoteProps": "consistent", | |
"tabWidth": 4, | |
"trailingComma": "all", | |
"semi": true, |
Docker* | |
**/*.tsbuildinfo | |
.DS_STORE | |
# Angular app specific | |
.angular | |
/dist/ | |
/build/ |
#!/bin/bash | |
isPackageManagerSpecified="false"; | |
for ((i=1; i<=$#; i++)) | |
do | |
nextArgumentIndex=$((i+1)); | |
if [[ "${!i}" == "--package-manager" ]] && [[ "${!nextArgumentIndex}" == "pnpm" ]]; | |
then | |
isPackageManagerSpecified="true"; | |
fi |
#!/bin/bash | |
isPackageManagerSpecified="false"; | |
for ((i=1; i<=$#; i++)) | |
do | |
nextArgumentIndex=$((i+1)); | |
if [[ "${!i}" == "--package-manager" ]] && [[ "${!nextArgumentIndex}" == "pnpm" ]]; | |
then | |
isPackageManagerSpecified="true"; | |
fi |
#!/bin/bash | |
pnpx create-react-app "$@" | |
cd "$1" | |
rm -rf node_modules package-lock.json | |
pnpm i | |
# Add prettier and its script | |
pnpm add -D prettier |
#!/bin/bash | |
pnpm create next-app "$@" | |
cd "$1" | |
pnpm i | |
# Add prettier and its script | |
pnpm add -D prettier | |
wget https://gist.githubusercontent.com/kasir-barati/2bcdeea964f88712eca171adb3fbd979/raw/.prettierrc |
git config --global init.defaultBranch main | |
sudo wget https://gist.githubusercontent.com/kasir-barati/5590e1420aedc2dc321571b4b9df7d33/raw/my-create-angular-app -O /usr/local/bin/my-create-angular-app | |
sudo chmod +x /usr/local/bin/my-create-angular-app | |
sudo wget https://gist.githubusercontent.com/kasir-barati/fb8263d5f546de1503847928ad4c6025/raw/my-create-react-app -O /usr/local/bin/my-create-react-app | |
sudo chmod +x /usr/local/bin/my-create-react-app | |
wget https://gist.githubusercontent.com/kasir-barati/bf022bc96f51ed351c8fc3667eb247b3/raw/my-touch -O /usr/local/bin/my-touch | |
sudo chmod +x /usr/local/bin/my-touch |
#!/bin/bash | |
mkdir -p "$(dirname "$1")" && touch "$1" |
ssh-keygen
ssh-agent -s
ssh-agent ssh-add .ssh/backup/id_rsa
GNU GENERAL PUBLIC LICENSE | |
Version 3, 29 June 2007 | |
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/> | |
Everyone is permitted to copy and distribute verbatim copies | |
of this license document, but changing it is not allowed. | |
Preamble | |
The GNU General Public License is a free, copyleft license for |