Skip to content

Instantly share code, notes, and snippets.

View mishal's full-sized avatar

Michal Moravec mishal

View GitHub Profile
@mishal
mishal / html5-validator
Created December 4, 2014 14:16
Init.d script for validator.nu service
#!/bin/sh
### BEGIN INIT INFO
# Provides: html5-validator
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: HTML5 validator service
# Description: HTML5 validator service using validator.nu engine
@mishal
mishal / validate.2000cubits.lab.conf
Created December 4, 2014 16:39
Apache2 virtualhost configuration for WC3 validation service running on separate domain
# --------------------------------------------------------------------------
# Installation:
# --------------------------------------------------------------------------
# Disable the default configuration and setup new virtual host
# $ sudo a2disconf w3c-markup-validator
# $ sudo a2ensite validate.2000cubits.lab
# $ sudo service apache2 reload
# --------------------------------------------------------------------------
# Taken from original distribution: w3c-markup-validator.conf
# --------------------------------------------------------------------------
@mishal
mishal / html5.validate.2000cubits.lab.conf
Created December 4, 2014 16:43
Apache virtualhost configuration for Html5 validator (validator.nu) on separate domain
<VirtualHost *:80>
ServerName html5.validate.2000cubits.lab
ProxyPass / http://localhost:8888/
ProxyPassReverse / http://localhost:8888/
</VirtualHost>