<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://biggi.dk/dokuwiki/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://biggi.dk/dokuwiki/feed.php">
        <title>BiggiWiki</title>
        <description></description>
        <link>https://biggi.dk/dokuwiki/</link>
        <image rdf:resource="https://biggi.dk/dokuwiki/lib/exe/fetch.php/wiki/dokuwiki.svg" />
       <dc:date>2026-04-19T05:01:44+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://biggi.dk/dokuwiki/doku.php/salt/states/rsyslog-remote?rev=1603352111&amp;do=diff"/>
                <rdf:li rdf:resource="https://biggi.dk/dokuwiki/doku.php/bash/mqtt/add_to_influxdb?rev=1511993185&amp;do=diff"/>
                <rdf:li rdf:resource="https://biggi.dk/dokuwiki/doku.php/bash/one_liners/mysql_queries_per_second?rev=1511429262&amp;do=diff"/>
                <rdf:li rdf:resource="https://biggi.dk/dokuwiki/doku.php/bash/disable_synaptics_coasting?rev=1470751212&amp;do=diff"/>
                <rdf:li rdf:resource="https://biggi.dk/dokuwiki/doku.php/windows/autoit/reset_outlook_ost_cache?rev=1447921486&amp;do=diff"/>
                <rdf:li rdf:resource="https://biggi.dk/dokuwiki/doku.php/windows/autoit/set_default_printer?rev=1447921196&amp;do=diff"/>
                <rdf:li rdf:resource="https://biggi.dk/dokuwiki/doku.php/windows/autoit/auto_kill_ie?rev=1440101249&amp;do=diff"/>
                <rdf:li rdf:resource="https://biggi.dk/dokuwiki/doku.php/firefox_change_default_values?rev=1440100799&amp;do=diff"/>
                <rdf:li rdf:resource="https://biggi.dk/dokuwiki/doku.php/start?rev=1440100186&amp;do=diff"/>
                <rdf:li rdf:resource="https://biggi.dk/dokuwiki/doku.php/php/sqldo?rev=1426839264&amp;do=diff"/>
                <rdf:li rdf:resource="https://biggi.dk/dokuwiki/doku.php/bash/one_liners/migrate_all_libvirt_machines_to_other_host?rev=1425752555&amp;do=diff"/>
                <rdf:li rdf:resource="https://biggi.dk/dokuwiki/doku.php/windows/powershell/fetch_all_exchange_mail_addresses?rev=1421059842&amp;do=diff"/>
                <rdf:li rdf:resource="https://biggi.dk/dokuwiki/doku.php/?image=windows%3A7%3Ataskbar_popup_example.png&amp;ns=windows%3A7&amp;rev=1396602079&amp;tab_details=history&amp;media_do=diff&amp;do=media"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://biggi.dk/dokuwiki/lib/exe/fetch.php/wiki/dokuwiki.svg">
        <title>BiggiWiki</title>
        <link>https://biggi.dk/dokuwiki/</link>
        <url>https://biggi.dk/dokuwiki/lib/exe/fetch.php/wiki/dokuwiki.svg</url>
    </image>
    <item rdf:about="https://biggi.dk/dokuwiki/doku.php/salt/states/rsyslog-remote?rev=1603352111&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-10-22T07:35:11+00:00</dc:date>
        <dc:creator>biggi (biggi@undisclosed.example.com)</dc:creator>
        <title>rsyslog-remote</title>
        <link>https://biggi.dk/dokuwiki/doku.php/salt/states/rsyslog-remote?rev=1603352111&amp;do=diff</link>
        <description>Using SALTStack &amp; rsyslog? Need a way to send your syslogs to a centralized place? Look no further!


/etc/rsyslog.d/10-remotesyslog.conf:
  file.managed:
    - contents: &quot;*.* @@10.55.55.55:514&quot;

rsyslog:
  service.running:
    - enable: true
    - restart: true
    - watch:
      - /etc/rsyslog.d/10-remotesyslog.conf</description>
    </item>
    <item rdf:about="https://biggi.dk/dokuwiki/doku.php/bash/mqtt/add_to_influxdb?rev=1511993185&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2017-11-29T22:06:25+00:00</dc:date>
        <dc:creator>biggi (biggi@undisclosed.example.com)</dc:creator>
        <title>add_to_influxdb</title>
        <link>https://biggi.dk/dokuwiki/doku.php/bash/mqtt/add_to_influxdb?rev=1511993185&amp;do=diff</link>
        <description>I'm trying to “IoT-up” my house, and thought MQTT would be a good distributer for data to different services. I recently set up temperature+humidity sensors, and wanted to graph that data. Grafana+InfluxDB seemed like a good choice, but getting data from MQTT to InfluxDB seemed like a hassle with the available tools, so I wrote a short bash script to grab the data + send it to InfluxDB:</description>
    </item>
    <item rdf:about="https://biggi.dk/dokuwiki/doku.php/bash/one_liners/mysql_queries_per_second?rev=1511429262&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2017-11-23T09:27:42+00:00</dc:date>
        <dc:creator>biggi (biggi@undisclosed.example.com)</dc:creator>
        <title>mysql_queries_per_second - created</title>
        <link>https://biggi.dk/dokuwiki/doku.php/bash/one_liners/mysql_queries_per_second?rev=1511429262&amp;do=diff</link>
        <description>Oneliner:


