wmic process where name='nginx.exe' delete
cat ~/.zshrc | grep -n suggesion
It prints lines of suggestion
gedit /home/<username>/.zshrc
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
Create the following folders: | |
GolandProjects -> src -> github.com -> username -> repo | |
pkg | |
bin | |
Set the following path: | |
GOROOT -> Main Go language path (eg:- c:\Go) | |
GOPATH -> Custom path (eg:- C:\Users\{username}\GolandProjects) |
service mysql start
mysql -u root -p
USE mysql;
UPDATE mysql.user SET authentication_string=password('meherett') WHERE User='root' and Host='localhost';
UPDATE user SET plugin="mysql_native_password";
FLUSH PRIVILEGES;
quit;
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
apt-get install ntpdate | |
ntpdate in.pool.ntp.org |
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
git filter-branch --env-filter ' | |
OLD_EMAIL="meherett-old@zoho.com" | |
CORRECT_NAME="meherett" | |
CORRECT_EMAIL="meherett@zoho.com" | |
if [ "$GIT_COMMITTER_EMAIL" = "$OLD_EMAIL" ] | |
then | |
export GIT_COMMITTER_NAME="$CORRECT_NAME" | |
export GIT_COMMITTER_EMAIL="$CORRECT_EMAIL" | |
fi | |
if [ "$GIT_AUTHOR_EMAIL" = "$OLD_EMAIL" ] |
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
# It is FIX everything [meherett] | |
deb http://kali.mirror.garr.it/mirrors/kali kali-rolling main non-free contrib | |
deb-src http://kali.mirror.garr.it/mirrors/kali kali-rolling main non-free contrib |
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
#!/bin/bash | |
sudo apt-get install git python-pip make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev curl | |
sudo pip install virtualenvwrapper | |
git clone https://github.com/yyuu/pyenv.git ~/.pyenv | |
git clone https://github.com/yyuu/pyenv-virtualenvwrapper.git ~/.pyenv/plugins/pyenv-virtualenvwrapper | |
echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.bashrc | |
echo 'export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bashrc |