Three or more hashtags.
#[^#]+#[^#]+#
Long hashtags (15+ characters): #hashtagpunchline
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>ANSIBlackColor</key> | |
<data> | |
YnBsaXN0MDDUAQIDBAUGKSpYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3AS | |
AAGGoKcHCBMXGyImVSRudWxs1QkKCwwNDg8QERJcTlNDb21wb25lbnRzVU5TUkdCXE5T | |
Q29sb3JTcGFjZV8QEk5TQ3VzdG9tQ29sb3JTcGFjZVYkY2xhc3NPECgwLjAyNzQ1MTAw | |
NjcgMC4yMTE3NjQ3MjMxIDAuMjU4ODIzNDg0MiAxTxAoMC4wMzkzODA3NDc4MiAwLjE2 |
/** | |
* Merge defaults with user options | |
* @private | |
* @param {Object} defaults Default settings | |
* @param {Object} options User options | |
* @returns {Object} Merged values of defaults and options | |
*/ | |
var extend = function ( defaults, options ) { | |
var extended = {}; | |
var prop; |
<?php | |
// Add to: path/to/wp-content/wp-themes/your-theme/functions.php | |
/** | |
* Activate required plugins | |
*/ | |
include_once ( ABSPATH . 'wp-admin/includes/plugin.php' ); |
/** | |
* Filter out hard-coded width, height attributes on all images in WordPress. | |
* https://gist.github.com/4557917 | |
* | |
* This version applies the function as a filter to the_content rather than send_to_editor. | |
* Changes made by filtering send_to_editor will be lost if you update the image or associated post | |
* and you will slowly lose your grip on sanity if you don't know to keep an eye out for it. | |
* the_content applies to the content of a post after it is retrieved from the database and is "theme-safe". | |
* (i.e., Your changes will not be stored permanently or impact the HTML output in other themes.) | |
* |
app.directive('ngFocus', ['$parse', function($parse) { | |
return function(scope, element, attr) { | |
var fn = $parse(attr['ngFocus']); | |
element.bind('focus', function(event) { | |
scope.$apply(function() { | |
fn(scope, {$event:event}); | |
}); | |
}); | |
} | |
}]); |
Sass Mixin for typekit variation-specific font-family names | |
Typekit IE6-8 Support (http://help.typekit.com/customer/portal/articles/6855-Using-multiple-weights-and-styles) | |
$lucida-grande: "Lucida Grande", Tahoma, Verdana, Arial, sans-serif; | |
$georgia: Georgia, Cambria, "Times New Roman", Times, serif; | |
// Must include fallbacks for EACH typekit font — set them each as variables | |
//************************************************************************// | |
$typekit-fonts: "source-sans-pro", "ff-tisa-web-pro"; // index [1, 2] |
<?php | |
// SHORTCODE - Include File | |
// http://www.amberpanther.com/knowledge-base/using-the-wordpress-shortcode-api-to-include-an-external-file-in-the-post-content/ | |
function include_file($atts) { | |
//check the input and override the default filepath NULL | |
//if filepath was specified | |
extract(shortcode_atts(array('filepath' => 'NULL'), $atts)); | |
//check if the filepath was specified and if the file exists | |
if ($filepath!='NULL' && file_exists(CHILD_SS_DIR.$filepath)){ |
// ----------------------------------------------------------------------------- | |
/* Shame CSS */ | |
// This is not a dumping ground. It is a staging area for hacks that are | |
// intended to be fixed and resolved so as not to sully our | |
// production-ready codebase. Hacks are necessary, but they are not | |
// permanent, nor are they acceptable long-term. You are not done when | |
// you've moved your selector and rules here. | |
// This is not intended to be an easy fix, or a simple way out. You will | |
// spend time writing out your shame, and you will make it known that |
{ | |
"bold_folder_labels": true, | |
"color_scheme": "Packages/User/Espresso Soda.tmTheme", | |
"ensure_newline_at_eof_on_save": true, | |
"file_exclude_patterns": | |
[ | |
".DS_Store", | |
".gitkeep", | |
"dump.rdb" | |
], |