##Simply annoying Tweets
Annoyingly extended words (4+ of the same letter in a phrase): OOOOHHHHMMMMYYYYGGGGOOOODDDD
([a-z])/1{4}
Tweet w/ just a single hashtag: #omgthissucks
^ *#[^ ]+$
| # ---------------------------------------------------------------------- | |
| # Password protect staging server | |
| # Use one .htaccess file across multiple environments | |
| # (e.g. local, dev, staging, production) | |
| # but only password protect a specific environment. | |
| # ---------------------------------------------------------------------- | |
| SetEnvIf Host staging.domain.com passreq | |
| AuthType Basic | |
| AuthName "Password Required" |
| // Media Queries in Sass 3.2 | |
| // | |
| // These mixins make media queries a breeze with Sass. | |
| // The media queries from mobile up until desktop all | |
| // trigger at different points along the way | |
| // | |
| // And important point to remember is that and width | |
| // over the portrait width is considered to be part of the | |
| // landscape width. This allows us to capture widths of devices | |
| // that might not fit the dimensions exactly. This means the break |
| // Turns out this function already exists in Sass: mix(fg, bg, %) (http://d.pr/mGqa) | |
| // Alpha blending | |
| @function blend($bg, $fg) { | |
| $r: red($fg) * alpha($fg) + red($bg) * (1 - alpha($fg)); | |
| $g: green($fg) * alpha($fg) + green($bg) * (1 - alpha($fg)); | |
| $b: blue($fg) * alpha($fg) + blue($bg) * (1 - alpha($fg)); |
| {embed="_layouts/blog" | |
| blog_title="Inspire" | |
| blog_slug="inspire" | |
| blog_category_id="125" | |
| blog_description="Design & Interaction" | |
| blog_description_more="our three hundred foot view. Primarily written by/for UX designers, visual designers, and front-end developers." | |
| meta_description="Viget’s Inspire blog: discussing all things design & interaction including wireframing, typography, Photoshop tips and techniques, CSS, HTML5, and jQuery." | |
| rss="{gv_inspire_feed}" | |
| } |
| .border-container { | |
| width: 28%; /* border will be on the left on this container */ | |
| float: right; | |
| overflow: hidden; /* only needed if floating container */ | |
| min-height: 600px; /* static height if you want your container to be taller than its content */ | |
| -moz-box-shadow: inset 15px 0 5px -16px rgba(0,0,0,.1), -1px 0 0 #FFF; | |
| -webkit-box-shadow: inset 15px 0 5px -16px rgba(0,0,0,.1), -1px 0 0 #FFF; | |
| box-shadow: inset 15px 0 5px -16px rgba(0,0,0,.1), -1px 0 0 #FFF; | |
| border-width: 0 0 0 1px; | |
| -webkit-border-image: |
| $start-color:#2B73A2; | |
| $number: 12; | |
| @for $i from 1 through $number { | |
| .label-#{$i} { | |
| color:adjust_hue($start-color, ($i - 1) * (360 / $number)); | |
| } | |
| } |
##Simply annoying Tweets
Annoyingly extended words (4+ of the same letter in a phrase): OOOOHHHHMMMMYYYYGGGGOOOODDDD
([a-z])/1{4}
Tweet w/ just a single hashtag: #omgthissucks
^ *#[^ ]+$
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
| <title></title> | |
| <meta name="description" content=""> | |
| <meta name="author" content=""> |
| <?php | |
| class kirbytextExtended extends kirbytext { | |
| function __construct($text, $markdown=true) { | |
| parent::__construct($text, $markdown); | |
| // define custom tags | |
| $this->addTags('figure'); | |
| <?php | |
| $ignore = array('sitemap', 'error'); | |
| // send the right header | |
| header('Content-type: text/xml; charset="utf-8"'); | |
| // echo the doctype | |
| echo '<?xml version="1.0" encoding="utf-8"?>'; |