- 180+ cognitive biases, codified and categorized by Buster Benson: Cognitive bias cheat sheet
- printed poster version: now available from Design Hacks
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/bash | |
# | |
# License: | |
# * Copyright (C) 2014 Héctor Molinero Fernández | |
# * | |
# * This program 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 3 of the License, or | |
# * (at your option) any later version. | |
# * |
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 | |
# Author: Héctor Molinero Fernández <hector@molinero.xyz> | |
# License: MIT, https://opensource.org/licenses/MIT | |
# Usage: | |
# ssh root@xxx.xxx.xxx.xxx 'sh -s' < tomato_backup.sh > tomato_restore.sh | |
# ssh root@xxx.xxx.xxx.xxx 'sh -s' < tomato_restore.sh | |
set -eu | |
export LC_ALL=C |
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 Disqus VigLink remover | |
// @namespace xyz.molinero | |
// @version 1.0.2 | |
// @grant none | |
// @run-at document-end | |
// @include /^https?:\/\/(www\.)?disqus.com\/embed\/.*$/ | |
// @downloadURL https://gist.github.com/zant95/9f1867da5170240b3a8943857fdb900d/raw/DisqusVigLinkRemover.user.js | |
// ==/UserScript== |
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 | |
set -eu | |
GIT_DIR="${HOME}/.dotfiles"; | |
GIT_CMD="${1:-}" | |
dotgit() { | |
git --git-dir="${GIT_DIR}" --work-tree="${HOME}" "$@" | |
} |
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 | |
set -eu | |
sleep -- "${1:-5}" | |
xdotool type --delay 50 -- "$(xsel -bo | tr \\n \\r | sed s/\\r*\$//g)" |
I hereby claim:
- I am hectorm on github.
- I am hectorm (https://keybase.io/hectorm) on keybase.
- I have a public key whose fingerprint is D286 3C42 4639 2093 DE02 86B6 921F 464C E33C 86CF
To claim this, I am signing this object:
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 | |
# Author: Héctor Molinero Fernández <hector@molinero.xyz> | |
# License: MIT, https://opensource.org/licenses/MIT | |
# Usage: | |
# ssh root@xxx.xxx.xxx.xxx 'sh -s' < dd_wrt_backup.sh > dd_wrt_restore.sh | |
# ssh root@xxx.xxx.xxx.xxx 'sh -s' < dd_wrt_restore.sh | |
set -eu | |
export LC_ALL=C |
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
[Unit] | |
Description=he.net IPv6 tunnel | |
After=network-online.target | |
Wants=network-online.target | |
[Service] | |
Type=oneshot | |
RemainAfterExit=yes | |
Environment=SERVER_IPV4_ADDR=xxx.xxx.xxx.xxx | |
Environment=CLIENT_IPV6_ADDR=xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx/xx |