Skip to content

Instantly share code, notes, and snippets.

Avatar

Aaron Graham coderaaron

  • Washington University in St. Louis
  • St. Louis, MO
View GitHub Profile
@ahmadawais
ahmadawais / git-commit-emojis.md
Created Jan 1, 2018 — forked from jhermann/git-commit-emojis.md
Useful emoji for git commit messages
View git-commit-emojis.md

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:

@air
air / steam.sh
Last active Aug 30, 2018
Setup script to run Steam on Chromebook using a library on an external SD card.
View steam.sh
#!/bin/bash
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
@joemcgill
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 – http://wesbos.com/custom-wordpress-tinymce-wysiwyg-classes/ TinyMCE Reference – http://www.tinymce.com/wiki.php/TinyMCE3x:Buttons/controls
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 ) {