- 960 Grid System - An effort to streamline web development workflow by providing commonly used dimensions, based on a width of 960 pixels. There are two variants: 12 and 16 columns, which can be used separately or in tandem.
- Compass - Open source CSS Authoring Framework.
- Bootstrap - Sleek, intuitive, and powerful mobile first front-end framework for faster and easier web development.
- Font Awesome - The iconic font designed for Bootstrap.
- Zurb Foundation - Framework for writing responsive web sites.
- SASS - CSS extension language which allows variables, mixins and rules nesting.
- Skeleton - Boilerplate for responsive, mobile-friendly development.
- Stitches An HTML5 sprite sheet generator
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * @author : Aaron Fisher | |
| * @link :http://www.aaron-fisher.com/articles/web/php/object-collections-in-php/ | |
| */ | |
| class Collection | |
| { | |
| protected $objects; // array |
- jQuery - The de-facto library for the modern age. It makes things like HTML document traversal and manipulation, event handling, animation, and Ajax much simpler with an easy-to-use API that works across a multitude of browsers.
- Backbone - Backbone.js gives structure to web applications by providing models with key-value binding and custom events, collections with a rich API of enumerable functions, views with declarative event handling, and connects it all to your existing API over a RESTful JSON interface.
- AngularJS - Conventions based MVC framework for HTML5 apps.
- Underscore - Underscore is a utility-belt library for JavaScript that provides a lot of the functional programming support that you would expect in Prototype.js (or Ruby), but without extending any of the built-in JavaScript objects.
- lawnchair - Key/value store adapter for indexdb, localStorage
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /* | |
| Seriously, wtf? | |
| @link : https://gist.github.com/7639026 | |
| @author : aaron fisher | |
| */ | |
| function wtf($var, $arrayOfObjectsToHide=array(), $fontSize=11) | |
| { | |
| $text = print_r($var, true); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| function validEmail($email) | |
| { | |
| $isValid = true; | |
| $atIndex = strrpos($email, "@"); | |
| if (is_bool($atIndex) && !$atIndex) | |
| { | |
| $isValid = false; | |
| } | |
| else |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Return false if session variable is no longer valid otherwise return the value that | |
| * the session variable holds. | |
| * | |
| * @param string $name Session variable name | |
| * @return bool|mixed true if var has expired otherwise return the value of the variable | |
| */ | |
| function getSessionVar($name) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Cast a multidimensional array to a stdClass object. | |
| * | |
| * @param array $array | |
| * The array to be converted | |
| * | |
| * @return object | |
| * The multidimensional array converted to object | |
| */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SELECT UPDATE_TIME | |
| FROM information_schema.tables | |
| WHERE TABLE_SCHEMA = 'dbname' | |
| AND TABLE_NAME = 'tabname' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| // GET all attachemment images : | |
| //Show all images from array | |
| function wp_get_attachment_images($attachements_id, $size = NULL) | |
| { | |
| if(count($attachements_id) >0 ) | |
| { | |
| foreach ($attachements_id as $attachement_id => $id) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Create caroussel with bootsrap twitter javascript components | |
| * | |
| * @param number $id | |
| * @param string or number $size_of_image | |
| * @param array $attr = array('id'=>'my_id', 'class' => 'class1 class2'); | |
| * | |
| * @return html |