This script is now in a repository: https://github.com/tghw/lastpass_aegis_convert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Fastmail Favicon Unread Count | |
// @author Tyler Hicks-Wright | |
// @author Rob Middleton | |
// @license MIT | |
// @description Adds a dynamic favicon to fastmail.com showing unread emails. | |
// @namespace rob@middlerob.com | |
// @grant none | |
// @version 2.2.1 | |
// @include https://www.fastmail.com/mail/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h3 class="form-title">Form Title</h3> | |
<form class="form-horizontal"> | |
<div class="control-group"> | |
<label for="field" class="control-label">Field</label> | |
<div class="controls"> | |
<input type="text" name="field"> | |
</div> | |
</div> | |
<div class="control-group"> | |
<label for="field" class="control-label">Field</label> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
f=lambda x,y=1,a='Fizz',b='Buzz':y and ' '.join(f(i+1,0) for i in range(x)) or x%3==x%5==0 and a+b or x%3==0 and a or x%5==0 and b or str(x) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Remove Answered Questions | |
// @namespace tghw | |
// @include http://stackoverflow.com/ | |
// @include http://stackoverflow.com/questions/* | |
// ==/UserScript== | |
var GM_JQ = document.createElement('script'); | |
GM_JQ.src = 'http://jquery.com/src/jquery-latest.js'; | |
GM_JQ.type = 'text/javascript'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Remove viewed stories & block domains | |
// @namespace nothing | |
// @include http://reddit.com/* | |
// @include http://*.reddit.com/* | |
// ==/UserScript== | |
var site_blacklist = /imgur.com|holytaco.com/ig; | |
function main() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Set Working On | |
// @namespace tghw | |
// @description Adds a Working On button to FogBugz's list page | |
// @include *fogbugz.com/* | |
// ==/UserScript== | |
// Change this to true for FogBugz6 | |
var IS_FOGBUGZ_6 = false; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def log(repo, file): | |
def h(repo, file): | |
l = [repo['tip'][file]] | |
ix = 0 | |
while ix < len(l): | |
l.append([f for f in l[ix].parents() if not f in l]) | |
ix = ix + 1 | |
return l | |
return map(lambda r: r.rev(), h(repo, file)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
USER=user | |
cd ~/src/clones/ | |
for DIR in *; do | |
if [ -d $DIR ]; then | |
cd $DIR | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CmdUtils.CreateCommand({ | |
name: "fogbugz", | |
takes: {"text": noun_arb_text}, | |
modifiers: {"new": noun_arb_text}, | |
homepage: "http://www.fogbugz.com/", | |
icon: "http://www.fogcreek.com/FogBugz/favicon.ico", | |
author: { name: "Tyler Hicks-Wright", email: "support@copilot.com"}, | |
description: "FogBugz", | |
help: "Select some text to search FogBugz.", | |
execute: function(directObject, mods){ |
NewerOlder