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
<<< log_count = 692 >>> | |
[02-04 11:02:53.531 24494:24494 I/DetoxDroid] | |
package=com.dp.logcatapp, class=com.dp.logcatapp.activities.MainActivity, event=32 | |
[02-04 11:02:53.531 24494:24494 I/DetoxDroid] | |
skip... | |
[02-04 11:02:53.562 22988:29941 D/OpenGLRenderer] | |
endAllActiveAnimators on 0x7239d84f10 (MenuPopupWindow$MenuDropDownListView) with handle 0x7159bdb9a0 |
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 | |
# 0. Update the system | |
sudo apt update | |
sudo apt upgrade -y | |
# 1. Install ansible's python requirements | |
sudo apt-get install -y python-pip # to install ansible requirements | |
sudo -H pip install setuptools | |
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
###Prompt color and configuration | |
export PS1="\[$(tput bold)\]\[\033[38;5;35m\]▶ [\[\033[38;5;197m\]\W\[$(tput sgr0)\]\[$(tput bold)\]\[\033[38;5;35m\]]\[$(tput sgr0)\] " | |
export LS_OPTIONS='--color=auto' | |
eval $(dircolors -b $HOME/.dircolors) | |
########################## | |
# Aliases # | |
########################## | |
### Makes ls colorful=) | |
alias ls='ls $LS_OPTIONS' |
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
sudo service mongod stop | |
sudo mongod |
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
Use this code to kill current port process | |
sudo lsof -i :8080 | |
sudo kill -9 PID | |
Or in my case: | |
killall -9 node |