Skip to content

Instantly share code, notes, and snippets.

@VoidMonk
VoidMonk / remove-wp-meta.php
Last active September 18, 2018 08:22 — forked from leekelleher/remove-wp-meta.php
WordPress plugin to remove the auto-generated meta tags, and version from JS/CSS asset URLs (allows better caching).
<?php
/*
Plugin Name: Remove WP Meta and Version
Plugin URI: https://gist.github.com/voidmonk/f8ebd732b30fcc1c18811e5b12a6e729
Description: This plugin removes the auto-generated WP meta tags from each webpage.
Author: Lee Kelleher
Version: 0.3.0
Author URI: http://leekelleher.com/
*/
@VoidMonk
VoidMonk / xvfb.service
Last active March 31, 2017 04:59 — forked from dloman/xvfb.service
sytemd xvfb
[Unit]
Description=X Virtual Frame Buffer Service
After=network.target
[Service]
ExecStart=/usr/bin/Xvfb :1 -screen 0 1024x768x24 -ac +extension GLX +render -noreset -nolisten tcp
Restart=always
[Install]
WantedBy=multi-user.target
@VoidMonk
VoidMonk / xvfb
Last active August 15, 2016 08:25 — forked from dloman/xvfb
### BEGIN INIT INFO
# Provides: Xvfb
# Required-Start: $local_fs $remote_fs
# Required-Stop:
# X-Start-Before:
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Loads X Virtual Frame Buffer
### END INIT INFO