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
Goal: | |
Expected code changes: | |
Surprises: | |
General Notes: |
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 Duck Duck Go insta-bang | |
// @description Hitting "g" focuses search and appends an ! | |
// @include https://www.duckduckgo.com/* | |
// @include https://duckduckgo.com/* | |
// @include http://duckduckgo.com/* | |
// ==/UserScript== | |
(function(){ |
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
{"lastUpload":"2018-01-03T09:10:20.634Z","extensionVersion":"v2.8.7"} |
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
function beeper_preexec { | |
focus_window=`xdotool getwindowfocus` | |
} | |
function beeper_precmd { | |
retval=$? | |
if [[ $focus_window -ne `xdotool getwindowfocus` ]]; then | |
if [[ $retval -ne 0 ]]; then | |
beep -f 329.6 |