Skip to content

Instantly share code, notes, and snippets.

# This update hook's purpose is to make sure that commits don't disappear from
# "git log --first-parent master" server-side. This often happens when people
# run "git pull" without --rebase.
# Please don't modify this file outside of version control
# TODO: make it work with empty repo

Keybase proof

I hereby claim:

  • I am flimm on github.
  • I am flimm ( on keybase.
  • I have a public key whose fingerprint is 9BDD B867 F61D E2E3 BBBE BFDF 118E FA16 9DF3 565D

To claim this, I am signing this object:

Flimm / wp_specialchars_decode_example.php
Created September 5, 2018 09:30
Examples of wp_specialchars_decode calls
View wp_specialchars_decode_example.php
echo( wp_specialchars_decode( "He's been \"busy\", very busy." ) );
// He's been "busy", very busy.
echo( wp_specialchars_decode( "He&#39;s been &#34;busy&#34;, &lt;i&gt;very&lt;/i&gt; busy." ) ); // defaults to ENT_NOQUOTES
// He&#39;s been &#34;busy&#34;, <i>very</i> busy.
echo( wp_specialchars_decode( "He&#39;s been &#34;busy&#34;, &lt;i&gt;very&lt;/i&gt; busy.", ENT_COMPAT ) );
// He&#39;s been "busy", <i>very</i> busy.
Flimm / README.initramfs
Created November 2, 2018 08:19
README.initramfs from Ubuntu 18.10
View README.initramfs
1. Introduction
Kernels more recent than 2.6.12 have dropped support for devfs, which
means that initrd-tools can no longer be used to boot into an encrypted
root partition. Instead, a similar functionality has been developed for
use with an initramfs-image.
2. A fresh installation