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
# Install x-related to compile x11vnc from source code. | |
sudo apt-get update | |
sudo apt-get install -y libxtst-dev libssl-dev libjpeg-dev | |
# Grep source code. | |
wget http://x11vnc.sourceforge.net/dev/x11vnc-0.9.14-dev.tar.gz | |
gzip -dc x11vnc-0.9.14-dev.tar.gz | tar -xvf - | |
cd x11vnc-0.9.14/ | |
./configure --prefix=/usr/local CFLAGS='-g -O2 -fno-stack-protector -Wall' |
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
curl -sL https://raw.githubusercontent.com/eclipse/che/master/che.sh > /usr/local/bin/che | |
chmod +x /usr/local/bin/che |
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
import java.security.MessageDigest; | |
import java.util.Arrays; | |
import javax.crypto.Cipher; | |
import javax.crypto.SecretKey; | |
import javax.crypto.spec.SecretKeySpec; | |
import org.apache.commons.codec.binary.Base64; | |
/** | |
* Simple TripleDES Encrypt/Decrypt Test |