CRON_ENV=/var/www/env.sh
printenv | sed 's/^\(.*\)$/export \1/g' > ${CRON_ENV}
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0xAd9b1FEFC98Ee16934DB03297B351FeF2ddb3866 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const {Builder, By, Capabilities} = require('selenium-webdriver'); | |
let chromeCapabilities = Capabilities.chrome(); | |
let chromeOptions = { | |
'args': ['--test-type', '--headles', '--incognito', '--window-size=340,750'] // approx. size of an iPhone 5/SE | |
}; | |
// "chromeOptions" was changed to "goog:chromeOptions" at some point... | |
chromeCapabilities.set('goog:chromeOptions', chromeOptions); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Ansi 0 Color</key> | |
<dict> | |
<key>Alpha Component</key> | |
<real>1</real> | |
<key>Blue Component</key> | |
<real>0.35364818572998047</real> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Javascript-based validation of Swiss AHV numbers AHVN13 / EAN13 | |
* [Validierung von Schweizer AHV Nummern mit Javascript] | |
*/ | |
var inp = document.getElementById('ahvn13'); | |
inp.addEventListener('change', _validateAhvn13); | |
var _validateAhvn13 = function(input) { | |
var pattern = /^756\.(\d{4})\.(\d{4})\.(\d{2})$/; // format is 756.0000.0000.00 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Configuration hardening for PhpMyAdmin | |
* | |
* This file is included at the end of the main PhpMyAdmin configuration file. We thus here override | |
* any potential config value that was previously set. | |
* | |
* @author Dietrich Rordorf | |
* @date 2018-11-05 | |
* @see https://docs.phpmyadmin.net/en/latest/config.html |
Wordpress has issues to detect the SSL connection betwenn the client and the proxy and thus may load static assets through http instead https, which will be blocked in moderns browsers (mixed content).
To circumvent the problem, simly extend your wp-config.php by following functions (insert towards the top of the config script):
/** Proxy SSL detection */
OlderNewer