This file contains 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
HTTP["cookie"] =~ "devicePixelRatio" { | |
url.rewrite-final += ( "^{url}\.(jpe?g|gif|png|bmp)" => "/retinaimages.php" ) | |
} |
This file contains 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
/// | |
aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgrey|darkgreen|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|grey|green|greenyellow|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgrey|lightgreen|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midni |
This file contains 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
<div> | |
<a href="https://www.drivingschoolservices.com.au/idi_portal/login.aspx" onClick="_gaq.push(['_trackEvent', 'Driving School Services', 'Book Now']);" title="Book driving lessons online" target="_blank"> | |
<img style="width: 162px; height: 65px;" alt="Book driving lessons online now" src="/portals/17/Book%20now%20blue.png"> | |
</a> | |
| |
<a href="https://www.drivingschoolservices.com.au/idi_portal/login.aspx?su=1" onClick="_gaq.push(['_trackEvent', 'Driving School Services', 'Sign Up Now']);" title="Become a customer and book online" target="_blank"> | |
<img style="width: 160px; height: 65px;" alt="Sign up to use our booking system" src="/portals/17/sign%20up%20180%20x%2065.png" longdesc="Sign up to use our booking system"> | |
</a> | |
</div> |
This file contains 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
{exp:channel:entries channel="CHANNEL_NAME" {if last_segment != "all"}limit="9"{/if} paginate="bottom"} | |
CHANNEL DATA | |
{paginate} | |
{pagination_links} | |
<a href="{path='{segment_1}/{segment_2}/{segment_3}/all'}">View All</a> | |
{/paginate} | |
{/exp:channel:entries} |
This file contains 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
{exp:query sql=" | |
SELECT md.entry_id, cd.field_id_56, md.col_id_48 | |
FROM exp_matrix_data AS md | |
LEFT JOIN exp_playa_relationships AS pr | |
ON md.entry_id = pr.parent_entry_id | |
LEFT JOIN exp_channel_data AS cd | |
ON pr.child_entry_id = cd.entry_id | |
WHERE md.field_id = 123 | |
AND md.row_order = 1 | |
GROUP BY md.entry_id |
This file contains 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
{ | |
"auto_complete_commit_on_tab": true, | |
"auto_complete_with_fields": true, | |
"auto_find_in_selection": true, | |
"bold_folder_labels": true, | |
"close_windows_when_empty": true, | |
"color_scheme": "Packages/Color Scheme - Default/Monokai.tmTheme", | |
"default_encoding": "UTF-8", | |
"dictionary": "Packages/Language - English/en_GB.dic", | |
"draw_white_space": "selection", |
This file contains 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
/** | |
* Style Drop Downs | |
--------------------------------------------------------------------------*/ | |
(function() { | |
var $selects = $("select"); | |
if ($selects.length > 0) { | |
$selects.each(function(i) { |
This file contains 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
compass create . --bare --sass-dir "assets/scss" --css-dir "assets/css" --javascripts-dir "assets/js" --images-dir "assets/img" |
This file contains 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
#!/usr/bin/python | |
""" | |
Media fix is designed to re-factor media queries within the CSS outputted by | |
SASS. | |
Usage: python media-fix.py style.css, ... | |
""" | |
import sys | |
import re |
This file contains 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
<meta name="viewport" content="width=device-width, initial-scale=1.0"> |