Deleting Remote branch/tag on git
· Leitura de um minuto
git push origin :branchName
git push origin :branchName
Syntax: docker run
Ex.: docker run -it jboss/wildfly
Where.: * -i = interactive mode * -t = pseudo tty redirected to current tty
docker ps
docker ps -a
docker exec -ti --user user_id bash
Ex.:
docker exec -ti --user root 43c bash
Just include the following arguments to JAVA_OPTS or command line:
-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=4060
Where 4060 is the port number you will use to debug.
Example of use:
[user@localhost ~]$ $JBOSS_HOME/bin/standalone.bat -Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=4060
netstat -na | grep 'ESTA' | wc -l
#or
netstat -an | grep :80 | grep -i EST | wc -l
netstat -nat | grep TIME_WAIT | wc -l
ps -aux | grep httpd | wc -l
netstat -plan|grep :80|awk {'print $5'}|cut -d: -f 1|sort|uniq -c|sort -nk 1
Preparing our environment
sudo -s
dnf -y install @development-tools
dnf -y install binutils rpm-build fedora-packager chrpath
Download installer
wget -c https://raw.githubusercontent.com/kuboosoft/spec-testing/master/SRPM/genymotion-rpm
chmod a+x genymotion-rpm
./genymotion-rpm
Installing
sudo -s
dnf install $HOME/rpmbuild/RPMS/$(uname -m)/genymotion*.rpm
Enabling libgcrypt11
sudo dnf copr enable red/libgcrypt.so.11
sudo dnf install compat-libgcrypt
sudo dnf upgrade qt5-* -y
#PULLING SUBMODULES
git submodule sync --recursive && git submodule update --init --recursive
Use the split command, like following:
split --bytes=5m catalina.out catalina.out. -d
In this example, the catalina.out file wil be split in small pieces of 5mb