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
.ir { | |
border:0; | |
font: 0/0 a; | |
text-shadow: none; | |
color: transparent; | |
background-color: transparent; |
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
nohup sh tools/runme.sh > out.txt 2>&1 & |
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
//filter by port | |
netstat -anltp | grep "LISTEN" 8080 | |
//with process name | |
netstat -tulpn |
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
<!--writen in markdown syntax--> | |
#'gitflow' flow# | |
##Links## | |
* [HOME](https://github.com/nvie/gitflow) | |
* [Command-Line-Arguments](https://github.com/nvie/gitflow/wiki/Command-Line-Arguments) | |
* [A successful Git branching model](http://nvie.com/posts/a-successful-git-branching-model/) | |
##Init new or convert existing## |
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
export PATH=$PATH:/path/to/my/program |
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
/etc/sudoers file at the bottom: | |
myusername ALL=(ALL) NOPASSWD: ALL |
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/sh | |
SERVICE='EldesDaemon' | |
FILE='/usr/local/sbin/eldes/EldesDaemon.pid' | |
if ps ax | grep -v grep | grep $SERVICE > /dev/null | |
then | |
#PIDID=$(ps ax | grep -v grep | grep $SERVICE | awk '{print $1}') | |
#echo "$SERVICE service running, everything is fine" | |
#echo "pid = $PIDID" | |
#echo $PIDID > $FILE | |
if [ -f $FILE ]; |
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 socat TCP-LISTEN:8088,fork TCP:127.0.0.1:80 |
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
ssh-copy-id -i ~/.ssh/id_rsa.pub remote-host |
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 file 'config' in '~/.ssh': | |
IdentityFile ~/.ssh/identity | |
IdentityFile ~/.ssh/id_rsa | |
IdentityFile ~/.ssh/gitid |
OlderNewer