Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block jonatasrenan

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
jonatasrenan / instalar_vnc.ps1
Created Apr 23, 2018
Unattended installation of Ultra VNC on Windows Powershell 2+ / Chocolatey
View instalar_vnc.ps1
# Autor: Jônatas Renan (
# Versão: 27/nov/2017
# Licença: GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007
$url = ""
$ip_preffix = "150.164"
"Elevando Permissoes."
$currentUser = New-Object Security.Principal.WindowsPrincipal $([Security.Principal.WindowsIdentity]::GetCurrent())
if (-not $currentUser.IsInRole([Security.Principal.WindowsBuiltinRole]::Administrator)) {
jonatasrenan / gist:982982def2d5e962d15807f0dcce16d0
Created Apr 2, 2018
add user pure-ftpd with specific uid and gid
View gist:982982def2d5e962d15807f0dcce16d0
pure-pw useradd site -f /etc/pure-ftpd/passwd/pureftpd.passwd -m -u 33 -g 33 -d /home/ftpusers/site
jonatasrenan /
Created Jan 12, 2018
Send mailx from docker
docker run -i --rm corentinaltepe/heirloom-mailx sh -c 'echo "Backup executado com sucesso" | mailx -s "Backup `date +%Y-%m-%d`" -S smtp=smtp:// -S smtp-auth=login -S smtp-auth-user=login -S smtp-auth-password=pass -S from="Sender <>"'
sudo dnf install$(rpm -E %fedora).noarch.rpm$(rpm -E %fedora).noarch.rpm
View gist:8c1b4936d2115a56bedaab1a9dd21238
rev=$(host $1 | rev | cut -d' ' -f1 | cut -d'.' -f2- | rev)
echo $1 $rev
jonatasrenan / Manual REST 2Way Brasil
Last active Apr 18, 2017
Manual REST 2Way Brasil
View Manual REST 2Way Brasil
Manual REST 2Way Brasil
Este é o **Manual REST 2Way Brasil**.
Produzido por :
> Jônatas Alves
(31) 9947-68229.
Última atualização 18/Abril/2017.
#!/bin/bash -e
echo "============================================"
echo "Script de Instalação Wordpress - Major labs"
echo "============================================"
echo "É necessário criar uma nova base de dados MySQL? (s/n)"
read -e setupmysql
if [ "$setupmysql" == s ] ; then
echo "MySQL Admin User: "
read -e mysqluser
You can’t perform that action at this time.