Skip to content

Instantly share code, notes, and snippets.

View roryashfordbentley's full-sized avatar
🌭
Wranglin'

Rory Ashford-Bentley roryashfordbentley

🌭
Wranglin'
View GitHub Profile
@roryashfordbentley
roryashfordbentley / dots.js
Last active November 12, 2015 09:54
First attempt at OOJS
/**
* dots.js
* Create dots for the explosion animation
* on the homepage
*/
/**
* generates random dots within a circular outline
*
@roryashfordbentley
roryashfordbentley / Package.json
Last active June 9, 2016 12:41
Package.json example with some set variables
{
"name": "FlexbonesBuild",
"version": "5.0.0",
"description": "Watch sass,js and deploy",
"author": "Rory Ashford <[email protected]>",
"config": {
"theme": "wp-content/themes/flexbones",
"sass":"wp-content/themes/flexbones/assets/sass/style.scss",
"sassfolder":"wp-content/themes/flexbones/assets/sass",
"css":"wp-content/themes/flexbones/style.css",
@roryashfordbentley
roryashfordbentley / htaccess.txt
Created February 23, 2017 10:51
Use assets from liveserver without having to download them all
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /mysite/
RewriteCond %{REQUEST_FILENAME} !-f [NC]
RewriteRule ^app/uploads/(.*)$ http://mysite.com/app/uploads/$1 [R=301,L]
</IfModule>