I hereby claim:
- I am bjornjohansen on github.
- I am bjornjohansen (https://keybase.io/bjornjohansen) on keybase.
- I have a public key ASCrTUGCadfybRYNvfqSValmQEdSig65WPGxp2HvGsifigo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
vcl 4.0; | |
import std; | |
import directors; | |
backend server1 { # Define one backend | |
.host = "localhost"; | |
.port = "8080"; | |
.max_connections = 300; |
#!/bin/bash | |
touch checked.csv | |
while IFS=',' read -r POS HOSTNAME; do | |
if cat checked.csv | grep -qxF "$HOSTNAME"; then | |
echo "Skipping $HOSTNAME, already checked." | |
continue | |
fi |
<?php | |
/** | |
* HTTP/2 server push WordPress assets. | |
* | |
* @package BJ\AssetsPusher | |
* @author bjornjohansen | |
* @version 0.1.0 | |
* @license https://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU General Public License version 2 (GPLv2) | |
*/ |
<?php | |
/** | |
* Authentication customizations. | |
* | |
* @package BJ\Auth | |
*/ | |
/** | |
* Filters the duration of the authentication cookie expiration period. | |
* |
<?php | |
/** | |
* Reorder the visible attributes on the frontend. | |
*/ | |
add_filter( 'woocommerce_product_get_attributes', function( $old_attributes, $obj ) { | |
$order = [ 'pa_colour', 'pa_size' ]; | |
$new_attributes = []; |
<?php | |
/** | |
* Personal data exporter and eraser for Gravity Forms. | |
* | |
* @package BJ\GravityForms\PrivacyActions | |
* @author bjornjohansen | |
* @version 0.1.1 | |
* @license https://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU General Public License version 2 (GPLv2) | |
*/ |
index index.php index.html; | |
# Don’t log favicon requests | |
location /favicon.ico { | |
log_not_found off; | |
access_log off; | |
} | |
# Disallow access to readme.html | |
location /readme.html { |