Skip to content

Instantly share code, notes, and snippets.

View mixu's full-sized avatar

Mikito Takada mixu

View GitHub Profile
@mixu
mixu / gist:1270915
Created October 7, 2011 17:49
HN steveblock
// ==UserScript==
// @name Hacker News Steve Filter
// @description Filter "Hacker News" items about Steve Jobs
// @include http://news.ycombinator.com/*
// ==/UserScript==
(function(){
var list = ['steve', 'jobs', 'job\'s'];
// get spans
@mixu
mixu / oauth.php
Created February 6, 2011 22:16
Oauth provider (early version...)
<?php
class Controller_Oauth extends Controller_App {
/**
* Models
* - Consumer (for keeping track of sites which have access to your oAuth provider)
* - Token (request token (type 0) or an access token, (type 1))
*
*/