This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$show-blocks: true; // Show Block Shading | |
// Shades all block level elements if show-blocks is true | |
@if $show-blocks == true { | |
address, article, aside, blockquote, | |
center, dd, details, dir, div, dl, | |
dt, fieldset, figcaption, figure, | |
footer, form, frameset, h1, h2, h3, | |
h4, h5, h6, header, hgroup, hr, | |
isindex, menu, nav, noframes, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$show-blocks: true; // Show Block Shading | |
// Shades all block level elements if show-blocks is true | |
// Requires Compass | |
@if $show-blocks == true { | |
#{elements-of-type(block)}{ | |
background: rgba(0,0,0,0.2); | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Grid related variables | |
// 995px by 26 columns | |
$gw-column: 20px; | |
$gw-gutter: 19px; | |
$grid-image: '/assets/images/content_images/995px-26col-20w-19gut.png'; | |
// Grid span columns | |
@mixin span-columns($span: $columns) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I get this error after installing Zoo Flexible Admin: | |
A PHP Error was encountered | |
Severity: Warning | |
Message: Parameter 1 to Low_variables_ext::sessions_end() expected to be a reference, value given | |
Filename: libraries/Extensions.php | |
Line Number: 241 | |
followed by the usual "can't modify headers" message. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$('#content a:not(.popupwindow)').filter(function() { | |
var theHref = this; | |
if (theHref.hostname && theHref.hostname !== location.hostname) { | |
$(theHref).not(".noAutoIcon").addClass("offSite"); | |
$(theHref).not(".noAutoLink").attr('target','_blank').bind('click keypress', function(event) { | |
var code=event.charCode || event.keyCode; | |
if (!code || (code && code == 13)) { | |
if(pageTracker){ | |
var fixedLink = this.href; | |
fixedLink = fixedLink.replace(/https?:\/\/(.*)/,"$1"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT count( cp.entry_id ) AS total_items, | |
cp.cat_id, | |
c.cat_name as category_name, | |
c.cat_url_title as category_url_title | |
FROM exp_weblog_titles AS wt | |
INNER JOIN exp_category_posts AS cp ON wt.entry_id = cp.entry_id | |
INNER JOIN exp_categories AS c ON cp.cat_id = c.cat_id | |
INNER JOIN exp_category_posts AS cp2 ON wt.entry_id = cp2.entry_id | |
INNER JOIN exp_categories AS c2 ON cp2.cat_id = c2.cat_id | |
WHERE wt.weblog_id = 57 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
People will still use these tags, mostly because they want to 'do the right thing' in the hope the Standards Fairy will leave small change and/or an Apple product under their pillow. But it’s just a waste of productive time that could be better spent on more important things. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class Plugin_flickholdr extends Plugin { | |
var $meta = array( | |
'name' => 'flickholdr placeholder images', | |
'version' => '0.1', | |
'author' => 'Ian Pitts', | |
'author_url' => 'http://ianpitts.com' | |
); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<rss version="2.0" | |
xmlns:excerpt="http://wordpress.org/export/1.0/excerpt/" | |
xmlns:content="http://purl.org/rss/1.0/modules/content/" | |
xmlns:wfw="http://wellformedweb.org/CommentAPI/" | |
xmlns:dc="http://purl.org/dc/elements/1.1/" | |
xmlns:wp="http://wordpress.org/export/1.0/" | |
> | |
<channel> | |
<title>Pitney Bowes Business Insight Blog</title> |