ssh-keygen
- Specify a new pass if you already have another ssh
ssh-agent -s
ssh-agent ssh-add .ssh/backup/id_rsa
#!/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 | |
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 |
#!/bin/bash | |
mkdir -p "$(dirname "$1")" && touch "$1" |
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 |
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 |
#!/bin/bash | |
setxkbmap -layout us,ir | |
setxkbmap -option 'grp:alt_shift_toggle' |
# Upgrade and update | |
sudo pacman -Syu --noconfirm | |
# Install Git and config it | |
sudo pacman -S git | |
git config --global init.defaultBranch main | |
git config --global user.name "Kasir Barati" | |
git config --global user.email "[email protected]" |
#!/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 |