Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
| Commit type | Emoji |
|---|---|
| Initial commit | 🎉 :tada: |
| Version tag | 🔖 :bookmark: |
| New feature | ✨ :sparkles: |
| Bugfix | 🐛 :bug: |
| /** | |
| * Open all external links in a new window | |
| */ | |
| jQuery(document).ready(function($) { | |
| $('a') | |
| .filter('[href^="http"], [href^="//"]') | |
| .not('[href*="' + window.location.host + '"]') | |
| .attr('rel', 'noopener noreferrer') | |
| .attr('target', '_blank'); | |
| }); |
| <script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script> | |
| <script src="//www.youtube.com/iframe_api"></script> | |
| <script src="//cdnjs.cloudflare.com/ajax/libs/magnific-popup.js/1.0.0/jquery.magnific-popup.min.js"></script> | |
| <script> | |
| $(document).ready(function() { | |
| // Initializes Magnific Popup | |
| $('#lp-pom-image-202 a, #lp-pom-box-218 a, #lp-pom-box-217 a').magnificPopup({ | |
| disableOn: 700, |
| #!/bin/bash | |
| # /*================================= | |
| # = VARIABLES = | |
| # =================================*/ | |
| WELCOME_MESSAGE=' | |
| ____ ____ ____ ____ ____ | |
| ||N ||||G ||||I ||||N ||||X || | |
| ||__||||__||||__||||__||||__|| |
| #!/usr/bin/env bash | |
| echo ">>> Installing Mailhog" | |
| # Download binary from github | |
| wget --quiet -O ~/mailhog https://github.com/mailhog/MailHog/releases/download/v1.0.0/MailHog_linux_amd64 | |
| # Make it executable | |
| chmod +x ~/mailhog |
| #!/bin/bash | |
| wget https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-amd64.zip | |
| unzip ngrok-stable-linux-amd64.zip | |
| rm ngrok-stable-linux-amd64.zip | |
| sudo mv ngrok /usr/bin/ |
| <?php | |
| // Here is a sample of the URLs this regex matches: (there can be more content after the given URL that will be ignored) | |
| // http://youtu.be/dQw4w9WgXcQ | |
| // http://www.youtube.com/embed/dQw4w9WgXcQ | |
| // http://www.youtube.com/watch?v=dQw4w9WgXcQ | |
| // http://www.youtube.com/?v=dQw4w9WgXcQ | |
| // http://www.youtube.com/v/dQw4w9WgXcQ | |
| // http://www.youtube.com/e/dQw4w9WgXcQ | |
| // http://www.youtube.com/user/username#p/u/11/dQw4w9WgXcQ |
Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
| Commit type | Emoji |
|---|---|
| Initial commit | 🎉 :tada: |
| Version tag | 🔖 :bookmark: |
| New feature | ✨ :sparkles: |
| Bugfix | 🐛 :bug: |
| /** | |
| * Prevent update notification for plugin | |
| * http://www.thecreativedev.com/disable-updates-for-specific-plugin-in-wordpress/ | |
| * Place in theme functions.php or at bottom of wp-config.php | |
| */ | |
| function disable_plugin_updates( $value ) { | |
| if ( isset($value) && is_object($value) ) { | |
| if ( isset( $value->response['plugin-folder/plugin.php'] ) ) { | |
| unset( $value->response['plugin-folder/plugin.php'] ); | |
| } |
| <?php | |
| /* | |
| Plugin Name: Homepage Settings for BigBang | |
| Plugin URI: http://www.inboundnow.com/ | |
| Description: Adds additional functionality to the big bang theme. | |
| Author: David Wells | |
| Author URI: http://www.inboundnow.com | |
| */ | |
| // Specify Hooks/Filters |
| <?php | |
| /* | |
| * Source: http://someweblog.com/wordpress-custom-taxonomy-with-same-slug-as-custom-post-type/ | |
| */ | |
| // rewrite urls | |
| function taxonomy_slug_rewrite($wp_rewrite) { | |
| $rules = array(); |