Skip to content

Instantly share code, notes, and snippets.

View thedjpetersen's full-sized avatar

David Petersen thedjpetersen

View GitHub Profile
@cmod
cmod / minimal_fb_messenger.css
Last active February 15, 2022 19:11
Minimal Facebook Messenger for Fluid
/*
Minimal Facebook Messenger
==========================
1. Make a Fluid (http://fluidapp.com/) instance of https://facebook.com/messages/
1. a. (You need to buy the paid version of Fluid to modify UserStyles)
2. Apply the below CSS as a Userstyles stylesheet
3. Like magic, you can now message without all the cruft of Full Facebook
@remi
remi / gh-sort.js
Created June 1, 2012 15:38
Sort GitHub user repositories based on watchers count
// Use this bookmarklet on a user page, eg. https://github.com/remiprev
$(".repo_list").children().map(function() { return $(this); }).sort(function(a,b) { a = parseInt(a.find(".watchers").text()); b = parseInt(b.find(".watchers").text()); if (a <= b) { return 1; } else { return -1 } }).each(function(i, repo) { $(".repo_list").append(repo) });