Downloads https://tech.feedyourhead.at/tags/downloads en cryptorecord 0.9.2 released https://tech.feedyourhead.at/content/cryptorecord-0-9-2-released <span class="field field--name-title field--type-string field--label-hidden">cryptorecord 0.9.2 released</span> <div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><p>I proudly pronounce the first (pre-)release of <a href="https://github.com/whotwagner/cryptorecord">cryptorecord</a>. Cryptorecords is a ruby gem that provides an API and scripts for creating crypto-related dns-records(e.g. DANE). Currently it supports TLSA, OPENPGPKEYS and SSHFP but I plan to support other records in future. The API doesn't create any keys or certificates. It just takes existing keyfiles to create the DNS-records.<br /> &nbsp;</p> <ul> </ul> <h3>Installation</h3> <p>The gem is available on <a href="https://rubygems.org/">Rubygems</a>. Add this line to your application's Gemfile:</p> <pre> <code> gem 'cryptorecord' </code></pre> <p>And then execute:</p> <pre> <code> $ bundle </code></pre> <p>Or install it yourself as:</p> <pre> <code> $ gem install cryptorecord </code></pre> <h3>Usage</h3> <p>This gem comes with a bunch of handy executables that helps creating the dns-records:</p> <ul> <li>openpgpkeysrecord</li> <li>sshfprecord</li> <li>tlsarecord</li> </ul> <pre> <code> Usage: ./openpgpkeysrecord -u <email> -f <gpgkeyfile> -h, --help This help screen -f PGP-PUBLICKEY-FILE, PGP-Publickey-File --publickeyfile -u, --uid EMAIL email-address </gpgkeyfile></email></code></pre> <pre> <code> Usage: ./sshfprecord [ options ] -h, --help This help screen -f SSH-HOST-KEY-FILE, SSH-Hostkey-File --hostkeyfile -H, --host HOST host -d, --digest DIGEST HASH-Algorithm -r, --read-local-hostkeys Read all local Hostkeys.(like ssh-keygen -r) </code></pre> <pre> <code> Usage: ./tlsarecord [ options ] -h, --help This help screen -f, --certfile CERTIFICATE-FILE Certificatefile -H, --host HOST host -p, --port PORTNUMBER port -P, --protocol PROTOCOL protocol(tcp,udp,sctp..) -s, --selector SELECTOR Selector for the association. 0 = Full Cert, 1 = SubjectPublicKeyInfo -u, --usage USAGE Usage for the association. 0 = PKIX-CA, 1 = PKIX-EE, 2 = DANE-TA, 3 = DANE-EE -t, --mtype MTYPE The Matching Type of the association. 0 = Exact Match, 1 = SHA-256, 2 = SHA-512 </code></pre> <h4>TLSA-Example</h4> <pre> <code> #!/usr/bin/env ruby require 'cryptorecord' selector = 0 mtype = 0 usage = 3 port = 443 proto = "tcp" host = "www.example.com" tlsa = Cryptorecord::Tlsa.new(:selector =&gt; selector, :mtype =&gt; mtype, :usage =&gt; usage, :port =&gt; port, :proto =&gt; proto, :host =&gt; host ) tlsa.read_file("/etc/ssl/certs/ssl-cert-snakeoil.pem") puts tlsa </code></pre> <h4>SSHFP-Example</h4> <pre> <code> #!/usr/bin/env ruby require 'cryptorecord' sshfp = Cryptorecord::Sshfp.new(:digest =&gt; 1, :keyfile =&gt; '/etc/ssh/ssh_host_rsa_key.pub', :host =&gt; 'www.example.com') puts sshfp </code></pre> <h4>OPENPGPKEYS-Example</h4> <pre> <code> #!/usr/bin/env ruby require 'cryptorecord' sshfp = Cryptorecord::Openpgpkeys.new(:uid =&gt; "hacky@hacktheplanet.com") sshfp.read_file("resources/hacky.asc") puts sshfp </code></pre> <h3>Documentation</h3> <p>The documentation can be found at <a href="https://www.rubydoc.info/gems/cryptorecord/">rubydoc.info</a></p> </div> <span class="field field--name-uid field--type-entity-reference field--label-hidden"><span lang="" about="/users/hoti" typeof="schema:Person" property="schema:name" datatype="">Hoti</span></span> <span class="field field--name-created field--type-created field--label-hidden">May 17 2018</span> <div class="field field--name-field-tagies field--type-entity-reference field--label-above"> <div class="field__label">Tags</div> <div class='field__items'> <div class="field__item"><i class="fa fa-tags"></i> <a href="/tags/ruby" hreflang="en">Ruby</a></div> <div class="field__item"><i class="fa fa-tags"></i> <a href="/tags/download" hreflang="en">Download</a></div> <div class="field__item"><i class="fa fa-tags"></i> <a href="/tags/downloads" hreflang="en">Downloads</a></div> <div class="field__item"><i class="fa fa-tags"></i> <a href="/Programming" hreflang="en">Programming</a></div> <div class="field__item"><i class="fa fa-tags"></i> <a href="/tags/security" hreflang="en">Security</a></div> <div class="field__item"><i class="fa fa-tags"></i> <a href="/tags/crypto" hreflang="en">Crypto</a></div> <div class="field__item"><i class="fa fa-tags"></i> <a href="/tags/network" hreflang="en">Network</a></div> </div> </div> <section class="field field--name-comment-node-blog field--type-comment field--label-hidden comment-wrapper"> </section> <section class="field field--name-comment field--type-comment field--label-above comment-wrapper"> <h2 class='title comment-form__title'> <i class="fa fa-comments-o"></i> Add new comment</h2> <drupal-render-placeholder callback="comment.lazy_builders:renderForm" arguments="0=node&amp;1=266&amp;2=comment&amp;3=comment" token="8fEI7N9n01EddQ0Ug03YejZAPosvCE9slAcfuGxj-AI"></drupal-render-placeholder> </section> Thu, 17 May 2018 10:13:20 +0000 Hoti 266 at https://tech.feedyourhead.at Managing MaraDNS with Ansible https://tech.feedyourhead.at/content/managing-maradns-with-ansible <span class="field field--name-title field--type-string field--label-hidden">Managing MaraDNS with Ansible</span> <div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><p>I wrote a <a href="https://github.com/whotwagner/ansible-role-maradns">role for managing MaraDNS with Ansible</a>.</p> <h3>Requirements</h3> <ul> <li>Ansible 2.1+ (might ork with prior versions too)</li> <li>Debian-based Linux-distribution</li> </ul> <h3>Installation</h3> <p><code>ansible-galaxy install whotwagner.maradns</code></p> <h3>Configuration Example</h3> <pre><code> maradns_zones: - name: example.com email: support@example.com spf: - { val: 'v=spf1 ip4:212.41.224.0/24 -all' } txt: - { val: 'v=spf1 ip4:212.41.224.0/24 -all' } - { name: 'xmas', val: 'Merry Christmas' } ns: - { val: ns1.example.com. } - { val: ns2.example.com. } - { name: 'subdom.%', val: 'ns1.%' } mx: - { prio: 5, rec: mx.example.com. } - { prio: 10, rec: mx2.% } srv: - { name: "_sip._udp", val: "0 0 5060 sip.%" } fqdn4: - { domain: "mx", ip: "7.7.7.7" } ptr: - { domain: "www", ip: "8.8.8.8" } a: - { ip: 8.8.8.8 } - { domain: 'www', ip: 8.8.8.8 } - { domain: 'sip', ip: 6.6.6.6 } # the following zone is disabled: - name: alice.com enabled: False </pre><code></div> <span class="field field--name-uid field--type-entity-reference field--label-hidden"><span lang="" about="/users/hoti" typeof="schema:Person" property="schema:name" datatype="">Hoti</span></span> <span class="field field--name-created field--type-created field--label-hidden">Aug 28 2017</span> <div class="field field--name-field-tagies field--type-entity-reference field--label-above"> <div class="field__label">Tags</div> <div class='field__items'> <div class="field__item"><i class="fa fa-tags"></i> <a href="/tags/ansible" hreflang="en">Ansible</a></div> <div class="field__item"><i class="fa fa-tags"></i> <a href="/Programming" hreflang="en">Programming</a></div> <div class="field__item"><i class="fa fa-tags"></i> <a href="/tags/sysadmin" hreflang="en">Sysadmin</a></div> <div class="field__item"><i class="fa fa-tags"></i> <a href="/Linux" hreflang="en">Linux</a></div> <div class="field__item"><i class="fa fa-tags"></i> <a href="/tags/downloads" hreflang="en">Downloads</a></div> </div> </div> <section class="field field--name-comment-node-blog field--type-comment field--label-hidden comment-wrapper"> </section> <section class="field field--name-comment field--type-comment field--label-above comment-wrapper"> <h2 class='title comment-form__title'> <i class="fa fa-comments-o"></i> Add new comment</h2> <drupal-render-placeholder callback="comment.lazy_builders:renderForm" arguments="0=node&amp;1=243&amp;2=comment&amp;3=comment" token="zU_W2MAJyqckkwjlDcj7hoIYMTQfaajbt8qlMirMjXA"></drupal-render-placeholder> </section> Mon, 28 Aug 2017 18:28:00 +0000 Hoti 243 at https://tech.feedyourhead.at check_mk-rbl - A check_mk-plugin that monitors public ipv4 addresses https://tech.feedyourhead.at/content/check_mk-rbl-a_check_mk_plugin_that_alerts_blacklisted_addresses <span class="field field--name-title field--type-string field--label-hidden">check_mk-rbl - A check_mk-plugin that monitors public ipv4 addresses</span> <div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><p>Check_MK is a great monitoring tool. One of it's strengths actually is, that it can automatically detect services and monitors it. I always monitored all public ip-addresses of my servers if they are listed on any dns-blacklist. I  had to add new public ip's manually, so I reached out for a new solution. I found a nice little plugin in a <a href="https://github.com/HeinleinSupport/check_mk">GitHub-repository of HeinleinSupport</a>. The plugin waIs great, but I missed two things. First, it checks all Ipv4-addresses of a server,  including private addresses and second it uses hardcoded dnsrbl-server. So I modified the script so that it checks only public addresses and it can use an ini-file, if it exists(otherwhise it still uses hardcoded dns-servers). My modified version <a href="https://github.com/whotwagner/check_mk-rbl">check_mk-rbl is available on github</a>.</p></div> <span class="field field--name-uid field--type-entity-reference field--label-hidden"><span lang="" about="/users/hoti" typeof="schema:Person" property="schema:name" datatype="">Hoti</span></span> <span class="field field--name-created field--type-created field--label-hidden">Aug 20 2017</span> <div class="field field--name-field-tagies field--type-entity-reference field--label-above"> <div class="field__label">Tags</div> <div class='field__items'> <div class="field__item"><i class="fa fa-tags"></i> <a href="/Programming" hreflang="en">Programming</a></div> <div class="field__item"><i class="fa fa-tags"></i> <a href="/taxonomy/term/100" hreflang="en">Monitoring</a></div> <div class="field__item"><i class="fa fa-tags"></i> <a href="/taxonomy/term/102" hreflang="en">Check_MK</a></div> <div class="field__item"><i class="fa fa-tags"></i> <a href="/tags/downloads" hreflang="en">Downloads</a></div> <div class="field__item"><i class="fa fa-tags"></i> <a href="/tags/sysadmin" hreflang="en">Sysadmin</a></div> </div> </div> <section class="field field--name-comment-node-blog field--type-comment field--label-hidden comment-wrapper"> </section> <section class="field field--name-comment field--type-comment field--label-above comment-wrapper"> <h2 class='title comment-form__title'> <i class="fa fa-comments-o"></i> Add new comment</h2> <drupal-render-placeholder callback="comment.lazy_builders:renderForm" arguments="0=node&amp;1=242&amp;2=comment&amp;3=comment" token="kz-R6sHq8pRhFgqjnweZhHBFUpaijkAlj65nngshbmU"></drupal-render-placeholder> </section> Sun, 20 Aug 2017 08:12:05 +0000 Hoti 242 at https://tech.feedyourhead.at Using the new statx() system-call https://tech.feedyourhead.at/content/using-the-new-statx-system-call <span class="field field--name-title field--type-string field--label-hidden">Using the new statx() system-call </span> <div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><p>In the Linux Kernel 4.11 <a href="https://kernelnewbies.org/Linux_4.11#head-317feedf73dcc7b97e7b28e2d478c54e3bd0b412">a new system-call statx() was introduced.</a> The old stat() system-call is used to get meta-data(like size, permissions aso.) of files and directories. Stat() lacks functionallity for remote filesystems and collects all the information of a file at once which might lead to slow operations. <a href="https://lwn.net/Articles/707602/">Statx()</a> is a new implementation of stat. The caller can request specific information(like just the size of a file) to speed up the call. If the filesystem is a remote filesystem, it is possible to let statx() first sync with the remote-server before requesting the information(or just be fine with the cached infos). Another nice feature is that statx() can also be used to get extra fileattributes like: "is the file encrypted or compressed?".</p> <p>To get a feeling for statx() and to learn how to use it, I wrote a little <a href="https://github.com/whotwagner/statx-fun">statx()-application and published it on github</a>. At the moment the glibc doesn't support statx() so I had to use the generic syscall()-function and create my own statx()-header-file to make it work.</p></div> <span class="field field--name-uid field--type-entity-reference field--label-hidden"><span lang="" about="/users/hoti" typeof="schema:Person" property="schema:name" datatype="">Hoti</span></span> <span class="field field--name-created field--type-created field--label-hidden">Jun 04 2017</span> <div class="field field--name-field-tagies field--type-entity-reference field--label-above"> <div class="field__label">Tags</div> <div class='field__items'> <div class="field__item"><i class="fa fa-tags"></i> <a href="/Programming" hreflang="en">Programming</a></div> <div class="field__item"><i class="fa fa-tags"></i> <a href="/tags/downloads" hreflang="en">Downloads</a></div> <div class="field__item"><i class="fa fa-tags"></i> <a href="/tags/c" hreflang="en">C</a></div> </div> </div> <section class="field field--name-comment-node-blog field--type-comment field--label-hidden comment-wrapper"> </section> <section class="field field--name-comment field--type-comment field--label-above comment-wrapper"> <h2 class='title comment-form__title'> <i class="fa fa-comments-o"></i> Add new comment</h2> <drupal-render-placeholder callback="comment.lazy_builders:renderForm" arguments="0=node&amp;1=239&amp;2=comment&amp;3=comment" token="UEqJblgvDLsyBRLIA0F9atdiaIH0yG49vsgyqw32eGc"></drupal-render-placeholder> </section> Sun, 04 Jun 2017 20:37:21 +0000 Hoti 239 at https://tech.feedyourhead.at Suricata Ruby-Gem https://tech.feedyourhead.at/content/suricata-ruby-gem <span class="field field--name-title field--type-string field--label-hidden">Suricata Ruby-Gem</span> <div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><p>I wrote a <a href="https://github.com/whotwagner/suricata">Ruby-Gem</a> for suricata. It offers classes to parse suricata-logs and ships with a nagios-plugin</p> <h2>Installation</h2> <p>Just call:</p> <pre> <code> gem install suricata </code></pre> <h2>Usage</h2> <p>The nagios-plugin searches for specific strings in the description-part of a logfile-entry. It's possible to create a whitelist of search hits which should be excluded.</p> <pre> <code> Usage: check_suricata [ -a alertfile ] [ -w whitelistfile ] -e searchstring -h, --help This help screen -a, --alertfile ALERTFILE alertfile(default: /var/log/suricata/fast.log) -w, --whitelist WHITELISTFILE whitelistfile -e, --search STRING searchstring -i, --interactive interactive -k, --ackfile ACKFILE ackfile(default: /tmp/surack.lst) </code></pre> <p>It is possible to interactively acknowlege search hits so that they will not occur on the next search:</p> <pre> <code> check_suricata -i -e "ET CHAT" Acknowlege the following entry: 10/04/2016-13:39:45.498785 [**] [1:2001595:10] ET CHAT Skype VOIP Checking Version (Startup) [**] [Classification: Potential Corporate Privacy Violation] [Priority: 1] {TCP} 192.168.0.1:40460 -&gt; 15.14.13.12:80 Acknowlege(y|n): y Acknowlege the following entry: 10/05/2016-09:25:01.186862 [**] [1:2001595:10] ET CHAT Skype VOIP Checking Version (Startup) [**] [Classification: Potential Corporate Privacy Violation] [Priority: 1] {TCP} 192.168.0.1:49491 -&gt; 100.254.198.10:80 Acknowlege(y|n): n </code></pre> <h2>Download the Sources</h2> <p>The sources can be found on my <a href="https://github.com/whotwagner/">github-account</a> and can be downloaded using git:</p> <pre> <code> git clone https://github.com/whotwagner/suricata </code></pre> <h2>Future Work</h2> <p>I currently work on a logfile-analyzer for Suricata. It will be included in the furure versions of this gem.</p> </div> <span class="field field--name-uid field--type-entity-reference field--label-hidden"><span lang="" about="/users/hoti" typeof="schema:Person" property="schema:name" datatype="">Hoti</span></span> <span class="field field--name-created field--type-created field--label-hidden">Oct 11 2016</span> <div class="field field--name-field-tagies field--type-entity-reference field--label-above"> <div class="field__label">Tags</div> <div class='field__items'> <div class="field__item"><i class="fa fa-tags"></i> <a href="/Programming" hreflang="en">Programming</a></div> <div class="field__item"><i class="fa fa-tags"></i> <a href="/tags/downloads" hreflang="en">Downloads</a></div> <div class="field__item"><i class="fa fa-tags"></i> <a href="/tags/ruby" hreflang="en">Ruby</a></div> <div class="field__item"><i class="fa fa-tags"></i> <a href="/tags/git" hreflang="en">git</a></div> <div class="field__item"><i class="fa fa-tags"></i> <a href="/taxonomy/term/97" hreflang="en">Toscom</a></div> </div> </div> <section class="field field--name-comment-node-blog field--type-comment field--label-hidden comment-wrapper"> </section> <section class="field field--name-comment field--type-comment field--label-above comment-wrapper"> <h2 class='title comment-form__title'> <i class="fa fa-comments-o"></i> Add new comment</h2> <drupal-render-placeholder callback="comment.lazy_builders:renderForm" arguments="0=node&amp;1=209&amp;2=comment&amp;3=comment" token="OxMQl9MNyO5Ozx66YFYnJzt2HiZEoOsLthrf6eJoXdE"></drupal-render-placeholder> </section> Tue, 11 Oct 2016 14:09:28 +0000 Hoti 209 at https://tech.feedyourhead.at Simple WebApp-Stress-Tool https://tech.feedyourhead.at/content/simulty <span class="field field--name-title field--type-string field--label-hidden">Simple WebApp-Stress-Tool</span> <div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><p>I wrote a simple webapp-stress-tool. <a href="https://github.com/whotwagner/simulty">Simulty</a> is a very simple webapp-stress-tool. It reads random urls from a file and executes multiple get-requests simultaneously to them.</p> <h2>Download:</h2> <pre> <code> git clone https://github.com/whotwagner/simulty </code></pre> <h2>Usage:</h2> <p>Create a file with one url per line and start the stresstest with:</p> <pre> <code> ./simulty.rb <urlfile> <number-of-threads> </number-of-threads></urlfile></code></pre> <h2>Sample-Urlfile:</h2> <pre> <code> http://www.somefoobar.com/index.php?fun https://www.somefoobar.com/user/login.php http://www.somefoobar.com/whatever/somewhere/over/the/rainbow.php </code></pre> <p>Tip: This Urlfile could be generated from a logfile.</p> </div> <span class="field field--name-uid field--type-entity-reference field--label-hidden"><span lang="" about="/users/hoti" typeof="schema:Person" property="schema:name" datatype="">Hoti</span></span> <span class="field field--name-created field--type-created field--label-hidden">Apr 22 2016</span> <div class="field field--name-field-tagies field--type-entity-reference field--label-above"> <div class="field__label">Tags</div> <div class='field__items'> <div class="field__item"><i class="fa fa-tags"></i> <a href="/tags/downloads" hreflang="en">Downloads</a></div> <div class="field__item"><i class="fa fa-tags"></i> <a href="/tags/ruby" hreflang="en">Ruby</a></div> <div class="field__item"><i class="fa fa-tags"></i> <a href="/Programming" hreflang="en">Programming</a></div> <div class="field__item"><i class="fa fa-tags"></i> <a href="/tags/network" hreflang="en">Network</a></div> <div class="field__item"><i class="fa fa-tags"></i> <a href="/tags/web" hreflang="en">Web</a></div> <div class="field__item"><i class="fa fa-tags"></i> <a href="/taxonomy/term/97" hreflang="en">Toscom</a></div> </div> </div> <section class="field field--name-comment-node-blog field--type-comment field--label-hidden comment-wrapper"> </section> <section class="field field--name-comment field--type-comment field--label-above comment-wrapper"> <h2 class='title comment-form__title'> <i class="fa fa-comments-o"></i> Add new comment</h2> <drupal-render-placeholder callback="comment.lazy_builders:renderForm" arguments="0=node&amp;1=177&amp;2=comment&amp;3=comment" token="PTQEqErQeUkRAVDafW9aRuz25ARuUyrr5dGbKFPfnqI"></drupal-render-placeholder> </section> Fri, 22 Apr 2016 10:25:55 +0000 Hoti 177 at https://tech.feedyourhead.at Support for vivaldi(browser) added to the multimedia-docker-container https://tech.feedyourhead.at/content/vivaldi-to-the-multimedia-docker-container <span class="field field--name-title field--type-string field--label-hidden">Support for vivaldi(browser) added to the multimedia-docker-container</span> <div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><p>I added the <a href="https://vivaldi.com/">Vivaldi-Browser</a> to my <a href="https://tech.feedyourhead.at/node/137">multimedia-docker-container</a>.</p> <p>Just rebuild the image:</p> <pre> <code> ./run_mm.sh build </code></pre> <p>..and then run the app:</p> <pre> <code> ./run_mm.sh vivaldi </code></pre> </div> <span class="field field--name-uid field--type-entity-reference field--label-hidden"><span lang="" about="/users/hoti" typeof="schema:Person" property="schema:name" datatype="">Hoti</span></span> <span class="field field--name-created field--type-created field--label-hidden">Apr 02 2016</span> <div class="field field--name-field-tagies field--type-entity-reference field--label-above"> <div class="field__label">Tags</div> <div class='field__items'> <div class="field__item"><i class="fa fa-tags"></i> <a href="/tags/docker" hreflang="en">Docker</a></div> <div class="field__item"><i class="fa fa-tags"></i> <a href="/tags/downloads" hreflang="en">Downloads</a></div> <div class="field__item"><i class="fa fa-tags"></i> <a href="/taxonomy/term/96" hreflang="en">Browser</a></div> </div> </div> <section class="field field--name-comment-node-blog field--type-comment field--label-hidden comment-wrapper"> </section> <section class="field field--name-comment field--type-comment field--label-above comment-wrapper"> <h2 class='title comment-form__title'> <i class="fa fa-comments-o"></i> Add new comment</h2> <drupal-render-placeholder callback="comment.lazy_builders:renderForm" arguments="0=node&amp;1=172&amp;2=comment&amp;3=comment" token="M2pywU0Iu9x22R95dVfV0f0vmCKdhAJDoKPQYRB4Q2M"></drupal-render-placeholder> </section> Sat, 02 Apr 2016 14:52:39 +0000 Hoti 172 at https://tech.feedyourhead.at Space Invaders using 8x8 LED-Display on Tiva-Board TM4C1294XL https://tech.feedyourhead.at/node/145 <span class="field field--name-title field--type-string field--label-hidden">Space Invaders using 8x8 LED-Display on Tiva-Board TM4C1294XL</span> <div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><p>I created 2 tasks in RTOS: one for reading from uart and one for the display(<a href="http://www.mikroe.com/click/8x8-r/">8x8 LED-Matrix</a>). Both tasks are communicating via queues. The space-invaders-programm gets started by pressing F1. If F2 is pressed, the programm will display all keyboard-input on the led-display.</p> <p> <video controls="" height="1280" width="720"><source src="/sites/default/files/DateiUploads/tiva.ogv" type="video/ogg" /></video> </p> <p><a href="/sites/default/files/DateiUploads/RTOS_8x8Click.tar.gz">Click here to download the sources</a></p> </div> <span class="field field--name-uid field--type-entity-reference field--label-hidden"><span lang="" about="/users/hoti" typeof="schema:Person" property="schema:name" datatype="">Hoti</span></span> <span class="field field--name-created field--type-created field--label-hidden">Jan 15 2016</span> <div class="field field--name-field-tagies field--type-entity-reference field--label-above"> <div class="field__label">Tags</div> <div class='field__items'> <div class="field__item"><i class="fa fa-tags"></i> <a href="/tags/hackaday" hreflang="en">HackADay</a></div> <div class="field__item"><i class="fa fa-tags"></i> <a href="/tags/downloads" hreflang="en">Downloads</a></div> <div class="field__item"><i class="fa fa-tags"></i> <a href="/tags/hardware" hreflang="en">Hardware</a></div> </div> </div> <section class="field field--name-comment-node-blog field--type-comment field--label-hidden comment-wrapper"> </section> <div class="node__links"> <ul class="links inline"><li class="comment-add"><a href="/node/145#comment-form" title="Share your thoughts and opinions." hreflang="en">Add new comment</a></li></ul> </div> <section class="field field--name-comment field--type-comment field--label-above comment-wrapper"> <h2 class="title">Comments</h2> <a id="comment-103"></a> <article data-comment-user-id="0" about="/comment/103" typeof="schema:Comment" class="comment js-comment by-anonymous"> <mark class="hidden" data-comment-timestamp="1543927016"></mark> <footer class="comment__meta"> <article typeof="schema:Person" about="/user/0" class="profile"> </article> <p class="comment__submitted"><span rel="schema:author">Submitted by <span lang="" typeof="schema:Person" property="schema:name" datatype="">TheDap (not verified)</span> on Nov 30 2018</span> <span property="schema:dateCreated" content="2018-11-30T08:37:33+00:00" class="rdf-meta hidden"></span> </p> <a href="/comment/103#comment-103" hreflang="en">Permalink</a> </footer> <div class="content"> <h3 property="schema:name" datatype=""><a href="/comment/103#comment-103" class="permalink" rel="bookmark" hreflang="en">uwielbiam was</a></h3> <div property="schema:text" class="clearfix text-formatted field field--name-comment-body field--type-text-long field--label-hidden field__item"><p>hello. i am from poland. i uwielbiam was!</p> </div> <drupal-render-placeholder callback="comment.lazy_builders:renderLinks" arguments="0=103&amp;1=default&amp;2=en&amp;3=" token="8IxLol-RCK2QfmlXRvmS1Zp3_qGocngfdI12BVy7jd0"></drupal-render-placeholder> </div> </article> <div class="indented"><a id="comment-104"></a> <article data-comment-user-id="1" about="/comment/104" typeof="schema:Comment" class="comment js-comment by-node-author"> <mark class="hidden" data-comment-timestamp="1543927047"></mark> <footer class="comment__meta"> <article typeof="schema:Person" about="/users/hoti" class="profile"> </article> <p class="comment__submitted"><span rel="schema:author">Submitted by <span lang="" about="/users/hoti" typeof="schema:Person" property="schema:name" datatype="">Hoti</span> on Dec 04 2018</span> <span property="schema:dateCreated" content="2018-12-04T12:37:27+00:00" class="rdf-meta hidden"></span> </p> <p class="parent visually-hidden">In reply to <a href="/comment/103#comment-103" class="permalink" rel="bookmark" hreflang="en">uwielbiam was</a> by <span lang="" typeof="schema:Person" property="schema:name" datatype="">TheDap (not verified)</span></p> <a href="/comment/104#comment-104" hreflang="en">Permalink</a> </footer> <div class="content"> <h3 property="schema:name" datatype=""><a href="/comment/104#comment-104" class="permalink" rel="bookmark" hreflang="en">haha allways happy to help</a></h3> <div property="schema:text" class="clearfix text-formatted field field--name-comment-body field--type-text-long field--label-hidden field__item">haha allways happy to help</div> <drupal-render-placeholder callback="comment.lazy_builders:renderLinks" arguments="0=104&amp;1=default&amp;2=en&amp;3=" token="Hi0vDbW9YLQBsq24HB9m3StO776yQ05F1sYedZo5310"></drupal-render-placeholder> </div> </article> </div><a id="comment-107"></a> <article data-comment-user-id="0" about="/comment/107" typeof="schema:Comment" class="comment js-comment by-anonymous"> <mark class="hidden" data-comment-timestamp="1546279262"></mark> <footer class="comment__meta"> <article typeof="schema:Person" about="/user/0" class="profile"> </article> <p class="comment__submitted"><span rel="schema:author">Submitted by <span lang="" typeof="schema:Person" property="schema:name" datatype="">ltonropit (not verified)</span> on Dec 25 2018</span> <span property="schema:dateCreated" content="2018-12-25T16:51:48+00:00" class="rdf-meta hidden"></span> </p> <a href="/comment/107#comment-107" hreflang="en">Permalink</a> </footer> <div class="content"> <h3 property="schema:name" datatype=""><a href="/comment/107#comment-107" class="permalink" rel="bookmark" hreflang="en">Hi everyone. I need to help</a></h3> <div property="schema:text" class="clearfix text-formatted field field--name-comment-body field--type-text-long field--label-hidden field__item"><p>I am ltonser. I need help. What can i do it?</p> </div> <drupal-render-placeholder callback="comment.lazy_builders:renderLinks" arguments="0=107&amp;1=default&amp;2=en&amp;3=" token="pc58SuPlL1cyFmEt5f6veN6PvB2IkTk_FO1GhL2Yo3Y"></drupal-render-placeholder> </div> </article> <h2 class='title comment-form__title'> <i class="fa fa-comments-o"></i> Add new comment</h2> <drupal-render-placeholder callback="comment.lazy_builders:renderForm" arguments="0=node&amp;1=145&amp;2=comment&amp;3=comment" token="a33qdQaTba_r0l1vv_FwBZIgC6oqt3O6UNjiRBrveEo"></drupal-render-placeholder> </section> Fri, 15 Jan 2016 20:42:16 +0000 Hoti 145 at https://tech.feedyourhead.at Docker-Container for skype and spotify https://tech.feedyourhead.at/node/137 <span class="field field--name-title field--type-string field--label-hidden"> Docker-Container for skype and spotify</span> <div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><p>I uploaded on<a href="https://github.com/whotwagner/multimedia-docker"> GitHub a project</a> that contains a dockerfile for building a multimedia-image. This image is based on ubuntu trusty and has google-chrome, skype, firefox and spotify pre-installed. One could use this docker-image to keep his system clean from closed-source software by seperating it using a container. Of course it is possible to run all those applications at once</p> <h2>Requirements:</h2> <ul><li>pulseaudio running on the host</li> <li>X11 running on the host</li> </ul><h2>Building the image:</h2> <p>./run_mm.sh build</p> <h2>Using the image:</h2> <h3>run spotify</h3> <p>./run_mm.sh spotify</p> <h3>run skype</h3> <p>./run_mm.sh skype</p> <h3>run a shell</h3> <p>./run_mm.sh bash</p> <h3>run firefox</h3> <p>./run_mm.sh firefox</p> <h3>run vivaldi</h3> <p>./run_mm.sh vivaldi</p> <p>It is possible to run the applications using the same container</p> <h2>Making changes permanent:</h2> <p>The configuration-files for spotify and skype are persistent. This is realized with mounted volumes in $HOME/.mymultimediaapps.</p> <h2>Known Bugs</h2> <ul><li>For some reason, spotify doesn't use the cached credentials. Therefore it always asks for login-data.</li> <li>google-chrome and vivaldi crash sometimes(for example when you call netflix)</li> </ul></div> <span class="field field--name-uid field--type-entity-reference field--label-hidden"><span lang="" about="/users/hoti" typeof="schema:Person" property="schema:name" datatype="">Hoti</span></span> <span class="field field--name-created field--type-created field--label-hidden">Dec 10 2015</span> <div class="field field--name-field-tagies field--type-entity-reference field--label-above"> <div class="field__label">Tags</div> <div class='field__items'> <div class="field__item"><i class="fa fa-tags"></i> <a href="/tags/downloads" hreflang="en">Downloads</a></div> <div class="field__item"><i class="fa fa-tags"></i> <a href="/tags/docker" hreflang="en">Docker</a></div> <div class="field__item"><i class="fa fa-tags"></i> <a href="/Linux" hreflang="en">Linux</a></div> </div> </div> <section class="field field--name-comment-node-blog field--type-comment field--label-hidden comment-wrapper"> </section> <section class="field field--name-comment field--type-comment field--label-above comment-wrapper"> <h2 class='title comment-form__title'> <i class="fa fa-comments-o"></i> Add new comment</h2> <drupal-render-placeholder callback="comment.lazy_builders:renderForm" arguments="0=node&amp;1=137&amp;2=comment&amp;3=comment" token="jjnO2kYkKbWdP4KOL6hxoMXGBrhTN0iDgDYOV0EW-s8"></drupal-render-placeholder> </section> Thu, 10 Dec 2015 22:57:20 +0000 Hoti 137 at https://tech.feedyourhead.at facts2dw https://tech.feedyourhead.at/content/facts2dw <span class="field field--name-title field--type-string field--label-hidden">facts2dw</span> <div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><p>facts2dw.rb&nbsp; is a simple script which converts ansible(tested with&nbsp;1.9.2)&nbsp; facts into dokuwiki-format and uploads it via xmlrpc-interface into dokuwiki This script uses http-basic-authentication and ssl to login into dokuwiki. Ansible caches all the facts in &lt;ANSIBLE-DIR&gt;/facts so it is quite easy to import all facts into dokuwiki using the following line:</p> <pre> <code> for i in `ls *`; do facts2dw.rb $i; done </code></pre> <p>To upload all the changes whenever they occur I would suggest to use inotify. It is very easy to change this script to use puppet-facts instead of ansible-facts. If puppetdb is installed all the facts can fetched via the rest interface. It's just a matter of few lines. Of course the jason-structur will look different, but it will be easy to modify this very simple script. I would recommend to use the debug-code which executes 'pp', to dump the jason-hash.</p> <p>BTW: <a href="https://www.dokuwiki.org/devel:xmlrpc">don't forget to configure the xmlrpc-access in dokuwiki proberly!</a></p> <p>&nbsp;</p> </div> <span class="field field--name-uid field--type-entity-reference field--label-hidden"><span lang="" about="/users/hoti" typeof="schema:Person" property="schema:name" datatype="">Hoti</span></span> <span class="field field--name-created field--type-created field--label-hidden">Sep 24 2015</span> <div class="clearfix text-formatted field field--name-field-md5sum field--type-text field--label-above"> <div class="field__label">md5sum</div> <div class="field__item"><p>9f419544609f2539f79390e8f121a678</p> </div> </div> <div class="clearfix text-formatted field field--name-field-sha256sum field--type-text field--label-above"> <div class="field__label">sha256sum</div> <div class="field__item"><p>d25806bd0d8edf36caf6405e450c9dcd5e40ae5fa7d7ee16c6aabc5ecc1f090b</p> </div> </div> <div class="field field--name-field-tags field--type-entity-reference field--label-above"> <div class="field__label">Tags</div> <div class="field__items"> <div class="field__item"><a href="/tags/downloads" hreflang="en">Downloads</a></div> <div class="field__item"><a href="/tags/ruby" hreflang="en">Ruby</a></div> <div class="field__item"><a href="/tags/ansible" hreflang="en">Ansible</a></div> <div class="field__item"><a href="/tags/puppet" hreflang="en">Puppet</a></div> <div class="field__item"><a href="/Programming" hreflang="en">Programming</a></div> <div class="field__item"><a href="/tags/sysadmin" hreflang="en">Sysadmin</a></div> </div> </div> <section class="field field--name-comment-node-download field--type-comment field--label-hidden comment-wrapper"> </section> Thu, 24 Sep 2015 13:18:36 +0000 Hoti 111 at https://tech.feedyourhead.at