sudo apt-get install nmap iptraf tcpdump dstat ngrep mtr nc lftp irssi iotop
sudo apt-get install git-core tmux mc htop vim zsh lsof
#!/bin/sh | |
while : ; | |
do /path/app; | |
sleep 30; | |
done |
// Author: @patriciogv ( patricio.io ) | |
#include <stdio.h> // standard input / output functions | |
#include <iostream> | |
#include <sstream> | |
#include <stdlib.h> | |
#include <string.h> // string function definitions | |
#include <unistd.h> // UNIX standard function definitions | |
#include <fcntl.h> // File control definitions | |
#include <errno.h> // Error number definitions |
First :
git submodule add ...
Then:
git clone ...
git pull && git submodule init && git submodule update && git submodule status
git submodule foreach git checkout master
<?php
{
$output = shell_exec("cd /var/www/html/; git pull origin master;");
echo "<pre>$output</pre>";
}
die("done " . mktime());
?>