- Python 3
- Pip 3
$ brew install python3
#!/bin/bash | |
# add repository | |
sudo add-apt-repository ppa:ondrej/php | |
# update apt | |
sudo apt update | |
# install php8 | |
sudo apt install php8.0-cli php8.0-bcmath php8.0-common php8.0-curl php8.0-gd php8.0-gmp php8.0-intl php8.0-mbstring php8.0-mysql php8.0-opcache php8.0-pgsql php8.0-readline php8.0-redis php8.0-sqlite3 php8.0-xml php8.0-xsl php8.0-zip -y |
// Add a 401 response interceptor | |
window.axios.interceptors.response.use(function (response) { | |
return response; | |
}, function (error) { | |
if (401 === error.response.status) { | |
swal({ | |
title: "Session Expired", | |
text: "Your session has expired. Would you like to be redirected to the login page?", | |
type: "warning", | |
showCancelButton: true, |
/* | |
Hoje iremos MUDAR a vida da pessoa que não te responde no whatsappp... | |
Que tal enviar mensagens pra ela até obter uma resposta?! | |
Sensacional não acha?! Mas, somos devs, correto?! Então vamos automatizar esse paranauê! | |
Para utilizar: | |
- Abra o web.whatsapp.com; | |
- Selecione a conversa que você quer; | |
- Abra o console e cole o código que está no gist; |
<?php | |
// modified by PROXIMO https://gist.github.com/PROX1MO | |
header("Cache-Control: no-cache, must-revalidate"); | |
header("Expires: Sat, 26 May 1983 13:00:00 GMT"); | |
header("Pragma: no-cache"); | |
function NumberWithCommas($in) | |
{ | |
return number_format($in); | |
} |
<?php | |
header("Cache-Control: no-cache, must-revalidate"); | |
header("Expires: Sat, 26 Jul 1997 05:00:00 GMT"); | |
header("Pragma: no-cache"); | |
function human_filesize($bytes, $decimals = 2) { | |
$sz = 'BKMGTP'; | |
$factor = floor((strlen($bytes) - 1) / 3); | |
return sprintf("%.{$decimals}f", $bytes / pow(1024, $factor)) . @$sz[$factor]; | |
} |
#!/usr/bin/env bash | |
echo 'Começando o provisionamento...' | |
# Atualizando os pacotes | |
apt-get update | |
# Definindo a senha do user root do MySQL (pulando o prompt de instalacao) | |
# User: root / Pwd: root | |
echo mysql-server-5.5 mysql-server/root_password password root | debconf-set-selections |