MySQL Download URL
https://dev.mysql.com/get/Downloads/MySQL-5.5/mysql-5.5.56-linux-glibc2.5-x86_64.tar.gz
- Uninstall any existing version of MySQL
sudo rm /var/lib/mysql/ -R
| (function () { | |
| WebSocket.prototype._send = WebSocket.prototype.send; | |
| WebSocket.prototype.send = function (data) { | |
| this._send(data); | |
| this.addEventListener('message', function (msg) { | |
| console.log('>> ' + msg.data); | |
| }, false); | |
| this.send = function (data) { | |
| this._send(data); | |
| console.log("<< " + data); |
| """ | |
| Simples validador de 'esquemas' usando dict/jsondumps. | |
| Diego de Ávila Rodrigues <diego@skillsoft.com.br> | |
| 08/12/2018 15:10 | |
| """ | |
| class SchemaField: | |
| def __init__(self, type, min_length=None, max_length=None, null=False): |
| <!doctype html> | |
| <html lang="en"> | |
| <head> | |
| <!-- Required meta tags --> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |
| <!-- Bootstrap CSS --> | |
| <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous"> | |
| <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.1/css/all.css" integrity="sha384-50oBUHEmvpQ+1lW4y57PTFmhCaXp0ML5d60M1M7uH2+nqUivzIebhndOJK28anvf" crossorigin="anonymous"> |
| /* | |
| links utilizados para o desenvolvimento: | |
| http://www.independent-software.com/determining-coordinates-on-a-html-canvas-bezier-curve.html | |
| https://repositorio.ufsc.br/bitstream/handle/123456789/96536/Roberto_Simoni.pdf?sequence=1 | |
| use o html abaixo para testar | |
| <head> | |
| <meta charset="UTF-8"> |
| [{ | |
| "model":"HUAWEI G700-U00", | |
| "phone_type":"smartphone", | |
| "brand":"Huawei", | |
| "device":"hwG700-U00", | |
| "product":"G700-U00", | |
| "sdk":"17", | |
| "device_type":"user", | |
| "device_id":"HuaweiG700-U00", | |
| "android_id":"9e718a8c7290ebbe", |
| <?php | |
| class Worker extends Thread { | |
| private $function; # funcao a ser executada. | |
| private $args; # argumentos da funcao. | |
| private $result; # armazenada resultado da funcao chamada em background. | |
| private $stated; # se o processamento foi iniciado. | |
| private $stated_at; # unix timestamp de inicio de processamento; |
| 237=BANCO BRADESCO S.A. | |
| 745=BANCO CITIBANK S.A. | |
| 756=BANCO COOPERATIVO DO BRASIL S.A. | |
| 748=BANCO COOPERATIVO SICREDI S.A. | |
| 041=BANCO DO ESTADO DO RIO GRANDE DO SUL S.A. | |
| 033=BANCO SANTANDER (BRASIL) S.A. | |
| 104=CAIXA ECONOMICA FEDERAL | |
| 341=ITAU UNIBANCO S.A. | |
| 399=KIRTON BANK S.A. - BANCO MULTIPLO | |
| 992=ABBI |
Deploy key is a SSH key set in your repo to grant client read-only (as well as r/w, if you want) access to your repo.
As the name says, its primary function is to be used in the deploy process in replace of username/password, where only read access is needed. Therefore keep the repo safe from the attack, in case the server side is fallen.
| #!/usr/bin/env bash | |
| export PROJECT_ID=$(gcloud config get-value project) | |
| export PROJECT_USER=$(gcloud config get-value core/account) # set current user | |
| export PROJECT_NUMBER=$(gcloud projects describe $PROJECT_ID --format="value(projectNumber)") | |
| export IDNS=${PROJECT_ID}.svc.id.goog # workflow identity domain | |
| export GCP_REGION="us-east1" # CHANGEME (OPT) | |
| export GCP_ZONE="us-east1-c" # CHANGEME (OPT) | |
| export NETWORK_NAME="default" |