Skip to content

Instantly share code, notes, and snippets.

@justinklemm
justinklemm / .travis.yml
Created July 25, 2014 00:07
Travis CI Webhook Configuration for Ghost Inspector
notifications:
webhooks:
urls:
- https://api.ghostinspector.com/v1/suites/[suite-id]/execute/?userId=[user-id]&apiKey=[api-key]
on_success: always
on_failure: never
@justinklemm
justinklemm / Gruntfile.coffee
Created July 15, 2014 02:14
Grunt & Bower Configuration for WordPress Themes
module.exports = (grunt) ->
grunt.initConfig
# Copy Font Awesome files to /fonts directory
copy:
fonts:
files: [
expand: true
cwd: 'bower_components/font-awesome/fonts'
@justinklemm
justinklemm / orderObjectBy.html
Last active December 23, 2015 10:49
AngularJS Filter for Ordering Objects (Associative Arrays or Hashes) with ngRepeat
<ul>
<li ng-repeat="item in items | orderObjectBy:'color':true">{{ item.color }}</li>
</ul>
@justinklemm
justinklemm / cart.html
Last active March 30, 2022 14:18
A CodePen by Justin Klemm. Shopping Cart Challenge - Built for the Rodeo Season #2, Week #3 Challenge: "A Shopping Cart" All functionality and calculations are implemented via Javascript. There are responsive breakpoints at 650px and 350px (though you can't view the latter in Chrome because it won't scale down below 400px). Breakpoints are based…
<h1>Shopping Cart</h1>
<div class="shopping-cart">
<div class="column-labels">
<label class="product-image">Image</label>
<label class="product-details">Product</label>
<label class="product-price">Price</label>
<label class="product-quantity">Quantity</label>
<label class="product-removal">Remove</label>