Skip to content

Instantly share code, notes, and snippets.

View uxjw's full-sized avatar

James Wilcox uxjw

  • Primal Communications Ltd.
  • BC, Canada
View GitHub Profile
@uxjw
uxjw / .gitignore
Created January 13, 2017 00:47
Wordpress git ignores
# OPERATING SYSTEMS
.DS_Store
.AppleDouble
.LSOverride
._*
*.lock
.Spotlight-V100
.Trashes
.svn
Thumbs.db
@uxjw
uxjw / chime.sh
Last active February 24, 2019 00:46
Hourly announcement with quiet hours
#!/bin/bash
# Announce the current hour
#
# Use cron to schedule this on the hour:
# 0 * * * * /path/to/script/chime.sh
#
# Change the voice used in System Preferences
# under Accessibility > Speech
# Wake up the text-to-speech engine, which sometimes
@uxjw
uxjw / hide_wp_update_notifications.php
Last active February 24, 2019 00:42
When regularly checking and updating plugins, we don't need persistent update nags bugging clients. Just drop this file in /wp-content/mu-plugins/
<?php
/*
* Hide Wordpress, Plugin, & Theme Update Notifications
*
* When regularly checking for and applying updates, we don't
* need persistent update nags bugging clients.
*
* This plugin hides the update nags with CSS, but you can still access
* the updates page list under Dashboard.
*/