LASTVAL=0; CURRVAL=0; while true; do CURRVAL=`mysqladmin status | awk {'print $6'}`; echo &quot;QPS: $((CURRVAL-LASTVAL))&quot;; LASTVAL=$CURRVAL; sleep 1; done


Output example:


[root@thismachine ~]# LASTVAL=0; CURRVAL=0; while true; do CURRVAL=`mysqladmin status | awk {'print $6'}`; echo &quot;QPS: $((CURRVAL-LASTVAL))&quot;; LASTVAL=$CURRVAL; sleep 1; done
QPS: 11429108706
QPS: 8047
QPS: 7783
QPS: 7909
QPS: 9965
QPS: 9835
^C</description>
    </item>
    <item rdf:about="https://biggi.dk/dokuwiki/doku.php/bash/disable_synaptics_coasting?rev=1470751212&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2016-08-09T14:00:12+00:00</dc:date>
        <dc:creator>biggi (biggi@undisclosed.example.com)</dc:creator>
        <title>disable_synaptics_coasting - created</title>
        <link>https://biggi.dk/dokuwiki/doku.php/bash/disable_synaptics_coasting?rev=1470751212&amp;do=diff</link>
        <description>To disable the very annoying feature that keeps scrolling even after you let go of the touchpad, run the following command:


synclient CoastingSpeed=0


Instead of “Coasting”, I vote that the feature is renamed to “Drunk emulator”.

Source:</description>
    </item>
    <item rdf:about="https://biggi.dk/dokuwiki/doku.php/windows/autoit/reset_outlook_ost_cache?rev=1447921486&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2015-11-19T08:24:46+00:00</dc:date>
        <dc:creator>biggi (biggi@undisclosed.example.com)</dc:creator>
        <title>reset_outlook_ost_cache - created</title>
        <link>https://biggi.dk/dokuwiki/doku.php/windows/autoit/reset_outlook_ost_cache?rev=1447921486&amp;do=diff</link>
        <description>This could also have been a .bat file, there is no specific reason that I made it into an AutoIT script. So, now you know that ;)


; Kill Outlook
RunWait(@ComSpec &amp; &quot; /c taskkill /f /im outlook.exe&quot;)
; zZz
Sleep(1000)
; Delete OST file
RunWait(@ComSpec &amp; &quot; /c del %LOCALAPPDATA%\Microsoft\Outlook\*.ost&quot;)
; zZz
Sleep(1000)
; Start Outlook
RunWait(@ComSpec &amp; &quot; /c start outlook&quot;)</description>
    </item>
    <item rdf:about="https://biggi.dk/dokuwiki/doku.php/windows/autoit/set_default_printer?rev=1447921196&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2015-11-19T08:19:56+00:00</dc:date>
        <dc:creator>biggi (biggi@undisclosed.example.com)</dc:creator>
        <title>set_default_printer - created</title>
        <link>https://biggi.dk/dokuwiki/doku.php/windows/autoit/set_default_printer?rev=1447921196&amp;do=diff</link>
        <description>#include &lt;MsgBoxConstants.au3&gt;
Local $sAnswer = InputBox(&quot;Set default printer&quot;, &quot;Enter the name of the printer you want to be default&quot;, &quot;DKTASA06&quot;, &quot;&quot;, -1, -1, 0, 0)

if $sAnswer &lt;&gt; &quot;&quot; Then
	Run(&quot;RUNDLL32 PRINTUI.DLL,PrintUIEntry /y /n &quot; &amp; $sAnswer)
EndIf</description>
    </item>
    <item rdf:about="https://biggi.dk/dokuwiki/doku.php/windows/autoit/auto_kill_ie?rev=1440101249&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2015-08-20T20:07:29+00:00</dc:date>
        <dc:creator>biggi (biggi@undisclosed.example.com)</dc:creator>
        <title>auto_kill_ie</title>
        <link>https://biggi.dk/dokuwiki/doku.php/windows/autoit/auto_kill_ie?rev=1440101249&amp;do=diff</link>
        <description>Some user kept on browsing sites he wasn't supposed to. I was asked to uninstall IE, but that was not possible on that OS, so I just wrote a small script to keep the browser closed at all times.


; Remove tray icon
TraySetState(2)
 
; Loop diz' biatch. KILL, KILL, KILL!
While 1
	ProcessClose(&quot;iexplore.exe&quot;)
	Sleep(1000)
