Skip to content

Instantly share code, notes, and snippets.

View gideonheilbron's full-sized avatar

Gideon Heilbron gideonheilbron

View GitHub Profile
TouchAction (aka "fastclick") Support for Ember Applications
https://github.com/runspired/ember-hammertime
Gesture support for Ember Applications
https://github.com/runspired/ember-gestures
Ambitious infinite-scroll and svelte rendering for ambitious applications
http://runspired.github.io/smoke-and-mirrors/
https://github.com/runspired/smoke-and-mirrors
<?php
function themename_customize_register($wp_customize){
$wp_customize->add_section('themename_color_scheme', array(
'title' => __('Color Scheme', 'themename'),
'priority' => 120,
));
// =============================
@gideonheilbron
gideonheilbron / iterm2-solarized.md
Created January 29, 2016 09:33 — forked from kevin-smets/iterm2-solarized.md
iTerm2 + oh my zsh + solarized + Meslo powerline font (OSX)

Solarized

// Defining values
$small-range: (0em, 40em); /* 0, 640px */
$medium-range: (40.063em, 64em); /* 641px, 1024px */
$large-range: (64.063em, 90em); /* 1025px, 1440px */
$xlarge-range: (90.063em, 120em); /* 1441px, 1920px */
$xxlarge-range: (120.063em); /* 1921px */
// Defining media queries
$screen: "only screen" !default;
$landscape: "#{$screen} and (orientation: landscape)" !default;
@gideonheilbron
gideonheilbron / debounce.js
Last active August 29, 2015 14:22
Debounce
function debounce(func, wait, immediate) {
var timeout;
return function() {
var context = this, args = arguments;
var later = function() {
timeout = null;
if (!immediate) func.apply(context, args);
};
var callNow = immediate && !timeout;
clearTimeout(timeout);
@gideonheilbron
gideonheilbron / Gemfile
Created July 12, 2014 09:26
Basic gemfile for use with compass
source 'https://rubygems.org'
gem 'compass', '~> 0.12.6'
@gideonheilbron
gideonheilbron / bower.json
Created July 12, 2014 09:20
Basic Bower file (work in progress)
{
"title": "Project name",
"name": "project-name",
"dependencies": {
"ember": "*",
"ember-data": "*"
}
}
@gideonheilbron
gideonheilbron / .bowerrc
Last active August 29, 2015 14:03
Basic .bowerrc (work in progress)
{
"directory" : "assets/components"
}
@gideonheilbron
gideonheilbron / compass.rb
Last active August 29, 2015 14:03
Basic compass.rb (work in progress)
css_dir = "build/css"
sass_dir = "assets/scss"
images_dir = "build/images"
generated_images_dir = "build/images/generated"
javascripts_dir = "assets/js"
fonts_dir = "build/fonts"
output_style = :expanded
line_comments = true
@gideonheilbron
gideonheilbron / package.json
Last active August 29, 2015 14:03
Basic package.json (work in progress)
{
"title": "Project name",
"name": "project-name",
"version": "0.1.0",
"private": true,
"author": {
"name": "Author name",
"email": "author@name.email"
},
"devDependencies": {