See also:
Service | Type | Storage | Limitations |
---|---|---|---|
Amazon DynamoDB | 25 GB | ||
Amazon RDS | |||
Azure SQL Database | MS SQL Server | ||
👉 Clever Cloud | PostgreSQL, MySQL, MongoDB, Redis | 256 MB (PostgreSQL) | Max 5 connections (PostgreSQL) |
version: '3' | |
services: | |
database: | |
image: postgres | |
healthcheck: | |
test: | |
[ | |
"CMD", | |
"pg_isready", | |
"-q", |
1) Se tiver o Docker instalado, remova! | |
2) Habilite o WSL no Windows 10 | |
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart | |
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart | |
3) Habilitar o WSL para a versão 2 | |
wsl --set-default-version 2 | |
4) Instalar o Ubuntu na Microsoft Store |
<?php | |
class ErrorReporting | |
{ | |
public static $errorMessage = 'Oops! Something went wrong.'; | |
private static $cwd; | |
private static $debug; | |
/** |
<?php | |
$backup_config = array( | |
'DB_HOST' => '127.0.0.1',////Database hostname | |
'DB_NAME' => 'test_db',//Database name to backup | |
'DB_USERNAME' => 'root',//Database account username | |
'DB_PASSWORD' => '',//Database account password | |
'INCLUDE_DROP_TABLE' => false,//Include DROP TABLE IF EXISTS | |
'SAVE_DIR' => '',//Folder to save file in | |
'SAVE_AS' => 'test_db-',//Prepend filename | |
'APPEND_DATE_FORMAT' => 'Y-m-d-H-i',//Append date to file name |
<?php | |
use PhpImap\Mailbox; | |
require_once 'vendor/autoload.php'; | |
$mailbox = new Mailbox( | |
'{imap.gmail.com:993/imap/ssl}INBOX', | |
'[email protected]', | |
'sua senha aqui', |
import { uid } from './uid.js'; | |
console.log(uid()); | |
//nothing else to import because we are using the built in methods | |
//https://developer.mozilla.org/en-US/docs/Web/API/IDBDatabase | |
const IDB = (function init() { | |
let db = null; | |
let objectStore = null; | |
let DBOpenReq = indexedDB.open('WhiskeyDB', 6); |
See also:
Service | Type | Storage | Limitations |
---|---|---|---|
Amazon DynamoDB | 25 GB | ||
Amazon RDS | |||
Azure SQL Database | MS SQL Server | ||
👉 Clever Cloud | PostgreSQL, MySQL, MongoDB, Redis | 256 MB (PostgreSQL) | Max 5 connections (PostgreSQL) |
TL;DR do what the last section tells you to do
An absolute path is one which includes all path components from the root of the file system. It starts with a leading
/
on unix-like operating systems, or a drive letter on Windows.
Unix: /full/path/to/file.php
Windows C:\full\path\to\file.php