Skip to content

Instantly share code, notes, and snippets.

@gmarcus
gmarcus / SassMeister-input.scss
Created July 5, 2015 14:17
Generated by SassMeister.com.
// ----
// libsass (v3.2.5)
// ----
$icon-size : 24px !default;
$desktop-gutter : 24px !default;
$desktop-gutter-more : 32px !default;
$desktop-gutter-less : 16px !default;
$desktop-gutter-mini : 8px !default;
$desktop-keyline-increment : 64px !default;
@gmarcus
gmarcus / README.md
Last active July 23, 2022 13:36
A php script to fetch the raw atom feed for your Google Reader tags.

This script authenticates using the Google Client Login protocol, then enumerates your Google Reader tags and creates a local .xml file for each tag name in an output folder.

Run locally by typing

$php readerauthtags.php

The script will create a local ./output folder with the atom feeds. It will store up to 1000 feed entries per tag. You can then host these files on your own web server and import them to your favorite new RSS reader :)

In order for the script to work, search and replace YOUR-GOOGLE-USERNAME and YOUR-GOOGLE-PASSWORD with your credentials.

@gmarcus
gmarcus / readerauthfetch.php
Last active December 11, 2015 17:38
Fetch RSS atom feed of Google Reader tagged items. Supports authenticated calls to be able to fetch more than the most recent 20 items. Setup: - Install php script on your web server - Update the script with your google username and password. Ensure that your web server does not serve this file plaintext. Usage: - http://your.server.com/your/ins…
<?php
// ----------------------------------------
// Google Reader Authentication in PHP
// a basic script to get you in the door of
// Google's unofficial Reader API
// by Dave Shea, mezzoblue.com
// ----------------------------------------
//
// Source: http://snipt.net/thejames/php-google-reader-authentication-script/
//
@gmarcus
gmarcus / crash.js
Created April 21, 2011 15:32
node spider module crash info
var sys = require('sys');
var util = require('util');
var spider = require('../main');
spider()
.route('itunes.apple.com', '/us/genre/*', function (window, $) {
if (this.fromCache) return;
console.log("Fetching page: " + this.spider.currentUrl);