- 180+ cognitive biases, codified and categorized by Buster Benson: Cognitive bias cheat sheet
- printed poster version: now available from Design Hacks
This file contains hidden or 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 |
This file contains hidden or 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 hidden or 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)" |
This file contains hidden or 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 hidden or 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 hidden or 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. | |
| # * |