Skip to content

Instantly share code, notes, and snippets.

Avatar

Dan Syme drsii

View GitHub Profile
View gist:8360815

Media Package: handles file storage, directory dispersion, & image manipulation.

Media Extension: handles upload, media listing, & media helpers (blade calls)

When a file is uploaded, it is stored in its original format to the public/media folder following the directory dispersion method as configured.

We then provide a series of blade calls to help developers utilize their media assets.

###@media() returns an output based on media mime type

View discount-preview.md

#Discounts v1.0.0-alpha

A framework agnostic discount package featuring coupon/discount rule sets & conditions. Part of the Cartalyst Arsenal & licensed OSI BSD 3. Code well, rock on.

##Package Story

History and future capabilities.

####Incomplete

  • Discount::add(...) Can create a discount.
View cart-preview.md

#Cart v1.0.0-alpha

A framework agnostic shopping cart package featuring multiple cart instances and item variants. Part of the Cartalyst Arsenal & licensed OSI BSD 3. Code well, rock on.

##Package Story

History and future capabilities.

####Incomplete

  • Cart::save('instance') User can save a cart instance.
@drsii
drsii / readme.md
Last active Dec 22, 2015
Cartalyst readme.md template
View readme.md

Package Title v0.0.1

Package description that describes the package in at least two sentances.

Story

roadmap

A story of the packages capabilities.

View extension-quickstart.md

####Quickstart Method 1

Step 1:

Create your extension using the Workshop

Step 2:

Open your main composer.json and add the following lines into the "classmap" array of your "autoload"

View index.html
<a class="tab tab-one tab-active" href="#" tabindex="0">1</a>
<a class="tab tab-two" href="#" tabindex="0">2</a>
<a class="tab tab-three" href="#" tabindex="0">3</a>
<section data-tab="one" data-tab-active=""><h2>One</h2> micro tabs are hot</section>
<section data-tab="two"><h2>Two</h2> they work really well</section>
<section data-tab="three"><h2>Three</h2>accept the annoying default browser scroll to.</section>
@drsii
drsii / gist:6116295
Created Jul 30, 2013
Antler @ Cartalyst Labs Project
View gist:6116295
all comments on "why create a new css framework aside"
I will be attempting to build Antler over the next 48 hours and want your help.
Antler will be a micro CSS framework based on BEM syntax, a semantic grid, and written in LESS.
It will cover
## primary sections
@drsii
drsii / sentry-social-2.2.md
Last active Dec 19, 2015
The Ideal Sentry Social workflow.
View sentry-social-2.2.md

// Basic process

  1. User registers with social network
  2. Sentry redirects to social network for approval
  3. Social network redirects back to sentry
  4. Sentry creates user account

//Issues

  1. creating a the use account.