Skip to content

Instantly share code, notes, and snippets.

View shalott's full-sized avatar

astolat shalott

View GitHub Profile
@shalott
shalott / keybase.md
Created July 29, 2014 15:29
Keybase.io proof of identity

Please publicly post the following Gist, and name it keybase.md:

Keybase proof

I hereby claim:

  • I am shalott on github.
  • I am naominovik (https://keybase.io/naominovik) on keybase.
  • I have a public key whose fingerprint is 0348 257C 1518 26E6 5963 F508 8319 82A1 3C8F 2FAA
@shalott
shalott / signal_boost.js
Created February 8, 2019 16:54
tiny Dreamwidth signal boost bookmarklet
var postURL = "https://www.dreamwidth.org/update.bml?event=";
var curURL = window.location.href;
// get the currently selected text (no longer used in boost)
function getSelectionText() {
var text = "";
if (window.getSelection) {
text = window.getSelection().toString();
} else if (document.selection && document.selection.type != "Control") {
text = document.selection.createRange().text;