Skip to content

Instantly share code, notes, and snippets.

View joshgreen's full-sized avatar
🏠
Working from home

Josh Green joshgreen

🏠
Working from home
View GitHub Profile
@johnbillion
johnbillion / wp_mail.md
Last active July 7, 2025 13:21
WordPress Emails

WordPress Emails

This document lists all the situations where WordPress sends an email, along with how to filter or disable each email.

This documentation has moved here: https://github.com/johnbillion/wp_mail

Sass
SideBarEnhancements
suublime-expand-selection-to-quotes
sublime code intel
MarkdownEditing
Origmai
HTML5
Javasrcript ES6 sytanx
Jquery
JSHint Gutter
@imjasonh
imjasonh / markdown.css
Last active January 3, 2025 20:15
Render Markdown as unrendered Markdown (see http://jsbin.com/huwosomawo)
* {
font-size: 12pt;
font-family: monospace;
font-weight: normal;
font-style: normal;
text-decoration: none;
color: black;
cursor: default;
}
@p3t3r67x0
p3t3r67x0 / prefixed-office-properties.md
Last active April 28, 2025 13:41
MS Office prefixed style properties can be used for older versions of MS Excel, MS PowerPoint or MS Word when you want to save a document, presentation, workbook, or worksheet as a web document, or even in older versions for MS Outlook.

MS Office prefixed style properties

mso-ansi-font-size

Note: Office only

mso-ansi-font-size: large | larger | <length> | medium | <percentage> | small | smaller | x-large | x-small | xx-large | xx-small
@joshgreen
joshgreen / gist:bd1e986970cd905dce85
Created October 10, 2014 09:27
Sublime text 3 settings 20141010
{
"auto_complete": true,
"auto_indent": true,
"bold_folder_labels": true,
"caret_extra_bottom": 2,
"caret_extra_top": 2,
"color_scheme": "Packages/User/predawn (SL).tmTheme",
"detect_slow_plugins": false,
"dictionary": "Packages/Language - English/en_GB.dic",
"draw_white_space": "selection",
@joshgreen
joshgreen / gist:01416d2c4074ce453637
Created October 6, 2014 08:20
Laptop Sublime user settings
{
"auto_complete": true,
"auto_indent": true,
"bold_folder_labels": true,
"theme": "predawn.sublime-theme",
"color_scheme": "Packages/Predawn/predawn.tmTheme",
"detect_slow_plugins": false,
"dictionary": "Packages/Language - English/en_GB.dic",
"draw_white_space": "selection",
"file_exclude_patterns":
@joshgreen
joshgreen / gist:06cabf4b6058bac17ebd
Last active August 29, 2015 14:06
Humans generator
var gulp = require('gulp'),
gutil = require('gulp-util'),
humans = require('humans-generator');
gulp.task('humans', function() {
humans({
'team': {
'Hayden Bleasel': {
'Twitter': '@haydenbleasel',
'Email': '[email protected]',
@joshgreen
joshgreen / gist:dbf448cd29d4e046a9d1
Last active August 29, 2015 14:04
Open files in Sublime from Terminal
sudo ln -s /Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl /usr/local/bin/
@joshgreen
joshgreen / gist:0e7824a33a7893e03fa7
Created July 28, 2014 15:56
hide theme editor from WordPress dashboard
//hide theme editor from WordPress dashboard
function wpr_remove_editor_menu() {
remove_action('admin_menu', '_add_themes_utility_last', 101);
}
register_sidebar( array(
'name' => 'new-text-widget-name',
'id' => 'left-sidebar',
'before_widget' => '<div id="%1$s" class="%2$s widget">',
'after_widget' => '</div>',