Skip to content

Instantly share code, notes, and snippets.

Sam Hasler SamHasler

Block or report user

Report or block SamHasler

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
SamHasler / SassMeister-input.scss
Created Feb 21, 2014
Generated by
View SassMeister-input.scss
// ----
// Sass (v3.3.8)
// Compass (v1.0.0.alpha.19)
// ----
/* 3 ways to do modules with BEM syntax in sass */
/* 3 mixins */
$module: "";
$space: " ";
SamHasler / hn-betteridge.user.js
Created Jun 11, 2012 — forked from noibl/hn-betteridge.user.js
Betteridge's Law for Hacker News
View hn-betteridge.user.js
// ==UserScript==
// @name BetteridgeLinks
// @description Lowlight headlines on Hacker News that conform to Betteridge's Law
// @version 0.3
// @match*
// @author noibl <>
// ==/UserScript==
var questions = ['Is', 'Are', 'Does', 'Do', 'Has', 'Have', 'Did', 'Will', 'Can', 'Could', 'Should'];
var selector = '.title a';
SamHasler / Copy Command
Created Feb 14, 2009
Now compatible with Ubiquity 0.5 / Parser 2
View Copy Command
{names: ["copy-command"]
,icon: "chrome://ubiquity/skin/icons/favicon.ico"
,homepage: ""
,author: { name: "Sam Hasler", email: "ubiquity at"}
,license: "GPL"
,description: "Clone a ubiquity command feed by copying it to the Command Editor"
,help: "Select one of your installed commands from the suggestions and the code for it will be appended to the command editor"
View Subscribe_in_Bloglines_Beta.js
//Note: This command was automatically generated by the create-bookmarklet-command command.
name: "subscribe-in-bloglines-beta",
url: "javascript:location.href=''+encodeURIComponent(location.href).replace(/\%/g,'~').replace(/\./g,'~2E')+'-t.feed-s.r-start.0-displayModel.searchpage-viewDisplay.searchpage%26t%3D1212012300031'"
You can’t perform that action at this time.