Skip to content

Instantly share code, notes, and snippets.


Jeroen De Dauw JeroenDeDauw

View GitHub Profile
MrSwed /
Last active April 8, 2022 20:05
Enable or Disable git hooks
#!/usr/bin/env bash
# Enable or disable git hooks
#find .git/hooks/ -type f ! -name "*.*"
echo "git Hooks $gitHooks"
View types.markdown

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
View Dockerfile
# 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 May 30, 2022 09:25
Compiling PHP 7 on Ubuntu 15.04 with Various Supported Modules
# PHP 8 Initial Compile #
# Author: Maulik Mistry
# References:
# License: BSD License 2.0
# Copyright (c) 2015-2021, Maulik Mistry
tronsha /
Last active October 8, 2021 20:23
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 March 29, 2023 08:33
The introduction to Reactive Programming you've been missing
Ocramius / .gitignore
Last active January 10, 2023 16:34
`Zend\EventManager` examples
View .gitignore
mtyeh411 / Widget:DataTables_Form
Created August 27, 2012 02:00
SMW_DataTables & SPS_PageIterator MW Widget
View Widget:DataTables_Form
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>}}