Skip to content

Instantly share code, notes, and snippets.

View f8lrebel's full-sized avatar

sam hall f8lrebel

  • Freelancer
  • Iowa
View GitHub Profile
@f8lrebel
f8lrebel / javascript_resources.md
Created November 9, 2013 08:44 — forked from jookyboi/javascript_resources.md
Here are a set of libraries, plugins and guides which may be useful to your Javascript coding.

Libraries

  • 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
@f8lrebel
f8lrebel / gist:4218234
Created December 5, 2012 18:32 — forked from Austex/gist:4218092
Sublime Text 2 - Useful Shortcuts

Sublime Text 2 – Useful Shortcuts (Mac OS X)

General

⌘T go to file
⌘⌃P go to project
⌘R go to methods
⌃G go to line
⌘KB toggle side bar
⌘⇧P command prompt
@f8lrebel
f8lrebel / function.php
Created December 5, 2012 18:30 — forked from vilmosioo/function.php
How to get related posts in WordPress
<?php
// get current post categories and tags
$categories = get_the_category($post->ID);
$tags = get_the_tags($post->ID);
if ($categories || $tags) {
$category_ids = array();
if($categories)
foreach($categories as $individual_category) $category_ids[] = $individual_category->term_id;
$tag_ids = array();
if($tags)
@f8lrebel
f8lrebel / Definition.xml
Created August 4, 2012 22:01
Blueprint CSS Grid Definition for Evolus Pencil. Zip this file and import as a public stencil collection.
<Shapes xmlns="http://www.evolus.vn/Namespace/Pencil"
xmlns:p="http://www.evolus.vn/Namespace/Pencil"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
id="Blueprint_CSS.Icons"
displayName="Blueprint CSS"
description="Blueprint CSS Grid"
author="Alice Kaerast"
url="http://blueprintcss.org/">