/etc/rc.conf.local
apmd_flags="-A"
dhcpd_flags=vether0
vmd_flags=
ntpd_flags="-s"
<?php | |
function xmlToArray(SimpleXMLElement $xmlObject) : array | |
{ | |
$array = []; | |
foreach ((array) $xmlObject as $elementName => $value) { | |
if (is_object($value)) { | |
if (empty($value)) { | |
$array[$elementName] = ''; | |
} else { |
pkg_add -i mariadb-server | |
mkdir /var/mysql | |
chown _mysql:_mysql /var/mysql | |
mysql_install_db | |
rcctl start mysqld | |
mysqladmin -u root password vagrant | |
mysql_secure_installation |
<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 /> |
Index: httpd.conf.5 | |
=================================================================== | |
RCS file: /cvs/src/usr.sbin/httpd/httpd.conf.5,v | |
retrieving revision 1.76 | |
diff -u -p -u -r1.76 httpd.conf.5 | |
--- httpd.conf.5 14 Nov 2016 10:28:31 -0000 1.76 | |
+++ httpd.conf.5 21 Nov 2016 19:12:34 -0000 | |
@@ -128,6 +128,9 @@ If not specified, it defaults to | |
within the | |
.Xr chroot 2 |
#!/bin/sh | |
# "include: /etc/unbound/ad-blacklist.conf" in /var/unbound/etc/unbound.conf | |
# run this script as a daily cron | |
# | |
# The list URLs were taken from the pi-hole project. | |
# More experimental lists are at https://github.com/pi-hole/pi-hole/blob/master/adlists.default | |
TMPFILE=$( mktemp get_dns_blacklists-XXXXXXXXX ) | |
trap 'rm -f $TMPFILE; exit 1' EXIT KILL INT QUIT TERM |
Java EE is dead. Stop using it | |
There is a lot of chatter on the internet about Java EE being dead. As someone who spent a lot of time implementing some of the core specs like CDI and also helping customers adopt JavaEE I was interested in determining if this is true. | |
Unfortunately the anecdotal evidence all points to JavaEE going the way of the DODO slowly. I am here to ring the bell. Please write all your future apps with Spring, LightBend etc., or even no framework. | |
This is the evidence now points towards JavaEE being dead: | |
1. Most of the prominent Java EE evangelists - Folks who in some cases are friends and I admire deeply have left their respective Java EE shepherd companies. Reza Rahman from Oracle, Kenny Bastani from Oracle and Arun Gupta from Redhat to name just a few ... | |
2. Oracle, Redhat and IBM - the three most prominent supporters of JavaEE are now spending their money and developers innovating elsewhere. Oracle cloud,OpenShift and Bluemix respectively. |
./core/modules/file/src/Plugin/Field/FieldWidget/FileWidget.php:306 ParamError required arg follows optional | |
./core/modules/block/src/Entity/Block.php:78 UndefError Can't access undeclared constant \Drupal\block\Entity\block::BLOCK_REGION_NONE | |
./core/modules/migrate/src/Plugin/migrate/destination/DestinationBase.php:42 UndefError Can't access constant ROLLBACK_DELETE from undeclared class MigrateIdMapInterface | |
./core/modules/migrate/src/MigrateMessage.php:23 UndefError Can't access constant INFO from undeclared class RfcLogLevel | |
./core/modules/migrate/src/MigrateMessage.php:24 UndefError Can't access constant ERROR from undeclared class RfcLogLevel | |
./core/modules/migrate/src/Entity/Migration.php:116 TypeError assigning array to property but \Drupal\migrate\Entity\migration::idmap is string | |
./core/modules/migrate/src/Entity/Migration.php:162 UndefError Can't access undeclared constant \Drupal\migrate\Entity\migration::SOURCE | |
./core/modules/search/src/SearchQuery.php:506 TypeError Default value for float $multi |
#!/bin/bash | |
set -e | |
# Names of latest versions of each package | |
export NGINX_VERSION=1.9.4 | |
export VERSION_PCRE=pcre-8.37 | |
export VERSION_LIBRESSL=libressl-2.2.3 | |
export VERSION_NGINX=nginx-$NGINX_VERSION |
Abbo: basic internet | |
Modem: modem-only DOCSIS 3.0 | |
Router: Soekris / OpenBSD 5.7 | |
----- | |
Test via autoconfiguration: | |
(inet6 autoconfig in /etc/hostname.vr0) | |
Tcpdump: |