sudo yum -y install epel-release
sudo yum -y update
Download repository
version: "3" | |
services: | |
postgres-db: | |
image: postgres | |
restart: always | |
ports: | |
- 5432:5432 | |
environment: | |
POSTGRES_PASSWORD: postgres |
NOTE: The service level and consistency feature is one of the most changed areas of the mymysqlnd_ms fork. Functionalities like server side read consistency and server side write consistency allow transparent migration to MySQL asyncronous clusters in almost all use cases with no or at most extremely small effort and application changes.
Different types of MySQL cluster solutions offer different service and data consistency levels to their users. Any asynchronous MySQL replication cluster offers eventual consistency by default. A read executed on an asynchronous slave may return current, stale or no data at all, depending
#!/usr/bin/python | |
import os | |
import subprocess | |
import time | |
import yaml | |
import re | |
user_name = os.environ.get("DOCKERHUB_USER") |
min_discount_order_amount = Money.new(cents:100) * 50 | |
total = Input.cart.subtotal_price_was | |
discount = if total > min_discount_order_amount | |
1 | |
else | |
0 | |
end | |
message = "Free shipping if order is over $50" | |
Input.shipping_rates.each do |shipping_rate| |
By default the memory limit in Node.js is 512MB.
This will cause FATAL ERROR- JS Allocation failed – process out of memory when processing large data files.
It can be avoided by increasing the memory limit.
See Command-line options for more details.
node --max-old-space-size=1024 server.js # increase to 1gb
$destination_path = 'C:\Users\dilli\Downloads\media_dump' | |
$connection_string = '[AZURE_STORAGE_CONNECTION_STRING]' | |
$storage_account = New-AzureStorageContext -ConnectionString $connection_string | |
$containers = Get-AzureStorageContainer -Context $storage_account | |
Write-Host 'Starting Storage Dump...' | |
foreach ($container in $containers) |