git clone git://github.com/fd57d8aa59b1574ee7728edf128814d3.git docker-drupal-fpm
cd docker-drupal-fpm
mkdir -p /usr/local/share/dockervolumes/drupal # if you change this folder please update the run.sh
chmod +x run.sh && ./run.sh up
| """ | |
| Example program for basic asyncio pipeline. | |
| Program takes string as input and converts it to upper case. | |
| For sake of simplicity missing some "features", most notably error handling is absent. | |
| Errors will silenty prevent program completion in many cases. | |
| """ | |
| import asyncio | |
| from dataclasses import dataclass |
| import pandas as pd | |
| from sqlalchemy import create_engine | |
| # follows django database settings format, replace with your own settings | |
| DATABASES = { | |
| 'production':{ | |
| 'NAME': 'dbname', | |
| 'USER': 'user', | |
| 'PASSWORD': 'pass', | |
| 'HOST': 'rdsname.clqksfdibzsj.us-east-1.rds.amazonaws.com', |
| /* variable(s) */ | |
| expireAfter1d = new Date(); | |
| expireAfter1d.setDate(expireAfter1d.getDate() + 1); | |
| /* fonctions */ | |
| function getCookie(cname) { | |
| var name = cname + "="; | |
| var ca = document.cookie.split(';'); | |
| for(var i=0; i<ca.length; i++) { | |
| var c = ca[i].trim(); |
| <!doctype html> | |
| <title>Site Maintenance</title> | |
| <style> | |
| body { text-align: center; padding: 150px; } | |
| h1 { font-size: 50px; } | |
| body { font: 20px Helvetica, sans-serif; color: #333; } | |
| article { display: block; text-align: left; width: 650px; margin: 0 auto; } | |
| a { color: #dc8100; text-decoration: none; } | |
| a:hover { color: #333; text-decoration: none; } | |
| </style> |