Skip to content

Instantly share code, notes, and snippets.


Anselm Christophersen anselmdk

View GitHub Profile
View EmptyCacheTask.php
* EmptyCacheTask
* See also for more like this
* @author Anselm Christophersen <>
* @package titlelibs
* @subpackage tasks
anselmdk / gist:f4d3b708a46b32ce1afb
Created Jan 12, 2015
remove html body to see a formatted `var_dump` from php
View gist:f4d3b708a46b32ce1afb
var pre = $('pre');
anselmdk / bash
Created Nov 18, 2015
Check PHP server time through command line
View bash
php -r "echo date('Y-m-d h:i:s a', time());"
anselmdk /
Last active Nov 24, 2015
Understanding React w. Redux(WORK IN PROGRESS)

Want to build a website using React and Redux? Here's a few concepts you'll need to grasp

  • Browserify makes it possible to write node syntax in javascript files
  • Watchify is the watch mode for Browswerify
  • Webpack is a module bundler that is almost exclusively used with Redux projects


anselmdk / gist:ccdb0a91913f2f474578
Last active Jan 30, 2016
Convert file from lation1 to utf-8
View gist:ccdb0a91913f2f474578
iconv --from-code=ISO-8859-1 --to-code=UTF-8 old.txt > new.txt

A collection of Linux commands and concepts I tend to forget


VIM Cheat Sheet

Description  Command
Up, down, left right k, j, h, l
Jump words (& back) w, b
 End/beginning of line $, ^/0
End/beginning of file G, gg
Line numbers set number

A collection of notes related to hosting

anselmdk /
Last active Jul 7, 2018
SilverStripe Cheat Sheet

DataObject Snippet