Skip to content

Instantly share code, notes, and snippets.

Leandro Franciscato LeandroFranciscato

Block or report user

Report or block LeandroFranciscato

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
LeandroFranciscato /
Last active Sep 5, 2018
Creating your own iso with Systemback

Creating your own iso with Systemback

Installing Systemback on your system

sudo apt-add-repository ppa:nemh/systemback
sudo apt-get update
sudo apt-get install systemback

After the installing process, open the App and select Live System Create option.

LeandroFranciscato /
Last active Aug 28, 2018
Making a vpn using ssh tunnel

On Server Side

First edit "/etc/ssh/sshd_config"

PermitTunnel yes 
PermitRootLogin = yes

Restart server

LeandroFranciscato / .gitlab-ci-JAVA.yml
Last active Aug 17, 2018
Yml utilizado para Build e Deploy de um Projeto java (jar)
View .gitlab-ci-JAVA.yml
image: JAVA:latest
- /home/leandro/netbeans-8.2/java/maven/bin/mvn clean install
- build_deploy_dev
- build_deploy_production
LeandroFranciscato /
Created Aug 17, 2018
SImple way to generate a ssh key between server and client
# Every action mus happen from client-side command line
ssh-keygen -t rsa
ssh serverUser@serverIP mkdir -p .ssh
cat ~/.ssh/ | ssh serverUser@serverIP 'cat >> .ssh/authorized_keys'
# finally
ssh serverUser@serverIP
LeandroFranciscato /
Last active Aug 15, 2018
A little bash that install Docker in .deb linux. For jessie and above.
echo "Removendo versoes pre-existentes... "
sudo apt-get remove docker docker-engine
sudo apt-get update
sudo apt-get install \
apt-transport-https \
ca-certificates \
LeandroFranciscato /
Created Aug 15, 2018
A little bash that install node in a .deb distro
echo "Instalando Curl..."
sudo apt install -y curl
if ! curl --version
echo "Problemas durante a instalação do Curl..."
exit 1
You can’t perform that action at this time.