Skip to content

Instantly share code, notes, and snippets.

View markredballoon's full-sized avatar

Mark Mizen markredballoon

  • Red Balloon Creative
  • Reading Berkshire United Kingdom
View GitHub Profile
@markredballoon
markredballoon / .htaccess
Created April 10, 2017 08:47
Wordpress .htaccess with gzip compression and client side caching
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
@markredballoon
markredballoon / 0_reuse_code.js
Created February 4, 2016 09:47
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console