I hereby claim:
- I am pritdeveloper on github.
- I am pritpalsingh (https://keybase.io/pritpalsingh) on keybase.
- I have a public key ASAXhwhYQKatDtyzMgjOAKZQWGa1Z46CpQpFqevgHhwVoAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
# Prompt for MySQL credentials | |
read -p "Enter MySQL username: " MYSQL_USER | |
read -sp "Enter MySQL password: " MYSQL_PASS | |
echo | |
read -p "Enter MySQL database name: " DB_NAME | |
read -p "Enter old domain (e.g., old.example.com): " OLD_DOMAIN | |
read -p "Enter new domain (e.g., new.example.com): " NEW_DOMAIN |
<VirtualHost *:80> | |
ServerName local | |
DocumentRoot /var/www/vhosts/ | |
# Only log error and not warnings or other notices | |
# change to info to log everything | |
LogLevel error | |
ErrorLog ${APACHE_LOG_DIR}/error.log | |
CustomLog ${APACHE_LOG_DIR}/access.log combined |
# common | |
alias ls='ls --color=auto -F' | |
alias grep='grep --color=auto' | |
alias fgrep='fgrep --color=auto' | |
alias egrep='egrep --color=auto' | |
alias ll='ls -alF' | |
alias la='ls -A' | |
alias l='ls -CF' | |
alias less="less -R " | |
alias ..="cd ../" |
<VirtualHost *:80> | |
DocumentRoot /projects/project | |
LogLevel info | |
ErrorLog ${APACHE_LOG_DIR}/error.log | |
CustomLog ${APACHE_LOG_DIR}/access.log combined | |
<Directory /projects> | |
Options Indexes FollowSymLinks |
# common | |
alias ls='ls --color=auto -F' | |
alias grep='grep --color=auto' | |
alias fgrep='fgrep --color=auto' | |
alias egrep='egrep --color=auto' | |
alias ll='ls -alF' | |
alias la='ls -A' | |
alias l='ls -CF' | |
alias less="less -R " | |
alias ..="cd ../" |
git config --global user.name "Pritpal Singh"
git config --global user.email "[email protected]"
git config --global core.excludesfile "~/.gitignore"
git config --global color.ui true
git config --global push.default current
# git | |
git config --global user.name "Pritpal Singh" | |
git config --global user.email "[email protected]" | |
git config --global core.editor vi | |
git config --global core.whitespace off | |
git config --global core.excludesfile "~/.gitignore" | |
git config --global advice.statusuoption false | |
git config --global color.ui true | |
git config --global push.default current |