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) |
| # Based on this answer: https://stackoverflow.com/a/61859561/1956278 | |
| # Backup old data | |
| Rename-Item -Path "./data" -NewName "./data_old" | |
| # Create new data directory | |
| Copy-Item -Path "./backup" -Destination "./data" -Recurse | |
| Remove-Item "./data/test" -Recurse | |
| $dbPaths = Get-ChildItem -Path "./data_old" -Exclude ('mysql', 'performance_schema', 'phpmyadmin') -Recurse -Directory | |
| Copy-Item -Path $dbPaths.FullName -Destination "./data" -Recurse |
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) |
| <?php // Simple PHP script to lookup for blacklisted IP against multiple DNSBLs at once. ?> | |
| <html> | |
| <head> | |
| <title>DNSBL Lookup Tool - IP Blacklist Check Script</title> | |
| </head> | |
| <body> | |
| <h2>IP Blacklist Check Script</h2> | |
| <form action="<?php echo $_SERVER['PHP_SELF'] ?>" method="post"> | |
| <input type="text" value="" name="ip"/> | |
| <input type="submit" value="LOOKUP"/> |
| var buttons; | |
| buttons = document.getElementsByClassName('_42ft'); | |
| for (var i = 0; i < buttons.length; i++) { | |
| if(buttons[i].getAttribute('ajaxify') != null){ | |
| if(buttons[i].getAttribute('ajaxify').indexOf('invite') != -1){ | |
| buttons[i].click(); | |
| } | |
| } | |
| } |
| <?php | |
| class ResumeDownload { | |
| private $file; | |
| private $name; | |
| private $boundary; | |
| private $delay = 0; | |
| private $size = 0; | |
| function __construct($file, $delay = 0) { | |
| if (! is_file($file)) { |
| <?php | |
| /** | |
| * Description of VideoStream | |
| * | |
| * @author Rana | |
| * @link http://codesamplez.com/programming/php-html5-video-streaming-tutorial | |
| */ | |
| class VideoStream | |
| { | |
| private $path = ""; |
| /*================================================== | |
| = Bootstrap 3 Media Queries = | |
| ==================================================*/ | |
| /*========== Mobile First Method ==========*/ | |
| /* Custom, iPhone Retina */ | |
| @media only screen and (min-width : 320px) { | |
| } |
| #! /bin/sh | |
| # Usage 1: | |
| # optimize-images.sh /images/dir | |
| # | |
| # Usage 2: | |
| # cd /images/dir | |
| # optimize-images.sh | |
| EXTENSIONS="jpe?g" |
| UPDATE `wp_postmeta` | |
| SET meta_value='taxable' | |
| WHERE meta_key='_tax_status' |
| <html> | |
| <head> | |
| <title>Google Maps Multiple Markers</title> | |
| <script src="http://maps.google.com/maps/api/js?sensor=false" type="text/javascript"></script> | |
| </head> | |
| <body> | |
| <div id="map" style="height: 400px; width: 500px;"> | |
| </div> | |
| <script type="text/javascript"> |