/etc/rc.conf.local
apmd_flags="-A"
dhcpd_flags=vether0
vmd_flags=
ntpd_flags="-s"
# Connect: %{time_connect} | |
# TTFB: %{time_starttransfer} | |
# Total time: %{time_total} | |
while [ true ]; do curl -o /dev/null -s -w "%{time_starttransfer}\n" https://www......./; sleep 15; done |
<?php | |
// (c) Tom Van Looy <tom@ctors.net> https://ctors.net/isc_license.txt | |
// Alle feestdagen kunnen berekend worden, de berekende zijn allemaal | |
// afhankelijk van pasen. PHP heeft een functie easter_date(). | |
// Makkie dus. Hoe easter_date() zelf werkt kan je hier raadplegen: | |
// https://github.com/php/php-src/blob/master/ext/calendar/easter.c | |
// Geen parameter? Doen we gewoon dit jaar toch. |
#!/bin/bash | |
function test { | |
MESSAGE=$1 | |
RECEIVED=$2 | |
EXPECTED=$3 | |
if [ "$RECEIVED" = "$EXPECTED" ]; then | |
echo -e "\033[32m✔︎ Tested $MESSAGE" | |
else |
#!/bin/bash | |
VHOST=project | |
EXCHANGE=project-exchange | |
ADMIN_USER=admin | |
ADMIN_PASS=secret | |
MGMT_USER=mgmt | |
MGMT_PASS=secret | |
QUEUE1=queue1 | |
QUEUE2=queue2 |
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | |
<d:devices xmlns:d="http://schemas.android.com/sdk/devices/3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
<d:device> | |
<d:name>Samsung Galaxy S8</d:name> | |
<d:manufacturer>User</d:manufacturer> | |
<d:meta/> | |
<d:hardware> | |
<d:screen> | |
<d:screen-size>large</d:screen-size> | |
<d:diagonal-length>5.80</d:diagonal-length> |
apt-get install libpam0g-dev
download http://www.columbia.edu/kermit/ck90.html
replace 2 changed files
make linux
makefile
This guide requires you have the original database directories handy. You may also struggle restoring InnoDB instances because of the way they work, however a guide can be found at the bottom of this gist.
Move your backup database folders to an appropriate location, a temporary folder is preferable as MariaDB will put its own data within this directory.
Within the directory, run the following docker command:
There are lots of setups with programs that can collect email in testing environments. Some of them require you to install perl, nodejs, ruby, ... or require you do do a sophisticated setup with your mailserver.
But there is a little program called mailhog that is just a standalone statically linked binary that has no dependencies.
That makes it very easy to use.
<VirtualHost *:80> | |
ServerName example.com | |
ServerAlias www.example.com | |
RewriteEngine On | |
RewriteCond %{HTTP_HOST} !www.example.com [NC] | |
RewriteRule ^(.*)$ http://www.example.com$1 [L,R=301] | |
DocumentRoot /var/www/example/current/web | |
<Directory /> |