Home Account

Blog index

lit-html todo list

03-Dec-2019 12:38:14 dennis

Tags: javascript lit-html

A very simple lit-html demo displaying a todo list.


Parse PDO string into an array

07-Nov-2019 20:47:46 dennis

Tags: php

How to Parse a PDO string into an array


Serv from local IP (inet addr) with PHP

15-Apr-2019 19:52:29 dennis

Tags: php

Use PHPs built-in server to serve from local IP - or inet addr. In order to use or test from other devices on the same network.


Drupal 8 - disable form field

24-Nov-2017 12:22:30 dennis

Tags: drupal

How to disable a form field in drupal8


Javascript canvas. Draw negative coordinates

17-Jul-2017 16:07:17 dennis

Tags: javascript canvas

Drawing negative coordinates on a canvas.


Apple osx black theme

01-Apr-2017 03:04:08 dennis

Tags: osx

Setup a black theme on your osx system.


AFC search sub fields

31-Mar-2017 22:52:45 dennis

Tags: php wordpress

How to search for AFC sub fields. Mostly about the date picker field or datetime.


Simple PRG Pattern PHP

05-Nov-2016 16:22:27 dennis

Tags: php prg

A very simple implementation of the PRG pattern with PHP using sessions alone.


babun and php composer

06-Jun-2016 15:20:09 dennis

Tags: babun php composer

Fix errors when running php composer on babun.


Pandoc hash slugs in PHP

13-Mar-2016 19:10:17 dennis

Pandoc HTML slugs in PHP


Uikit always show scrollbar

07-Oct-2015 16:31:17 dennis

Tags: css uikit

Fix jumping behaveour in uikit by always showing right scollbar.


git delete remote tag script

27-Aug-2015 18:45:19 dennis

Tags: php git

Simple script to delete a remote git tag. When a programmer does a thing more than three times, he should make a small program.


MySQL in babun

24-Aug-2015 05:06:08 dennis

Tags: mysql babun

Installing the MySQL Server in the Babun Shell.


include classes without namespaces into namespace php

18-Dec-2014 14:51:00 dennis

Tags: php pear

Preventing fatal PHP error Cannot redeclare class Validate when importing classes without a namespace into a namespace.


PHP PDO escape like query

29-May-2014 15:11:52 dennis

Tags: php pdo

How to escape like queries with PHP and MySQL


php built-in server and routing static content

19-Mar-2014 15:36:54 dennis

Tags: php

PHP built-in server. How to route static content when it clashes with content served from routes and database.


Check url headers in php

06-Jan-2014 15:57:24 dennis

Tags: scripts-and-functions

Very simple script to check a URLs headers.


Make apache2 handle epub downloads

06-Jan-2014 15:54:26 dennis

Tags: apache2

how to make apache2 (Apache/2.4.6) send correct headers for ebooks, the .epub files. Om a ubuntu machine it Works without setting header, but om Android it does not. This will fix the problem.


michelf markdown rel = nofollow

18-Dec-2013 16:38:21 dennis

Tags: php scripts-and-functions

How to extend the michelf markdown parser to allow attributes to links, like rel="nofollow"


killall netbeans

18-Oct-2013 14:43:53 dennis

Tags: netbeans

killall netbeans