Thursday, December 1, 2016

ann nolan snoball

Figured out the Ann Nolan snoball reference, snowballs chance of getting paid.

Thursday, September 17, 2015

Bill Williams Bleed

Definitely worth a read
Bleed: Surviving cerebral catastrophe: a tale of the mind, love and modern medicine

http://billwilliamsbleed.com/

Wednesday, March 25, 2015

New site build - fomofx.com

Fomofx, inventors of Virtual Jeff the Digital Whammy Bar System
http://www.fomofx.com/

Design 
http://www.streamer.net.au

Build
http://www.epidote.com.au

Tuesday, February 3, 2015

Joomla System less compiler collapse nav

template.less

ADD @import "responsive.less" &

!

Monday, February 24, 2014

joomla 3.2.2 update breaks custom captcha

Joomla 3.2.2 update breaks custom recaptcha components as they need mootools. To fix just add
JHtml::_('behavior.formvalidation');
to the component to force mootools to load
OR
if you're not using a component go old school and add
  src="/media/system/js/mootools-core.js"

to your template

Tuesday, February 18, 2014

shopify minimalist theme SOLD circle

add this to product-loop.liquid snippet

    {% if product.available == false %}
    {% if settings.show_sale_circle %}
    SOLD
    {% endif %}
  {% endif %}

Wednesday, February 12, 2014

mysql select values from this month, this year

SELECT * FROM table_name WHERE MONTH(timestamp) = MONTH(CURDATE()) AND YEAR(timestamp) = YEAR(CURDATE())

Monday, January 27, 2014

New site build - botanica editions

Botanica Editions
http://www.botanicaeditions.com/

Design 
http://www.frankdesign.com.au

Build
http://www.epidote.com.au

htaccess gzip compression

http://gtmetrix.com/enable-gzip-compression.html

# compress text, HTML, JavaScript, CSS, and XML
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/x-javascript

# remove browser bugs
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.0[678] no-gzip
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
Header append Vary User-Agent

Thursday, October 31, 2013

301 redirects with subpages

Options +FollowSymLinks
RewriteEngine On
RewriteRule .? http://sample.com.au%{REQUEST_URI} [R=301,L]

Sunday, October 13, 2013

responsive youtube embed

.embed-container {
    position: relative;
    padding-bottom: 56.25%; /* 16/9 ratio */
    padding-top: 30px; /* IE6 workaround*/
    height: 0;
    overflow: hidden;
}
.embed-container iframe,
.embed-container object,
.embed-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

New site build - Learning Blend

Design
http://www.room44.com.au/

Site
http://www.learningblend.com.au/

Build
http://www.epidote.com.au/

Tuesday, August 20, 2013

Canonical URLs



Options +FollowSymLinks
RewriteCond %{HTTP_HOST} ^sample\.org\.au [NC]
RewriteRule ^(.*)$ http://www.sample.org.au/$1 [R=301,L]