WEnd</description>
    </item>
    <item rdf:about="https://biggi.dk/dokuwiki/doku.php/firefox_change_default_values?rev=1440100799&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2015-08-20T19:59:59+00:00</dc:date>
        <dc:creator>biggi (biggi@undisclosed.example.com)</dc:creator>
        <title>firefox_change_default_values</title>
        <link>https://biggi.dk/dokuwiki/doku.php/firefox_change_default_values?rev=1440100799&amp;do=diff</link>
        <description>These are the values I change to make my Firefox browser fit my needs:
Item Value Effectbrowser.urlbar.autoFillFALSE Disables autocomplete of url's (e.g. 192.168.5.1 makes Firefox autofill 192.168.5.108, causing me to go the wrong URL)browser.urlbar.trimURLs</description>
    </item>
    <item rdf:about="https://biggi.dk/dokuwiki/doku.php/start?rev=1440100186&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2015-08-20T19:49:46+00:00</dc:date>
        <dc:creator>biggi (biggi@undisclosed.example.com)</dc:creator>
        <title>start</title>
        <link>https://biggi.dk/dokuwiki/doku.php/start?rev=1440100186&amp;do=diff</link>
        <description>Not much going on here. Some personal notes mostly.

Check out the sitemap, there might be some useful code.
BiggiWiki index</description>
    </item>
    <item rdf:about="https://biggi.dk/dokuwiki/doku.php/php/sqldo?rev=1426839264&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2015-03-20T08:14:24+00:00</dc:date>
        <dc:creator>biggi (biggi@undisclosed.example.com)</dc:creator>
        <title>sqldo</title>
        <link>https://biggi.dk/dokuwiki/doku.php/php/sqldo?rev=1426839264&amp;do=diff</link>
        <description>function sqldo($query, $howparse = &quot;&quot;, $querydb = &quot;&quot;) {
// DB change for the query?
        if (!empty($querydb)) {
                $retvar = mysql_db_query($querydb, $query) or die(&quot;x203 - &quot;.mysql_error());
        } else {
// Otherwise just do the query
                $retvar = mysql_query($query) or die(&quot;x203 - &quot;.mysql_error());
        } 

// Parse the query as requested (if requested :P)
        if ($howparse == &quot;fetch_array&quot;) {
                $rows = array();
                while ($row …</description>
    </item>
    <item rdf:about="https://biggi.dk/dokuwiki/doku.php/bash/one_liners/migrate_all_libvirt_machines_to_other_host?rev=1425752555&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2015-03-07T18:22:35+00:00</dc:date>
        <dc:creator>biggi (biggi@undisclosed.example.com)</dc:creator>
        <title>migrate_all_libvirt_machines_to_other_host</title>
        <link>https://biggi.dk/dokuwiki/doku.php/bash/one_liners/migrate_all_libvirt_machines_to_other_host?rev=1425752555&amp;do=diff</link>
        <description>To migrate all running VPSes to another host, do the following:


for x in `virsh list | grep running | awk {'print $2'}`; do echo &quot;Migrating $x&quot;; virsh migrate-setspeed $x --bandwidth 1000 &amp;&amp; virsh migrate $x qemu+ssh://USERNAME@HOSTNAME/system; sleep 10; done</description>
    </item>
    <item rdf:about="https://biggi.dk/dokuwiki/doku.php/windows/powershell/fetch_all_exchange_mail_addresses?rev=1421059842&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2015-01-12T10:50:42+00:00</dc:date>
        <dc:creator>biggi (biggi@undisclosed.example.com)</dc:creator>
        <title>fetch_all_exchange_mail_addresses - created</title>
        <link>https://biggi.dk/dokuwiki/doku.php/windows/powershell/fetch_all_exchange_mail_addresses?rev=1421059842&amp;do=diff</link>
        <description>Once in a while I need to do some Windows management. This time I needed to extract a list of all mail addresses in specific active directory containers. Both the “Primary address” and “Alternate addresses” will be fetched and placed in C:\&lt;country&gt;.txt:</description>
    </item>
    <item rdf:about="https://biggi.dk/dokuwiki/doku.php/?image=windows%3A7%3Ataskbar_popup_example.png&amp;ns=windows%3A7&amp;rev=1396602079&amp;tab_details=history&amp;media_do=diff&amp;do=media">
        <dc:format>text/html</dc:format>
        <dc:date>2014-04-04T09:01:19+00:00</dc:date>
        <dc:creator>biggi (biggi@undisclosed.example.com)</dc:creator>
        <title>taskbar_popup_example.png - created</title>
        <link>https://biggi.dk/dokuwiki/doku.php/?image=windows%3A7%3Ataskbar_popup_example.png&amp;ns=windows%3A7&amp;rev=1396602079&amp;tab_details=history&amp;media_do=diff&amp;do=media</link>
        <description>&lt;img src=&quot;https://biggi.dk/dokuwiki/lib/exe/fetch.php/windows/7/taskbar_popup_example.png?w=500&amp;amp;h=500&amp;amp;tok=b4ecf5&quot; alt=&quot;taskbar_popup_example.png&quot; loading=&quot;lazy&quot; width=&quot;500&quot; height=&quot;500&quot; /&gt;</description>
    </item>
</rdf:RDF>
