Skip to content

Instantly share code, notes, and snippets.

View andij's full-sized avatar

Drew Jones andij

View GitHub Profile

Hmmm

I wonder

@andij
andij / application.route.js
Last active June 11, 2019 08:57
New Twiddle
import Ember from 'ember';
export default Ember.Route.extend({
actions: {
didTransition(){
window.scrollTo(0,0);
}
}
});
@andij
andij / application.route.js
Last active May 16, 2019 12:15
gaq-journey
import Ember from 'ember';
export default Ember.Route.extend({
actions: {
didTransition(){
window.scrollTo(0,0);
}
}
});
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle'
});
import Ember from 'ember';
export default Ember.Controller.extend({
appName: 'Ember Twiddle'
});
@andij
andij / Grunt.js with html_partials
Created October 14, 2013 15:59
Grunt.js taken from a project using html_partials.
// Generated on 2013-06-03 using generator-webapp 0.2.2
'use strict';
var LIVERELOAD_PORT = 35729;
var lrSnippet = require('connect-livereload')({port: LIVERELOAD_PORT});
var mountFolder = function (connect, dir) {
return connect.static(require('path').resolve(dir));
};
// # Globbing
// for performance reasons we're only matching one level down:
@andij
andij / Styled-checkbox-.markdown
Created October 3, 2013 10:22
A Pen by Drew Jones.
@andij
andij / ruler.html
Created October 31, 2012 17:30
CSS Ruler Tool
<!DOCTYPE html>
<html>
<head>
<title>CSS Ruler Tool - Drew Jones (andij.com)</title>
<style type="text/css">
body {
margin: 0 auto;
max-width: 1200px;
overflow-y: scroll;
font-family: Helvetica, Arial, sans-serif;
@andij
andij / Sample Markdown.md
Created March 2, 2012 16:20
Sample Markdown for scriptogram
Date Title Type Slug Tags Excerpt
2012-03-02
Sample Markdown for scriptogram
post
sample-markdown-for-scriptogram
sample, markdown, page, scriptogram
Exerpt Lorem ipsum dolor sit amet, consectetuer adipiscing elit.

The Markdown file which produces this Scriptogram page is maintianed here:

@andij
andij / dabblet.css
Created December 16, 2011 17:11
@andij's delete icon for mobile
/**
* @andij's delete icon for mobile
*/
body {
padding: 100px 50px
}
/* ############### icon */
.icon {