Skip to content

Instantly share code, notes, and snippets.


Aaron Graham coderaaron

  • Washington University in St. Louis
  • St. Louis, MO
View GitHub Profile
joemcgill / Customize TinyMCE in WP
Last active Oct 14, 2016
Set of functions for easily customizing the tinyMCE editor in WordPress. More references: Wes Bos – TinyMCE Reference –
View Customize TinyMCE in WP
// add style selector drop down
function my_mce_buttons_2( $buttons ) {
array_unshift( $buttons, 'styleselect' );
return $buttons;
add_filter( 'mce_buttons_2', 'my_mce_buttons_2' );
// customize the MCE editor
function my_customize_mce( $init ) {
air /
Last active Aug 30, 2018
Setup script to run Steam on Chromebook using a library on an external SD card.
set -o nounset
# 2016-01-02 updated to use whichever device the card is mounted on.
# 2016-07-28 update to use ext4 or fuseblk
# Params
# 1. where ChromeOS mounts your SD card
ahmadawais /
Created Jan 1, 2018 — forked from jhermann/
Useful emoji for git commit messages

Useful emoji for git commit messages

If you add emoji to your commit messages for a GitHub repo, they become less boring, and you can convey the kind of change you're adding. See the full set of GitHub supported emoji here (also useful for easy copy&paste via a simple click).

Example commit message

The following is a possible scheme to use:

florianbrinkmann / index.js
Last active Aug 22, 2022
Gutenberg FormTokenField block with posts as source
View index.js
* External dependencies
const { isUndefined, pickBy } = lodash;
* WordPress dependencies
const {