Skip to content

Instantly share code, notes, and snippets.

David D Lowe Flimm

Block or report user

Report or block Flimm

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
@Flimm
Flimm / README.initramfs
Created Nov 2, 2018
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
-----------------------
@Flimm
Flimm / wp_specialchars_decode_example.php
Created Sep 5, 2018
Examples of wp_specialchars_decode calls
View wp_specialchars_decode_example.php
<?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.
View keybase.md

Keybase proof

I hereby claim:

  • I am flimm on github.
  • I am flimm (https://keybase.io/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:

View update.keep-first-parent-history.sh
#!/bin/bash
# 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
You can’t perform that action at this time.