<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Posts on My blog</title><link>https://blog.nys.tf/post/</link><description>Recent content in Posts on My blog</description><generator>Hugo -- gohugo.io</generator><language>en</language><lastBuildDate>Thu, 18 Jul 2019 10:04:10 +0000</lastBuildDate><atom:link href="https://blog.nys.tf/post/index.xml" rel="self" type="application/rss+xml"/><item><title>Paste structured messages in multiple inputfields</title><link>https://blog.nys.tf/post/argenta-paste-structural-message/</link><pubDate>Thu, 18 Jul 2019 10:04:10 +0000</pubDate><guid>https://blog.nys.tf/post/argenta-paste-structural-message/</guid><description>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(&#39;No jquery found!&#39;); return; } if (window.hasPasteBookmarkletLoaded) { console.log(&#39;allready loaded&#39;); return; } $(document).ready(function(){ window.hasPasteBookmarkletLoaded = true; $(&#39;body&#39;).</description></item><item><title>Usefull regexes</title><link>https://blog.nys.tf/post/usefull-regexes/</link><pubDate>Thu, 18 Jul 2019 10:04:10 +0000</pubDate><guid>https://blog.nys.tf/post/usefull-regexes/</guid><description>Transform twig translation tags to translation filters Find: (?&amp;lt;!=)[&amp;quot;&#39;]\{% trans %\}(.*?)\{% endtrans %\}([! ]?)[&amp;quot;&#39;]
Replace: &amp;quot;{{ &#39;$1&#39;|trans|escape(&#39;js&#39;) }}$2&amp;quot;</description></item><item><title>Changing Keyboard-layout</title><link>https://blog.nys.tf/post/changing-keyboard-layout/</link><pubDate>Tue, 18 Dec 2018 16:15:57 +0000</pubDate><guid>https://blog.nys.tf/post/changing-keyboard-layout/</guid><description>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 &amp;quot;coder&amp;quot; { include &amp;quot;be(basic)&amp;quot; name[Group1]=&amp;quot;Belgian (Coder)&amp;quot;; key &amp;lt;BKSL&amp;gt; { [ grave, mu, sterling, dead_breve ] }; key &amp;lt;AE09&amp;gt; { [ braceleft, 9, ccedilla, plusminus ] }; key &amp;lt;AE10&amp;gt; { [ braceright, 0, agrave, degree ] }; }; Then changes were made to 4 files in /usr/share/X11/xkb/rules.</description></item></channel></rss>