Skip to content

Instantly share code, notes, and snippets.

Daniel Hüsken danielhuesken

Block or report user

Report or block danielhuesken

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@danielhuesken
danielhuesken / provision_wsl.sh
Last active Jun 20, 2018
WSL Provisionig Script
View provision_wsl.sh
#!/bin/bash
#wsl.config
sudo echo "[automount]" | tee -a /etc/wsl.config
sudo echo "root=/" | tee -a /etc/wsl.config
#copy user files
mkdir ~/.ssh
chmod 755 ~/.ssh
cp /mnt/c/Users/mail/.ssh/config ~/.ssh/config
@danielhuesken
danielhuesken / object-cache.php
Created Jun 17, 2015
WordPress APCu Object Cache
View object-cache.php
<?php # -*- coding: utf-8 -*-
/**
* Name: WP APCu Object Cache
* Description: WordPress APCu Object Cache
* Author: Daniel Hüsken
* Author URI: https://dhue.de
* Version: 1.0.0
*
* @link https://codex.wordpress.org/Function_Reference/WP_Cache
* @link https://pecl.php.net/package/APCu
View keybase.md

Keybase proof

I hereby claim:

  • I am danielhuesken on github.
  • I am danielhuesken (https://keybase.io/danielhuesken) on keybase.
  • I have a public key whose fingerprint is E8DD 0260 C2C8 53ED CFF9 7152 8D73 58BC 91FC 9A48

To claim this, I am signing this object:

You can’t perform that action at this time.