Skip to content

Instantly share code, notes, and snippets.

@ianrose
ianrose / index.html
Created August 27, 2013 23:00
css-keyframe-background-images
<html>
<head>
<style>
body {
background-color: #fff;
-webkit-background-size: cover;
-moz-background-size: cover;
background-size: cover;
-webkit-animation-duration: 10s;
-moz-animation-duration: 10s;
@ianrose
ianrose / .block
Last active March 3, 2018 19:46
CDC Weekly Influenza Activity Estimates Map
license: mit
# Your init script
#
# Atom will evaluate this file each time a new window is opened. It is run
# after packages are loaded/activated and after the previous editor state
# has been restored.
#
# An example hack to log to the console when each text editor is saved.
#
# atom.workspace.observeTextEditors (editor) ->
# editor.onDidSave ->
@ianrose
ianrose / harpPathURI.js
Created September 5, 2015 20:05
Harp.js Current Path URI helper
<% var last = current.path[current.path.length -1] %>
<% function pathURI(currentPath) {
var pagePath;
for(var i=0; i< currentPath.length; i++) {
if(currentPath == 'index'){
pagePath = url+'/';
} else {
pagePath = url+'/'+currentPath[i];
if(currentPath[i] !== last){
'/'
{{!-- ./layouts/ --}}
---
layout: default.hbs
---
{{#each collection1}}
<h2><a href="{{paths.href}}">{{title}}</a></h2>
{{date}}
{{/each}}
<html>
<head><title>Debug Vertical Alignment Example</title></head>
<body class="va-debug">
<p>I want to debug the baseline of this graf</p>
</body>
</html>
.your-selector {
@include rhythmBorder(3px, 3, $ms-down1);
}
.your-selector {
@include rhythmBorderBottom(3px, 3, $ms-down1);
}
.your-selector {
@include rhythmBorderTop(3px, 3, $ms-down1);
}
.your-selector {
@include setLeading(3, $ms-down1);
}