Skip to content

Instantly share code, notes, and snippets.

@6
6 / slack.tab.renamer.js
Last active November 2, 2021 14:16 — forked from rchernobelskiy/slack.tab.renamer.js
Automatically remove asterisk from the title of the Slack tab (auto renames the tab when asterisk shows up) (install via tampermonkey)
// ==UserScript==
// @name Slack tab title asterisk remover
// @namespace http://roman.chernobelskiy/
// @version 0.1
// @description Permanently keeps the asterisk out of slack's tab title.
// @author Roman Chernobelskiy
// @match https://app.slack.com/*
// @grant none
// ==/UserScript==
@6
6 / LireRequestHandler.java
Created March 5, 2016 17:12
LireSolr tweaked for searching very similar images
/*
* This file is part of the LIRE project: http://www.semanticmetadata.net/lire
* LIRE is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* LIRE is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
@6
6 / rAF.js
Created May 10, 2012 01:35 — forked from paulirish/rAF.js
requestAnimationFrame polyfill
// http://paulirish.com/2011/requestanimationframe-for-smart-animating/
// http://my.opera.com/emoller/blog/2011/12/20/requestanimationframe-for-smart-er-animating
// requestAnimationFrame polyfill by Erik Möller
// fixes from Paul Irish and Tino Zijdel
(function() {
var lastTime = 0;
var vendors = ['ms', 'moz', 'webkit', 'o'];
for(var x = 0; x < vendors.length && !window.requestAnimationFrame; ++x) {