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
| # Remap Danish MacBook keyboard to what is on the keys (by: sorenpeter@darch.dk) | |
| # Based on: https://askubuntu.com/questions/843590/key-keycode-49-and-key-keycode-94-are-inverted-on-macbookpro-keyboar | |
| # HOWTO: Save this as bash script and run it at statup/login | |
| # Swap key under esc and next to z, plus fix dollersign | |
| xmodmap -e "keycode 49 = less greater less greater backslash notsign backslash" | |
| xmodmap -e "keycode 94 = dollar section onehalf section threequarters paragraph threequarters" | |
| #xmodmap -e "keycode 0x5E = dollar section onehalf section threequarters paragraph threequarters" | |
| #xmodmap -e "keycode 0x31 = less greater less greater backslash notsign backslash" |
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
| <?php | |
| # Licensed under a CC0 1.0 Universal (CC0 1.0) Public Domain Dedication | |
| # http://creativecommons.org/publicdomain/zero/1.0/ | |
| if (!isset($_POST['source']) || !isset($_POST['target'])) { | |
| header($_SERVER['SERVER_PROTOCOL'] . ' 400 Bad Request'); | |
| exit; | |
| } |