I hereby claim:
- I am ndreas on github.
- I am ndreas (https://keybase.io/ndreas) on keybase.
- I have a public key ASB5ueyZaBF5BYQGgPKMb8LOEdLHScV_0nmr3Ra03OVT3Qo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
// ==UserScript== | |
// @name XDA Developers forum width | |
// @description Sets a smaller width on forum posts on http://forum.xda-developers.com/ | |
// @namespace http://stdin.se/userscripts/xdawidth | |
// @author ndreas | |
// @license The ISC License (http://www.isc.org/software/license) | |
// @version 1.1 | |
// @include http://forum.xda-developers.com/* | |
// @history 1.1 added style tweak for paging controls | |
// @history 1.0 first version |
// ==UserScript== | |
// @name Remember The Milk login page redirector | |
// @description Redirects to home if you go to the login page while logged in | |
// @namespace http://stdin.se/userscripts/rtmredir | |
// @author ndreas | |
// @license The ISC License (http://www.isc.org/software/license) | |
// @version 1.0 | |
// @include https://www.rememberthemilk.com/login/* | |
// @history 1.0 first version | |
// ==/UserScript== |
use Irssi; | |
use Irssi::Irc; | |
use IO::Handle; | |
use Env qw(TMUX); | |
$VERSION = "0.1"; | |
%IRSSI = ( | |
authors => 'Andreas Johansson', | |
contact => '[email protected]', | |
name => 'iterm_growl', |
if exists("b:did_indent") | |
finish | |
endif | |
let b:did_indent = 1 | |
setlocal indentexpr=HtmlIndentGet(v:lnum) | |
setlocal indentkeys=o,O,*<Return>,<>>,<<>,/,{,} | |
if exists('*HtmlIndentGet') | finish | endif | |
" |
The changes were made twice in the binary "iTerm Module" since the script is embedded twice. I just opened the binary in Vim and searched for "activate" to find the scripts. | |
Changes: | |
- Create a new window instead of a tab (I prefer it that way) | |
- Launch the default session instead of creating a new session | |
- Disable the bash-commands since it overrode my default shell, zsh | |
The strange indentation in the modified file is due to the fact that the binary b0rks if the string length is changed. If it does not work, try removing or adding characters in the script. Quicksilver generates an error message on startup (for example in Console.app) if there is something wrong with the binary. |