Skip to content

Instantly share code, notes, and snippets.

@ajakubek
ajakubek / chrome_focus_stealing_prevention.diff
Created August 12, 2012 23:42
Chrome focus stealing prevention.
commit 6e59bfbc45983b8680f023ac07a34cabe80985e5
Author: Adam Jakubek <ajakubek@gmail.com>
Date: Mon Aug 13 01:24:39 2012 +0200
Prevent focus stealing when opening diverted URLs
This patch allows to override current Chrome's behavior, where opening a
link from an external application (e.g. mail client) causes Chrome's
window to steal focus.
It works by introducing a new command line switch
@inhies
inhies / subtree
Last active November 18, 2016 21:15
Subtree is a helper utility for working with git subtrees. Easily add, update, and remove subtrees from your git repo.
#!/bin/bash
# subtree -- a utility to help working with git subtree's
# creator: inhies
# 24 November 2013
version=1.1.1
function usage() {
case "$1" in