Skip to content

Instantly share code, notes, and snippets.

View JeroenDeDauw's full-sized avatar

Jeroen De Dauw JeroenDeDauw

View GitHub Profile
MrSwed /
Last active July 12, 2023 14:06
Enable or Disable git hooks
#!/usr/bin/env bash
# Enable or disable git hooks
#find .git/hooks/ -type f ! -name "*.*"
echo "git Hooks $gitHooks"

This document has moved!

It's now here, in The Programmer's Compendium. The content is the same as before, but being part of the compendium means that it's actively maintained.

ralfw / Dockerfile
Created August 18, 2016 06:31
Roll your own Elm Docker container
# Build image with Node.js, Elm and Nginx
FROM debian:latest
# prepare
RUN apt-get -y update
RUN apt-get -y install apt-utils
# install curl,
RUN apt-get -y install curl
m1st0 /
Last active November 25, 2023 07:33
Compiling PHP 8 on Ubuntu 22.10 with Various Supported Modules
# PHP 8 Compile #
# Author: Maulik Mistry
# Please share support:
# References:
# root-talis
tronsha /
Last active October 13, 2023 00:13
Install PHP7 to Ubuntu
if [[ $EUID -ne 0 ]]; then
echo "This script must be run as root" 1>&2
exit 1
apt-get update
apt-get install -y git-core autoconf bison libxml2-dev libbz2-dev libmcrypt-dev libcurl4-openssl-dev libltdl-dev libpng-dev libpspell-dev libreadline-dev make
mkdir -p /etc/php7/conf.d
mkdir -p /etc/php7/cli/conf.d
mkdir /usr/local/php7
staltz /
Last active June 13, 2024 19:58
The introduction to Reactive Programming you've been missing
Ocramius / .gitignore
Last active January 10, 2023 16:34
`Zend\EventManager` examples
mtyeh411 / Widget:DataTables_Form
Created August 27, 2012 02:00
SMW_DataTables & SPS_PageIterator MW Widget
This [ widget] is meant to be used with an instance of [ DataTables jQuery plugin] on the page and a form link created from the [ Semantic Page Series] <nowiki>{{#serieslink:}}</nowiki> parser function to a page iterator. The [ Semantic MediaWiki DataTables result format] can be used as a DataTables instance.
This widget adds multiple selection highlighting on the DataTable instance. The values of the selected DataTable rows are used as inputs to the Semantic Page Series pagenames value for the Semantic Page Series page iterator.
Just add the following anywhere on the page where you have a DataTable and a SPS link
{{#widget: DataTables Form | pagenames=<SPS page iterator pagenames value>}}