Skip to content

Instantly share code, notes, and snippets.

View Phunky's full-sized avatar

Mark Harwood Phunky

View GitHub Profile
@Phunky
Phunky / SassMeister-input-HTML.html
Created July 25, 2014 15:58
Generated by SassMeister.com.
<h1>YELLOW?</h1>
<div class="cyan">Cyan</div>
<div class="magenta">Magenta</div>
<div class="yellow">Yellow</div>
<div class="key">Key</div>
@Phunky
Phunky / vhost.conf
Created July 28, 2014 09:34
OSX vhost for local .dev domains
#
# Any .dev folder in ~/Sites
#
<VirtualHost *:80>
VirtualDocumentRoot "/Users/phunky/Sites/%1.0.dev/public"
UseCanonicalName Off
ServerAlias %1.0.dev.*.xip.io
<Directory "/Users/phunky/Sites">
Options FollowSymLinks
@Phunky
Phunky / SassMeister-input-HTML.html
Created July 28, 2014 11:01
Generated by SassMeister.com.
<div class="box box___blue-grey">blue-grey</div>
<div class="box box___grey">grey</div>
<div class="box box___brown">brown</div>
<div class="box box___deep-orange">deep-orange</div>
<div class="box box___orange">orange</div>
<div class="box box___amber">amber</div>
<div class="box box___yellow">yellow</div>
<div class="box box___lime">lime</div>
<div class="box box___light-green">light-green</div>
<div class="box box___green">green</div>
@Phunky
Phunky / SassMeister-input-HTML.html
Created July 28, 2014 11:01
Generated by SassMeister.com.
<div class="box box___blue-grey">blue-grey</div>
<div class="box box___grey">grey</div>
<div class="box box___brown">brown</div>
<div class="box box___deep-orange">deep-orange</div>
<div class="box box___orange">orange</div>
<div class="box box___amber">amber</div>
<div class="box box___yellow">yellow</div>
<div class="box box___lime">lime</div>
<div class="box box___light-green">light-green</div>
<div class="box box___green">green</div>
@Phunky
Phunky / SassMeister-input-HTML.html
Created July 28, 2014 15:10
Generated by SassMeister.com.
<div class="box box___blue-grey">blue-grey</div>
<div class="box box___grey">grey</div>
<div class="box box___brown">brown</div>
<div class="box box___deep-orange">deep-orange</div>
<div class="box box___orange">orange</div>
<div class="box box___amber">amber</div>
<div class="box box___yellow">yellow</div>
<div class="box box___lime">lime</div>
<div class="box box___light-green">light-green</div>
<div class="box box___green">green</div>
@Phunky
Phunky / SassMeister-input-HTML.html
Created July 29, 2014 13:54
Generated by SassMeister.com.
<h1>Heading 1</h1>
<h2>Heading 2</h2>
<h3>Heading 3</h3>
@Phunky
Phunky / SassMeister-input-HTML.html
Created August 20, 2014 10:52
Generated by SassMeister.com.
<div class="fg">
<div class="fg-full">
Full
</div>
<div class="fg-half">
Half
</div>
<div class="fg-half">
@Phunky
Phunky / SassMeister-input-HTML.html
Last active August 29, 2015 14:05
Generated by SassMeister.com.
<div class="cta-btn blue">Button</div>
<div class="cta-btn green">Button</div>
<div class="cta-btn red">Button</div>
@Phunky
Phunky / vhost.conf
Created September 29, 2014 16:02
Simple vhost for any .dev site in apache and with xip.io, obviously you need to point the domain to local host (dnsmasq is simplest way!)
#
# Any .dev folder in ~/Sites
#
<VirtualHost *:80>
VirtualDocumentRoot "/Users/phunky/Sites/%1.0.dev/public"
UseCanonicalName Off
ServerAlias %1.0.dev.*.xip.io
<Directory "/Users/phunky/Sites">
Options FollowSymLinks
@Phunky
Phunky / index.php
Created November 21, 2014 15:56
Don't judge the code... it suppose to be crap, this is just a very simple front controller I tend to use for quick mockups or playing with composer packages.
<?php
define('ROOT_DIR', __DIR__ . '/../');
define('VENDOR_DIR', ROOT_DIR. 'vendor/');
define('PUBLIC_DIR', ROOT_DIR . 'public/');
define('ROUTES_DIR', ROOT_DIR . 'routes/');
define('VIEW_DIR', ROOT_DIR . 'views/');
define('CACHE_DIR', ROOT_DIR . 'cache/');
// Include libs
require( VENDOR_DIR . 'autoloader.php' );