Skip to content

Instantly share code, notes, and snippets.

View plasticine's full-sized avatar
🐧
Hello? Is this thing on?

Justin Morris plasticine

🐧
Hello? Is this thing on?
  • Melbourne, Australia
  • 12:17 (UTC +11:00)
View GitHub Profile
@plasticine
plasticine / grid.scss
Created August 15, 2011 01:49
Generate a grid.
$grid_col_names:(
'one', 'two', 'three', 'four', 'five', 'six',
'seven', 'eight', 'nine', 'ten', 'eleven', 'twelve'
);
@function col($count:1){ @return (($grid_col_width + $grid_gutter) * $count) - $grid_gutter; }
@mixin pre_col($count:1){ margin-left: col($count); }
@mixin post_col($count:1){ margin-right: col($count); }
@mixin make_grid_classes{
@for $index from 1 through $grid_num_cols {
postForm: =>
# serialize and send the form to CM
# `url` will be `http://theconversation.createsend.com/t/r/s/foo`
url = "#{@form.attr('action')}?callback=?"
@showLoader( =>
$.getJSON(
url,
@form.serialize(),
(data) =>
@hideLoader()
sudo easy_install-2.6 pyobjc==2.2
@module = (names, fn) ->
names = names.split '.' if typeof names is 'string'
space = @[names.shift()] ||= {}
space.module ||= @module
if names.length
space.module names, fn
else
fn.call space
@plasticine
plasticine / gist:3375133
Created August 17, 2012 01:31
Icon Fontin’
// Generic icon set using custom font face for glyphs
//
// .icon-myicon - This is my cool icon
//
// Styleguide 5.1
[class^="icon-"], [class*=" icon-"]{
font-family: "TCFont-Regular";
display: inline-block;
font-weight: normal !important;
font-style: normal !important;
@plasticine
plasticine / gist:3485504
Created August 27, 2012 04:20
CI Frontend Stats
require 'chrome_debugger'
require 'librato/metrics'
LIBRATO_PREFIX = "tc.frontend"
LIBRATO_USER = ENV["LIBRATO_USER"]
LIBRATO_KEY = ENV["LIBRATO_KEY"]
PAGES = {
google: 'http://google.com/',
yahoo: 'http://yahoo.com/'
nytimes: 'http://nytimes.com'
@plasticine
plasticine / puppet_common_bootstrap.sh
Created August 27, 2012 06:11 — forked from cmaitchison/chef_solo_bootstrap.sh
Ubuntu 12.04 puppet-common bootstrap
#!/bin/bash -xe
#Set locale
echo "export LANGUAGE=en_AU.UTF-8" > /tmp/locale
echo "export LANG=en_AU.UTF-8" >> /tmp/locale
echo "export LC_ALL=en_AU.UTF-8" >> /tmp/locale
cat /etc/bash.bashrc >> /tmp/locale
cp /tmp/locale /etc/bash.bashrc
locale-gen en_AU.UTF-8
dpkg-reconfigure locales
$ ->
$('#avatar').hover ->
$('.qq-upload-button').fadeTo(250, 1)
, ->
$('.qq-upload-button').fadeTo(250, 0)
if $('#file-uploader.author-profile').length > 0
uploader = new qq.FileUploader({
template: """
.my-awesome-selector{
// Any vars should be declared at the top of the containing scope
$element_border_width: 10px;
$element_border_color: 10px;
// include any mixins after the variables
@include border-radius(5px);
@include box-sizing(border-box);
// then define properties for the selector

So yesterday brought the sad news that Google Reader is being killed off. C’est la vie it seems, given it was a Google product. In my search for an alternative I rediscovered Fever and decided to see if I could run it up for free on Heroku. Onwards...

Personally I think the news about Reeder is quite sad, as I would quite happily have paid for it as a service. In fact I like RSS so much that I actually shelled out the $30 for Fever when it first came out years ago (I was also pretty massive Shaun Inman fanboy if I’m being honest).

I ended up setting Fever aside because screw having to manage self-hosting for PHP and MySQL, right?

If you’re new to Fever I recommend going and checking it out, but also reading the post in response to the Google Reader announcement by Fevers author, Shaun, for a good list of what Fever is and isn’t.

Enough jibba-jabba!