Skip to content

Instantly share code, notes, and snippets.

View peterramsing's full-sized avatar

Peter Ramsing peterramsing

View GitHub Profile
@siamak
siamak / packages.txt
Last active January 17, 2017 10:33
Here's my $ apm ls
Community Packages (34)
├── atom-alignment@0.12.1
├── atom-beautify@0.29.11
├── atom-jade@0.3.0
├── atom-material-ui@1.3.5
├── atom-panda-syntax@0.12.0
├── atom-ternjs@0.15.0
├── auto-update-packages@1.0.1
├── autocomplete-modules@1.6.1
├── autocomplete-paths@1.0.2
// {{ radio-button name='dish' value='spam' groupValue=selectedDish selectedAction='testAction' }} Spam
// {{ radio-button name='dish' value='eggs' groupValue=selectedDish }} Eggs
//
/*
import Ember from 'ember';
export default Ember.Component.extend({
tagName: 'input',
type: 'radio',
attributeBindings: [ 'checked', 'name', 'type', 'value' ],
@daneden
daneden / .htaccess
Created October 17, 2013 15:43
I whipped up a cache-buster for Jekyll, similar to the jekyll-assets method. Basically, when you run `jekyll build`, cachebuster.rb generates a hash based on the current time, and shoves it into the default.html template. Requests for style-{hash}.css are redirected to style.css by .htaccess
RewriteRule (.+)-[a-zA-Z0-9]+(\.(js|css))$ $1$2 [L]