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
View keybase.md

Keybase proof

I hereby claim:

  • I am samhasler on github.
  • I am samhasler (https://keybase.io/samhasler) on keybase.
  • I have a public key whose fingerprint is 5D4E D916 FA57 BEFF 8A66 F21E D2DD E47E E201 F7C5

To claim this, I am signing this object:

@SamHasler
SamHasler / _.md
Last active Aug 17, 2017
Vertical Sankey
View _.md
@SamHasler
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 http://news.ycombinator.com/*
// @author noibl <pjpee6w5pc@snkmail.com>
// ==/UserScript==
var questions = ['Is', 'Are', 'Does', 'Do', 'Has', 'Have', 'Did', 'Will', 'Can', 'Could', 'Should'];
var selector = '.title a';
@SamHasler
SamHasler / Copy Command
Created Feb 14, 2009
Now compatible with Ubiquity 0.5 / Parser 2
View Copy Command
Components.utils.import("resource://ubiquity/modules/setup.js");
CmdUtils.CreateCommand(
{names: ["copy-command"]
,icon: "chrome://ubiquity/skin/icons/favicon.ico"
,homepage: "http://gist.github.com/64187"
,author: { name: "Sam Hasler", email: "ubiquity at haslers.info"}
,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.
CmdUtils.makeBookmarkletCommand({
name: "subscribe-in-bloglines-beta",
url: "javascript:location.href='http://beta.bloglines.com/b/view#view-mode.searchfeeds-q.'+encodeURIComponent(location.href).replace(/\%/g,'~').replace(/\./g,'~2E')+'-t.feed-s.r-start.0-displayModel.searchpage-viewDisplay.searchpage%26t%3D1212012300031'"
});
@SamHasler
SamHasler / SassMeister-input.scss
Created Oct 9, 2014
Generated by SassMeister.com.
View SassMeister-input.scss
// ----
// Sass (v3.4.4)
// Compass (v1.0.1)
// ----
@mixin classStartWith($classStarters...) {
$selectors: null;
@each $classStart in $classStarters {
$selectors: $selectors, unquote("[class^=\"#{$classStart}\"], [class*=\" #{$classStart}\"]");
}
@SamHasler
SamHasler / SassMeister-input.scss
Created Jul 24, 2014
Generated by SassMeister.com.
View SassMeister-input.scss
// ----
// Sass (v3.3.10)
// Compass (v1.0.0.alpha.20)
// ----
// Sass (v3.3.0.rc.2)
$box-line: red;
.portfolio {
@SamHasler
SamHasler / SassMeister-input.scss
Created Jul 24, 2014
Generated by SassMeister.com.
View SassMeister-input.scss
// ----
// Sass (v3.3.10)
// Compass (v1.0.0.alpha.20)
// ----
// ----
// Sass (v3.3.0.rc.2)
// ----
$box-line: red;
@SamHasler
SamHasler / SassMeister-input.scss
Created Jul 24, 2014
Generated by SassMeister.com.
View SassMeister-input.scss
// ----
// Sass (v3.3.10)
// Compass (v1.0.0.alpha.20)
// ----
// ----
// Sass (v3.3.10)
// ----
$box-line: red;
@SamHasler
SamHasler / SassMeister-input.scss
Created Jul 24, 2014
Generated by SassMeister.com.
View SassMeister-input.scss
// ----
// Sass (v3.3.10)
// Compass (v1.0.0.alpha.20)
// ----
//Libsass test
//https://github.com/sass/libsass/issues/146
You can’t perform that action at this time.