edit traefik.yml
entryPoints:
web:
address: ":80"
websecure:
address: ":443"
dot: # <- ADD THIS
address: ":853" # <- ADD THIS
edit traefik.yml
entryPoints:
web:
address: ":80"
websecure:
address: ":443"
dot: # <- ADD THIS
address: ":853" # <- ADD THIS
I have created an easier, well documented version of this in my blog at https://blog.wyraz.de/linux/deploying-rancher-server-standalone-behind-traefik-with-lets-encrypt-for-both/
When the shared files on Google Drive is downloaded, it is necessary to change the download method by the file size. The boundary of file size when the method is changed is about 40MB.
filename="### filename ###"
fileid="### file ID ###"
curl -L -o ${filename} "https://drive.google.com/uc?export=download&id=${fileid}"
<?php | |
// Import arbitrary config from a variable. | |
// Assumes $data has the data you want to import for this config. | |
$config = \Drupal::service('config.factory')->getEditable('filter.format.basic_html'); | |
$config->setData($data)->save(); | |
// Or, re-import the default config for a module or profile, etc. | |
\Drupal::service('config.installer')->installDefaultConfig('module', 'my_custom_module'); |
// No Security | |
{ | |
"rules": { | |
".read": true, | |
".write": true | |
} | |
} |
"Provincias": [{ | |
"id": "1", | |
"nombre": 'Pinar del Río', | |
"municipios":["Consolación del Sur", "Guane", "La Palma", "Los Palacios", "Mantua", "Minas de Matahambre", "Pinar del Río", "San Juan y Martínez", "San Luis", "Sandino", "Viñales"] | |
}, { | |
"id": "2", | |
"nombre": 'Artemisa', | |
"municipios":[ | |
"Alquízar", "Artemisa", "Bauta", "Caimito", "Guanajay", "Güira de Melena", "Mariel", "San Antonio de los Baños", "Bahía Honda", "San Cristóbal", "Candelaria"] | |
}, { |
<?php | |
namespace Drupal\my_module\Services; | |
use Drupal\Core\Config\ConfigFactory; | |
/** | |
* Class MyService. | |
* | |
* @package Drupal\my_module\Services |
How to disable auto-save: | |
Go to File > Settings (Ctrl+Alt+S). | |
Go to Appearance & Behavior > System Settings. | |
Make sure the two are unchecked: | |
Save files on frame deactivation | |
Save files automatically if application is idle for x sec. | |
Go to Editor > General > Editor Tabs | |
Put a checkmark on "Mark modified files with asterisk" | |
(Optional but recommended) Under "Tab Closing Policy", select "Close non-modified files first". You may also want to increase the number of allowed tabs. | |
Click Apply > OK. |
Language | Vehicle | Reason |
---|---|---|
GoLang | Tesla | The future, but want somebody I know to buy one first |
Haskell | Batmobile | Looks awesome but you'll never figure out how to drive it |
Java | Hummer | Uses way more resources than is strictly necessary |
Perl | Classic Mini | A classic that has influenced many cars, but not practical for 2015 |
PHP | Fiat Multipla | Ugly, nobody wants to be seen driving this |
Ruby | Smart Car | Practical design. Will get you around the city fast, but not great on motorways |
Python | VW Golf | Solid. Reliable. Middle of the road. |