These are the steps I take to set up a new install of OSX Mountain Lion for web development.
Run my fork of Mathias Bynens' legendary script:
{ | |
"name": "yevgenko/wordpress-site", | |
"description": "Some WP powered site", | |
"repositories": { | |
"wordpress": { | |
"type": "package", | |
"package": [ | |
{ | |
"name": "plugins/db-toolkit", | |
"type": "wordpress-plugin", |
These are the steps I take to set up a new install of OSX Mountain Lion for web development.
Run my fork of Mathias Bynens' legendary script:
define([ | |
"use!underscore", | |
"use!handlebars", | |
"moment" | |
], | |
function( | |
_, Handlebars, Moment | |
) { | |
NOTE I now use the conventions detailed in the SUIT framework
Used to provide structural templates.
Pattern
t-template-name
/* | |
You can now create a spinner using any of the variants below: | |
$("#el").spin(); // Produces default Spinner using the text color of #el. | |
$("#el").spin("small"); // Produces a 'small' Spinner using the text color of #el. | |
$("#el").spin("large", "white"); // Produces a 'large' Spinner in white (or any valid CSS color). | |
$("#el").spin({ ... }); // Produces a Spinner using your custom settings. | |
$("#el").spin(false); // Kills the spinner. |
In this document I am using Sass's SCSS syntax. You can choose to use the indented syntax in sass, if you prefer it, it has no functional differences from the SCSS syntax.
For Less, I'm using the JavaScript version because this is what they suggest on the website. The ruby version may be different.