Skip to content

Instantly share code, notes, and snippets.

View sushidub's full-sized avatar

jgraston sushidub

View GitHub Profile
@sushidub
sushidub / apache-conf-helpers.md
Last active May 16, 2018 14:20
Apache server scripts I find useful

/http.conf

ErrorLogFormat "\n\n\n______________[%{cu}t] \tLocal: %A \tClient: %a \n\tMessage: %M\n\tModule: %m\n\tLevel: %l\n\tSource: %F\n\tReferer: %{Referer}i\n\n\n"

Combine the above with an error log stream while performing work...

#!/bin/sh
@sushidub
sushidub / color_hack-1
Last active April 10, 2018 04:13
Reduce any color by the following to get a decent less saturated monochromatic value
Reduce any color by the following to get a decent less saturated monochromatic value
Easiest way is to grab the HSL values of the original color then multiply by the following percentages:
Saturation —> 28%
Value —> 72%
@sushidub
sushidub / wp-scripts.md
Last active April 8, 2018 16:13
Full list of registered javascript libraries that come with Wordpress [4.9.4]

NOTE: Its a quick cut/copy/paste job for ref. There might be a a few strays in here that aren't part of the WP list (let me know and I'll remove)


  • utilscommon
  • wp-a11y
  • sack
  • quicktags
  • colorpicker
  • editor
  • wp-fullscreen-stub