Paste structured messages in multiple inputfields

The problem I was not able to paste structured messages into the form of my bank because it used multiple inputfields which would not detect what I was pasting. I made a little bookmarklet that I need to activate before pasting and magically it works! jsFiddle of the solution The bookmarklet javascript:(function(){ if (!window.jQuery) { console.error('No jquery found!'); return; } if (window.hasPasteBookmarkletLoaded) { console.log('allready loaded'); return; } $(document).ready(function(){ window.hasPasteBookmarkletLoaded = true; $('body').

Usefull regexes

Transform twig translation tags to translation filters Find: (?<!=)["']\{% trans %\}(.*?)\{% endtrans %\}([! ]?)["'] Replace: "{{ '$1'|trans|escape('js') }}$2"

Changing Keyboard-layout

Source This is all based on http://rlog.rgtti.com/2014/05/01/how-to-modify-a-keyboard-layout-in-linux I made a change to /usr/share/X11/xkb/symbols/be. The following was added: // Coder layout partial alphanumeric_keys xkb_symbols "coder" { include "be(basic)" name[Group1]="Belgian (Coder)"; key <BKSL> { [ grave, mu, sterling, dead_breve ] }; key <AE09> { [ braceleft, 9, ccedilla, plusminus ] }; key <AE10> { [ braceright, 0, agrave, degree ] }; }; Then changes were made to 4 files in /usr/share/X11/xkb/rules.