I hereby claim:
- I am tonybolzan on github.
- I am bolzan (https://keybase.io/bolzan) on keybase.
- I have a public key ASC3njfZF9CETnYJCZaQK5mhXmIUyEQIt7d5GexkoCpggAo
To claim this, I am signing this object:
#!/bin/bash | |
set -euo pipefail | |
# NewRelic Installer for x64 glibc linux system without PHP ZTS | |
# Tested on debian:buster-slim | |
INSTALL_DIR=$(mktemp -d -t) | |
PHP_VER=$(php -r 'echo PHP_MAJOR_VERSION . "." . PHP_MINOR_VERSION;') | |
PHP_DIR=$(php -r 'echo ini_get("extension_dir");') | |
PHP_API=${PHP_DIR##*/} |
# Processo para liberar o login no Ubuntu 18.04 usando somente o Yubikey (1FA) | |
# Este processo não é o mais seguro, mas é um bom equilibrio entre praticidade e segurança. | |
# Insira o yubikey | |
# Abra um terminal com o usuário que deseja liberar o acesso | |
# Instale as dependências | |
sudo apt-get install libpam-u2f | |
# Crie o arquivo de autenticação | |
mkdir -p ~/.config/Yubico |
#!/bin/bash | |
# | |
# Ubuntu 20.04 + GPG | Git, SSH, Yubikey 5 | |
# | |
# https://github.com/dainnilsson/scripts/blob/master/base-install/git.sh | |
# https://github.com/dainnilsson/scripts/blob/master/base-install/gpg.sh | |
# https://riseup.net/en/security/message-security/openpgp/best-practices | |
# https://www.forgesi.net/gpg-smartcard/ | |
############################################################ |
I hereby claim:
To claim this, I am signing this object:
#!/bin/bash | |
openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/nginx/ssl/nginx.key -out /etc/nginx/ssl/nginx.crt -subj "/CN=localhost" |
<div id="container" style="min-width: 310px; height: 400px; margin: 0 auto"></div> | |
<script src="https://code.jquery.com/jquery-1.11.1.min.js"></script> | |
<script src="http://code.highcharts.com/highcharts.js"></script> | |
<script src="http://code.highcharts.com/modules/exporting.js"></script> | |
<script> | |
$(function() { | |
$('#container').highcharts({ | |
chart: { | |
type: 'spline' |
#!/bin/bash | |
# MySQL Dump All | |
# | |
# Backup (mysqldump) all your MySQL databases in separate files | |
# | |
# Author Tonin R. Bolzan <tonin@bolzan.io> | |
# License http://www.opensource.org/licenses/mit-license.php MIT License | |
# https://gist.github.com/tonybolzan |
#!/bin/bash | |
# Google Drive Uploader | |
# | |
# This script enable to send files to a specific folder in your Google Drive Account | |
# You can easily back up your data on Google Drive | |
# | |
# Author Tonin R. Bolzan <tonin@bolzan.io> | |
# License http://www.opensource.org/licenses/mit-license.php MIT License | |
# https://gist.github.com/tonybolzan |
#!/bin/bash | |
# Media Server | |
# Script para instalar um Media Server completo, Incluindo: plex, owncloud, transmission, bittorrent sync | |
# | |
# http://doc.owncloud.org/server/5.0/admin_manual/installation/installation_others.html#nginx-configuration | |
# http://btsync.s3-website-us-east-1.amazonaws.com/BitTorrentSyncUserGuide.pdf | |
# | |
# ownCloud http://localhost | |
# Plex http://localhost/plex |
<?php | |
$n_pass = 200000; | |
$n_iter = 2; | |
function generate() { | |
return uniqid(rand(), TRUE); | |
} | |
$total_time_ini = microtime(true); |