View all failed login attempts
cat /var/log/secure | grep 'sshd.*Invalid'
View all successful logins
Os comandos abaixo foram utilizados no Ubuntu. Todas informações abaixo foram retiradas do site oficial do WordPress https://wordpress.org/plugins/about/svn/
Puxe as atualizações do repositório remoto
svn up
Adicione ou altere os arquivos dentro do diretório trunk
| du -h --max-depth=1 | sort -hr |
| NODE_ENV=production SERVER_NAME=http://domain.com HOST=127.0.0.1 PORT=3000 forever start bin/strider |
| sudo kill `sudo lsof -t -i:9001` |
| # Atalhos gerais | |
| alias nge='sudo nginx -c /etc/nginx/nginx.conf -t' | |
| alias ngr='sudo service nginx restart' | |
| # Atalhos para GIT | |
| alias gs='git status' | |
| alias ga='git add .' | |
| alias gpo='git push origin master' | |
| alias gpoo='git push upstream master' | |
| alias gpw='git push web master' |
| # ================================ | |
| # Atualiza sistema | |
| # ================================ | |
| sudo apt-get install git -y | |
| # ================================ | |
| # Pyenv | |
| # ================================ | |
| git clone https://github.com/yyuu/pyenv.git ~/.pyenv |
| :%s/foo/bar/g |
| bash -c 'source /etc/profile.d/rvm.sh && cd /folder && ruby script.rb' |