<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://brb.epr.ch/blog/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://brb.epr.ch/blog/feed.php">
        <title>Bernhard Brunner's Blog</title>
        <description></description>
        <link>https://brb.epr.ch/blog/</link>
        <image rdf:resource="https://brb.epr.ch/blog/_media/wiki:dokuwiki.svg" />
       <dc:date>2026-04-04T09:26:02+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://brb.epr.ch/blog/wiki:syntax?rev=1727607330&amp;do=diff"/>
                <rdf:li rdf:resource="https://brb.epr.ch/blog/blog:set_up_private_firefox_sync_server?rev=1398325150&amp;do=diff"/>
                <rdf:li rdf:resource="https://brb.epr.ch/blog/blog:ubuntu_post_install_tasks?rev=1398322958&amp;do=diff"/>
                <rdf:li rdf:resource="https://brb.epr.ch/blog/blog:bash_string_functions?rev=1398325514&amp;do=diff"/>
                <rdf:li rdf:resource="https://brb.epr.ch/blog/blog:set_up_davmail_gateway?rev=1539268847&amp;do=diff"/>
                <rdf:li rdf:resource="https://brb.epr.ch/blog/blog:enable_shell_escape_in_miktex_running_from_winedt?rev=1245570714&amp;do=diff"/>
                <rdf:li rdf:resource="https://brb.epr.ch/blog/blog:infiniality_installation_on_linux?rev=1669706668&amp;do=diff"/>
                <rdf:li rdf:resource="https://brb.epr.ch/blog/blog:install_windows_codecs_and_support_for_encrypted_dvds_in_ubuntu?rev=1324297908&amp;do=diff"/>
                <rdf:li rdf:resource="https://brb.epr.ch/blog/blog:microsoft_update_error_code_list?rev=1514359764&amp;do=diff"/>
                <rdf:li rdf:resource="https://brb.epr.ch/blog/blog:the_ultimate_bash_prompt?rev=1398328826&amp;do=diff"/>
                <rdf:li rdf:resource="https://brb.epr.ch/blog/blog:create_encrypted_tar_files?rev=1274862685&amp;do=diff"/>
                <rdf:li rdf:resource="https://brb.epr.ch/blog/blog:synergy_protocol_version_woes?rev=1398325283&amp;do=diff"/>
                <rdf:li rdf:resource="https://brb.epr.ch/blog/blog:installing_sage_on_debian_or_ubuntu?rev=1398750390&amp;do=diff"/>
                <rdf:li rdf:resource="https://brb.epr.ch/blog/blog:installing_sage_on_ubuntu_11.10?rev=1329154621&amp;do=diff"/>
                <rdf:li rdf:resource="https://brb.epr.ch/blog/blog:setup_zoneminder_on_ubuntu_12.04_virtual_server?rev=1398323679&amp;do=diff"/>
                <rdf:li rdf:resource="https://brb.epr.ch/blog/blog:converting_videos_for_embedding_in_powerpoint?rev=1398328687&amp;do=diff"/>
                <rdf:li rdf:resource="https://brb.epr.ch/blog/blog:parsing_long_and_short_command_line_options_in_bash?rev=1610632267&amp;do=diff"/>
                <rdf:li rdf:resource="https://brb.epr.ch/blog/blog:unix_command_line_cheat?rev=1252481904&amp;do=diff"/>
                <rdf:li rdf:resource="https://brb.epr.ch/blog/blog:vim_replace_in_multiple_files?rev=1294152835&amp;do=diff"/>
                <rdf:li rdf:resource="https://brb.epr.ch/blog/blog:rip_dvds_into_multi_language_multi_subtitle_video_file?rev=1260695265&amp;do=diff"/>
                <rdf:li rdf:resource="https://brb.epr.ch/blog/blog:set_application_which_xdg-open_uses_to_open_a_file?rev=1727607398&amp;do=diff"/>
                <rdf:li rdf:resource="https://brb.epr.ch/blog/blog:set_rights_of_files_in_public_html?rev=1299826668&amp;do=diff"/>
                <rdf:li rdf:resource="https://brb.epr.ch/blog/blog:simple_backup_procedure_for_windows_c_t_bff?rev=1244962183&amp;do=diff"/>
                <rdf:li rdf:resource="https://brb.epr.ch/blog/blog:use_rss_feeds_with_conky?rev=1277274937&amp;do=diff"/>
                <rdf:li rdf:resource="https://brb.epr.ch/blog/blog:ubunutu_natty_not_displaying_pdf_thumbnails_on_nfs_drives?rev=1314721688&amp;do=diff"/>
                <rdf:li rdf:resource="https://brb.epr.ch/blog/blog:thunderbird_dictionary_problem?rev=1314361738&amp;do=diff"/>
                <rdf:li rdf:resource="https://brb.epr.ch/blog/blog:ttg_t-beam_with_meshtastic?rev=1609568461&amp;do=diff"/>
                <rdf:li rdf:resource="https://brb.epr.ch/blog/blog:use_fetchmail_to_retrieve_mail_from_exchange_2010_server?rev=1306478928&amp;do=diff"/>
                <rdf:li rdf:resource="https://brb.epr.ch/blog/blog:print_files_from_any_device_using_dropbox?rev=1303051573&amp;do=diff"/>
                <rdf:li rdf:resource="https://brb.epr.ch/blog/blog:altgr_key_does_not_work_in_windows_guest_on_linux_host?rev=1242975683&amp;do=diff"/>
                <rdf:li rdf:resource="https://brb.epr.ch/blog/blog:mbr_copy_backup_and_restore?rev=1304155923&amp;do=diff"/>
                <rdf:li rdf:resource="https://brb.epr.ch/blog/blog:enable_screensaver_using_registry_fiels?rev=1300275089&amp;do=diff"/>
                <rdf:li rdf:resource="https://brb.epr.ch/blog/blog:awg_m2_table?rev=1669706845&amp;do=diff"/>
                <rdf:li rdf:resource="https://brb.epr.ch/blog/blog:blank_screen_with_maple_12_on_ubuntu_if_running_compiz?rev=1276608529&amp;do=diff"/>
                <rdf:li rdf:resource="https://brb.epr.ch/blog/blog:change_windows_desktop_background_for_day_and_night_using_batchfile?rev=1293344792&amp;do=diff"/>
                <rdf:li rdf:resource="https://brb.epr.ch/blog/blog:configure_apache2_to_use_comodo_essential_ssl_certificate?rev=1307339820&amp;do=diff"/>
                <rdf:li rdf:resource="https://brb.epr.ch/blog/blog:configure_awstats_on_debian_webserver?rev=1287908953&amp;do=diff"/>
                <rdf:li rdf:resource="https://brb.epr.ch/blog/blog:configure_dns_settings_in_etc_network_interfaces?rev=1398323509&amp;do=diff"/>
                <rdf:li rdf:resource="https://brb.epr.ch/blog/blog:debian_setup_on_hexonet_virtual_servers?rev=1242829844&amp;do=diff"/>
                <rdf:li rdf:resource="https://brb.epr.ch/blog/blog:display_shortcuts_in_mozilla_firefox_html_display?rev=1278610898&amp;do=diff"/>
                <rdf:li rdf:resource="https://brb.epr.ch/blog/blog:how_to_trap_interrupts_in_the_bash_shell?rev=1297883715&amp;do=diff"/>
                <rdf:li rdf:resource="https://brb.epr.ch/blog/blog:monitor_linux_network_interface_traffic_using_nagios?rev=1306077744&amp;do=diff"/>
                <rdf:li rdf:resource="https://brb.epr.ch/blog/blog:install_latest_firefox_in_debian_using_apt_pinning?rev=1512460748&amp;do=diff"/>
                <rdf:li rdf:resource="https://brb.epr.ch/blog/blog:least_squares_regression_of_parabola?rev=1500293919&amp;do=diff"/>
                <rdf:li rdf:resource="https://brb.epr.ch/blog/blog:linux_adapt_keyboard?rev=1334653816&amp;do=diff"/>
                <rdf:li rdf:resource="https://brb.epr.ch/blog/blog:linux_desktop_font_color?rev=1441867473&amp;do=diff"/>
                <rdf:li rdf:resource="https://brb.epr.ch/blog/blog:linux_on_usb_stick?rev=1508589418&amp;do=diff"/>
                <rdf:li rdf:resource="https://brb.epr.ch/blog/blog:maxmind_geoip_on_debian_lenny?rev=1287916788&amp;do=diff"/>
                <rdf:li rdf:resource="https://brb.epr.ch/blog/blog:apache_htaccess_for_ip_or_auth_based_access?rev=1671541742&amp;do=diff"/>
                <rdf:li rdf:resource="https://brb.epr.ch/blog/blog:software_for_managing_and_playing_videos_and_music?rev=1406883767&amp;do=diff"/>
                <rdf:li rdf:resource="https://brb.epr.ch/blog/blog:quick_image_upload_to_imageshack_in_ubuntu?rev=1313056408&amp;do=diff"/>
                <rdf:li rdf:resource="https://brb.epr.ch/blog/blog:must_have_windows_software?rev=1279123833&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://brb.epr.ch/blog/_media/wiki:dokuwiki.svg">
        <title>Bernhard Brunner's Blog</title>
        <link>https://brb.epr.ch/blog/</link>
        <url>https://brb.epr.ch/blog/_media/wiki:dokuwiki.svg</url>
    </image>
    <item rdf:about="https://brb.epr.ch/blog/wiki:syntax?rev=1727607330&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-09-29T10:55:30+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>syntax</title>
        <link>https://brb.epr.ch/blog/wiki:syntax?rev=1727607330&amp;do=diff</link>
        <description>Formatting Syntax

DokuWiki supports some simple markup language, which tries to make the datafiles to be as readable as possible. This page contains all possible syntax you may use when editing the pages. Simply have a look at the source of this page by pressing</description>
    </item>
    <item rdf:about="https://brb.epr.ch/blog/blog:set_up_private_firefox_sync_server?rev=1398325150&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2014-04-24T07:39:10+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>set_up_private_firefox_sync_server</title>
        <link>https://brb.epr.ch/blog/blog:set_up_private_firefox_sync_server?rev=1398325150&amp;do=diff</link>
        <description>Set up private firefox sync server

Firefox sync is very handy, if you use firefox on several computers. Since all data is encrypted before it is sent to the server, I could life with my bookmarks stored on a cloud server. However, it wanted the added security of using my own server. Here's how to install one:</description>
    </item>
    <item rdf:about="https://brb.epr.ch/blog/blog:ubuntu_post_install_tasks?rev=1398322958&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2014-04-24T07:02:38+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>ubuntu_post_install_tasks</title>
        <link>https://brb.epr.ch/blog/blog:ubuntu_post_install_tasks?rev=1398322958&amp;do=diff</link>
        <description>Ubuntu post install tasks

	*  If you run a proxy (apt-cacher-ng in my case), add the proxy directory in /etc/apt/apt.conf: 
Acquire::http::Proxy &quot;http://aptcacher:3142&quot;;

	*  Add repositories for 
sudo add-apt-repository ppa:tualatrix/ppa
sudo add-apt-repository ppa:webupd8team/y-ppa-manager
sudo add-apt-repository ppa:tiheum/equinox
sudo add-apt-repository ppa:webupd8team/themes
add-apt-repository &quot;deb http://archive.canonical.com/&quot;&gt;http://archive.canonical.com/&lt;/a&gt; $(lsb_release -sc) partner&quot;</description>
    </item>
    <item rdf:about="https://brb.epr.ch/blog/blog:bash_string_functions?rev=1398325514&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2014-04-24T07:45:14+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>bash_string_functions</title>
        <link>https://brb.epr.ch/blog/blog:bash_string_functions?rev=1398325514&amp;do=diff</link>
        <description>bash snippets

String function

len() in bash


$ var='Hello, World!'
$ echo &quot;${#var}&quot;
13


left() in bash


$ var='Hello, World!'
#${string:position:length}
$ echo &quot;${var:0:5}&quot;
Hello


right() in bash


$ var='Hello, World!'
#${string:position:length}
$ echo &quot;${var:7:${#var}}&quot;
World!
#or a litte more dynamic.. (the 6 most right chars)
echo &quot;${var:$((${#var}-6)):${#var}}&quot;
World!</description>
    </item>
    <item rdf:about="https://brb.epr.ch/blog/blog:set_up_davmail_gateway?rev=1539268847&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-10-11T14:40:47+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>set_up_davmail_gateway</title>
        <link>https://brb.epr.ch/blog/blog:set_up_davmail_gateway?rev=1539268847&amp;do=diff</link>
        <description>How To Setup a DavMail Exchange Gateway on a Debian 7 VPS

Introduction

DavMail provides a solution for translating Microsoft Exchange to open protocols like POP, IMAP, SMTP, Caldav, Carddav, and LDAP.

Installation

Davmail requires some extra dependencies to work properly. Install them with apt:</description>
    </item>
    <item rdf:about="https://brb.epr.ch/blog/blog:enable_shell_escape_in_miktex_running_from_winedt?rev=1245570714&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-06-21T07:51:54+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>enable_shell_escape_in_miktex_running_from_winedt</title>
        <link>https://brb.epr.ch/blog/blog:enable_shell_escape_in_miktex_running_from_winedt?rev=1245570714&amp;do=diff</link>
        <description>Enable shell escape in Miktex running from WinEdt

I use Miktex 2.7 with Winedt for writing Latex documents. 

In Winedt I did the following changes to enable shell-escape, allowing me to use automatic eps-pdf conversion.



Go to Options -&gt; Execution Modes:</description>
    </item>
    <item rdf:about="https://brb.epr.ch/blog/blog:infiniality_installation_on_linux?rev=1669706668&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-11-29T07:24:28+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>infiniality_installation_on_linux</title>
        <link>https://brb.epr.ch/blog/blog:infiniality_installation_on_linux?rev=1669706668&amp;do=diff</link>
        <description>Infiniality installation on linux

OUTDATED; no longer needed

	*  Clone the git repo

git clone https://github.com/chenxiaolong/Debian-Packages.git
cd Debian-Packages/

	*  Install the build dependencies. Run the following command and install the packages it lists using apt-get/synaptic/etc.</description>
    </item>
    <item rdf:about="https://brb.epr.ch/blog/blog:install_windows_codecs_and_support_for_encrypted_dvds_in_ubuntu?rev=1324297908&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2011-12-19T12:31:48+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>install_windows_codecs_and_support_for_encrypted_dvds_in_ubuntu</title>
        <link>https://brb.epr.ch/blog/blog:install_windows_codecs_and_support_for_encrypted_dvds_in_ubuntu?rev=1324297908&amp;do=diff</link>
        <description>Install Windows codecs and support for encrypted dvds in ubuntu

Install Mplayer in Ubuntu 11.04 (Natty)

You have to make sure you have enabled universe,multiverse repositories

Now you need to run the following command to update the source list
  sudo apt-get update</description>
    </item>
    <item rdf:about="https://brb.epr.ch/blog/blog:microsoft_update_error_code_list?rev=1514359764&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2017-12-27T07:29:24+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>microsoft_update_error_code_list</title>
        <link>https://brb.epr.ch/blog/blog:microsoft_update_error_code_list?rev=1514359764&amp;do=diff</link>
        <description>Microsoft update error code list

Microsoft update sometimes fails with lovely error codes, which the linked help will not find. At last I found an error code list with hints to the possible cause of the error. 

&lt;https://support.microsoft.com/de-de/help/836941&gt;


Hexadezimaler Fehlercode 	Dezimaler Fehlercode	API-Fehlerbeschreibung
0x80070008	-2147024888	ERROR_NOT_ENOUGH_MEMORY
0x800705B4	-2147023436	Error_Timeout
0x8007000E	-2147024882	E_OUTOFMEMORY
0x80072EE2	-2147012894	ERROR_INTERNET_TIMEOU…</description>
    </item>
    <item rdf:about="https://brb.epr.ch/blog/blog:the_ultimate_bash_prompt?rev=1398328826&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2014-04-24T08:40:26+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>the_ultimate_bash_prompt</title>
        <link>https://brb.epr.ch/blog/blog:the_ultimate_bash_prompt?rev=1398328826&amp;do=diff</link>
        <description>The 'ultimate' bash prompt

Of course, there is not one ultimate bash prompt that fits everyone, but I'm very happy with the following prompt.

Features:

	*  user/hostname color coded for differnt hosts.
	*  If running in a superuser shell, the # sign is red</description>
    </item>
    <item rdf:about="https://brb.epr.ch/blog/blog:create_encrypted_tar_files?rev=1274862685&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-05-26T08:31:25+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>create_encrypted_tar_files</title>
        <link>https://brb.epr.ch/blog/blog:create_encrypted_tar_files?rev=1274862685&amp;do=diff</link>
        <description>Create encrypted tar backups and store them on the amazon S3 cloud

﻿
Amazon S3 provides unlimited storage at low prices, which makes it an ideal solution for storing backups. But to make use of it, you need a piece of software that can actually interact with Amazon S3: create buckets, list the contents of a bucket, upload and download files, etc. And aws, a simple command-line utility written in Perl, is the perfect tool for the job.</description>
    </item>
    <item rdf:about="https://brb.epr.ch/blog/blog:synergy_protocol_version_woes?rev=1398325283&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2014-04-24T07:41:23+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>synergy_protocol_version_woes</title>
        <link>https://brb.epr.ch/blog/blog:synergy_protocol_version_woes?rev=1398325283&amp;do=diff</link>
        <description>synergy protocol version woes

Synergy is a great tool which lets you share a mouse and keyboard simply by moving the mouse pointer to the 'other' machine.

After updating my laptop to Ubuntu Raring Ringtail (13.04), synergy no longer worked. I got the error message</description>
    </item>
    <item rdf:about="https://brb.epr.ch/blog/blog:installing_sage_on_debian_or_ubuntu?rev=1398750390&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2014-04-29T05:46:30+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>installing_sage_on_debian_or_ubuntu</title>
        <link>https://brb.epr.ch/blog/blog:installing_sage_on_debian_or_ubuntu?rev=1398750390&amp;do=diff</link>
        <description>Installing Sage on Debian or Ubuntu

Sage is a very powerful computer algebra system. Especially nice is the LaTeX integration using sagetex. Here's how to set this up:

Compile yourself

Install prerequisite libraries
sudo apt-get install build-essential m4 readline-common libreadline-dev texlive xpdf evince tk8.5-dev gfortran</description>
    </item>
    <item rdf:about="https://brb.epr.ch/blog/blog:installing_sage_on_ubuntu_11.10?rev=1329154621&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2012-02-13T17:37:01+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>installing_sage_on_ubuntu_11.10</title>
        <link>https://brb.epr.ch/blog/blog:installing_sage_on_ubuntu_11.10?rev=1329154621&amp;do=diff</link>
        <description>Installing sage on ubuntu

Sage is a very powerful computer algebra system. Especially nice is the LaTeX integration using sagetex. Here's how to set this up:

Compile yourself

Install prerequisite libraries
sudo apt-get install build-essential m4 readline-common libreadline-dev texlive xpdf evince tk8.5-dev gfortran</description>
    </item>
    <item rdf:about="https://brb.epr.ch/blog/blog:setup_zoneminder_on_ubuntu_12.04_virtual_server?rev=1398323679&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2014-04-24T07:14:39+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>setup_zoneminder_on_ubuntu_12.04_virtual_server</title>
        <link>https://brb.epr.ch/blog/blog:setup_zoneminder_on_ubuntu_12.04_virtual_server?rev=1398323679&amp;do=diff</link>
        <description>*  vanilla server install (32bit)
	*  adding dlink cameras with no problems
	*  Setting the resolution to 640×480 got me errors.

zmwatch[2429].ERR [Shared data size conflict in shared_data for monitor Monitor-1, expected 328, got 316]

Patching /usr/share/perl5/ZoneMinder/Memory.pm at line 130:</description>
    </item>
    <item rdf:about="https://brb.epr.ch/blog/blog:converting_videos_for_embedding_in_powerpoint?rev=1398328687&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2014-04-24T08:38:07+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>converting_videos_for_embedding_in_powerpoint</title>
        <link>https://brb.epr.ch/blog/blog:converting_videos_for_embedding_in_powerpoint?rev=1398328687&amp;do=diff</link>
        <description>Converting videos for embedding in Powerpoint

Powerpoint is very finicky when it comes to videos, and has a really restricted support for videos. While I encode most of my videos in mkv containers, using the H.264 Video codec and multiple tracks (AAC and AC3 audio), these files will not play withing powerpoint. It's best to avoid embedding videos in powerpoint presentations if you can, because the files will get huge, and you never know if the presentation that you tested at home will work on t…</description>
    </item>
    <item rdf:about="https://brb.epr.ch/blog/blog:parsing_long_and_short_command_line_options_in_bash?rev=1610632267&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-01-14T13:51:07+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>parsing_long_and_short_command_line_options_in_bash</title>
        <link>https://brb.epr.ch/blog/blog:parsing_long_and_short_command_line_options_in_bash?rev=1610632267&amp;do=diff</link>
        <description>Parsing long and short command  line options in bash


parse_user_options() {
    local -r args=(&quot;${@}&quot;)
    local opts
# The following code works perfectly for 
    opts=$(getopt --options a:,f,h --long abc:,help,flag -- &quot;${args[@]}&quot; 2&gt; /dev/null) || {
        usage
        die &quot;error: parsing options&quot; &quot;${error_parsing_options}&quot;
    }
eval set -- &quot;${opts}&quot;
while true; do
    case &quot;${1}&quot; in
--abc)
            abc_option_flag=1
            readonly abc_arg=&quot;${2}&quot;
            shift
            shi…</description>
    </item>
    <item rdf:about="https://brb.epr.ch/blog/blog:unix_command_line_cheat?rev=1252481904&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-09-09T07:38:24+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>unix_command_line_cheat</title>
        <link>https://brb.epr.ch/blog/blog:unix_command_line_cheat?rev=1252481904&amp;do=diff</link>
        <description>Unix command line cheat sheet


File Commands
ls - directory listing
ls -a - directory listing with hidden files
ls -al - formatted directory listing with hidden files
cd dir - change directory to dir
cd - change to home
cd - - change back to previous directory
pwd - show current directory
mkdir dir - create a directory dir
rm file - delete file
rmdir dir - delete empty directory dir
rm -r dir - recursively delete directory dir (use with caution)
rm -f file - force remove file; no error output i…</description>
    </item>
    <item rdf:about="https://brb.epr.ch/blog/blog:vim_replace_in_multiple_files?rev=1294152835&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2011-01-04T14:53:55+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>vim_replace_in_multiple_files</title>
        <link>https://brb.epr.ch/blog/blog:vim_replace_in_multiple_files?rev=1294152835&amp;do=diff</link>
        <description>vim replace in multiple files


	vim *.cpp		Start Vim, defining the argument list to
				contain all the C++ files.  You are now in the
				first file.
	qq			Start recording into the q register
	:%s/\&lt;GetResp\&gt;/GetAnswer/ge
				Do the replacements in the first file.
	:wnext			Write this file and move to the next one.
	q			Stop recording.
	@q			Execute the q register.  This will replay the
				substitution and &quot;:wnext&quot;.  You can verify
				that this doesn't produce an error message.
	999@q 			Exe…</description>
    </item>
    <item rdf:about="https://brb.epr.ch/blog/blog:rip_dvds_into_multi_language_multi_subtitle_video_file?rev=1260695265&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-12-13T09:07:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>rip_dvds_into_multi_language_multi_subtitle_video_file</title>
        <link>https://brb.epr.ch/blog/blog:rip_dvds_into_multi_language_multi_subtitle_video_file?rev=1260695265&amp;do=diff</link>
        <description>Rip DVDs into multi language multi subtitle video file

Converting DVDs into the best quality files currently possible: MKV as the container, x264 codec for the video, dual audio, and with subtitles. This is short Howto so that I won’t forget how :-)</description>
    </item>
    <item rdf:about="https://brb.epr.ch/blog/blog:set_application_which_xdg-open_uses_to_open_a_file?rev=1727607398&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-09-29T10:56:38+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>set_application_which_xdg-open_uses_to_open_a_file</title>
        <link>https://brb.epr.ch/blog/blog:set_application_which_xdg-open_uses_to_open_a_file?rev=1727607398&amp;do=diff</link>
        <description>Set application which xdg-open uses to open a file


$ mimeopen -d ~/test.pdf

Please choose a default application for files of type application/pdf

    1) E-book Viewer  (calibre-ebook-viewer)
    2) Document Viewer  (evince)
    3) Xournal  (xournal)
    4) GNU Image Manipulation Program  (gimp)
    5) Xpdf PDF Viewer  (xpdf)
    6) Print Preview  (evince-previewer)
    7) Inkscape  (inkscape)
    8) calibre  (calibre-gui)
    9) Other...

use application #2
Opening &quot;/home/saml/Downloads/test…</description>
    </item>
    <item rdf:about="https://brb.epr.ch/blog/blog:set_rights_of_files_in_public_html?rev=1299826668&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2011-03-11T06:57:48+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>set_rights_of_files_in_public_html</title>
        <link>https://brb.epr.ch/blog/blog:set_rights_of_files_in_public_html?rev=1299826668&amp;do=diff</link>
        <description>Set rights of files in public_html

Set rights of user /home/*/public_html directors in a secure and useful way

	*  all files/directories get chown user:www-data, so users own them and the webserver has group access
	*  group www-data is added g+r for files (webserver can read all files) g+rsx for directories (webserver can read and change into all directories)</description>
    </item>
    <item rdf:about="https://brb.epr.ch/blog/blog:simple_backup_procedure_for_windows_c_t_bff?rev=1244962183&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-06-14T06:49:43+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>simple_backup_procedure_for_windows_c_t_bff</title>
        <link>https://brb.epr.ch/blog/blog:simple_backup_procedure_for_windows_c_t_bff?rev=1244962183&amp;do=diff</link>
        <description>Simple backup procedure for windows (c't bff)

Backing up your files should be fast and easy, so that you make a backup every day (or at least weekly if you are lazy and your work is not so important :-\). In the german computer magazine c't, a simple and efficient backup script was presented, which has some unique features:</description>
    </item>
    <item rdf:about="https://brb.epr.ch/blog/blog:use_rss_feeds_with_conky?rev=1277274937&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-06-23T06:35:37+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>use_rss_feeds_with_conky</title>
        <link>https://brb.epr.ch/blog/blog:use_rss_feeds_with_conky?rev=1277274937&amp;do=diff</link>
        <description>Use RSS feeds with conky

A simple shell script and the ascii2uni tool is all it takes to add RSS feeds to conky.

1. Add this line to your .conkyrc, adapting the path of the script and the &lt;http://.&gt;.. for your rss feed.


${execi 300 /home/brb/bin/conky-rss.sh http://www.nzz.ch/feeds/recent/ 4 2 | ascii2uni -a D}</description>
    </item>
    <item rdf:about="https://brb.epr.ch/blog/blog:ubunutu_natty_not_displaying_pdf_thumbnails_on_nfs_drives?rev=1314721688&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2011-08-30T16:28:08+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>ubunutu_natty_not_displaying_pdf_thumbnails_on_nfs_drives</title>
        <link>https://brb.epr.ch/blog/blog:ubunutu_natty_not_displaying_pdf_thumbnails_on_nfs_drives?rev=1314721688&amp;do=diff</link>
        <description>Ubuntu natty not displaying PDF thumbnails on nfs drives

Since natty, apparmor denies evince (nautilus thumbnailer) access to network drives. This results in long delays and PDF thumbnails not displaying. 

Edit /etc/apparmor.d/usr.bin.evince like this (insert the nameservice-line):</description>
    </item>
    <item rdf:about="https://brb.epr.ch/blog/blog:thunderbird_dictionary_problem?rev=1314361738&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2011-08-26T12:28:58+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>thunderbird_dictionary_problem</title>
        <link>https://brb.epr.ch/blog/blog:thunderbird_dictionary_problem?rev=1314361738&amp;do=diff</link>
        <description>Thunderbird dictionary problem

High thunderbird versions have problem using certain dictionaries. In my case the german dictionary would install but later be disabled in thunderbird 6 (Windows). I have solved this by opening the install.rdf file with a text editor and patched the maximum version to 8.0 to have peace for some time.</description>
    </item>
    <item rdf:about="https://brb.epr.ch/blog/blog:ttg_t-beam_with_meshtastic?rev=1609568461&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-01-02T06:21:01+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>ttg_t-beam_with_meshtastic</title>
        <link>https://brb.epr.ch/blog/blog:ttg_t-beam_with_meshtastic?rev=1609568461&amp;do=diff</link>
        <description>TTGO T-Beam with Meshtastic


cd lora/meshtastic/
install python-pip
pip install --upgrade esptool
esptool chip_id
./device-install.sh -f firmware-tbeam-EU865-1.0.0.bin 


ttgo meshtastic</description>
    </item>
    <item rdf:about="https://brb.epr.ch/blog/blog:use_fetchmail_to_retrieve_mail_from_exchange_2010_server?rev=1306478928&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2011-05-27T06:48:48+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>use_fetchmail_to_retrieve_mail_from_exchange_2010_server</title>
        <link>https://brb.epr.ch/blog/blog:use_fetchmail_to_retrieve_mail_from_exchange_2010_server?rev=1306478928&amp;do=diff</link>
        <description>Use fetchmail to retrieve mail from exchange 2010 server

After my employer upgraded to exchange 2010, i could no longer get my mails by fetchmail. 

The problem was the gssapi hanging and not falling back to plain authentification.

This can be solved by configuring .fetchmailrc to use plaintext authentication</description>
    </item>
    <item rdf:about="https://brb.epr.ch/blog/blog:print_files_from_any_device_using_dropbox?rev=1303051573&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2011-04-17T14:46:13+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>print_files_from_any_device_using_dropbox</title>
        <link>https://brb.epr.ch/blog/blog:print_files_from_any_device_using_dropbox?rev=1303051573&amp;do=diff</link>
        <description>Print files from any device using Dropbox

If you have a printer attached to a Linux machine, you can easily send print jobs to that printer from another remote computer using Dropbox (see similar solutions for Windows and Mac).


#!/bin/bash
user=brb
PrintQueue=&quot;/home/$user/Dropbox/PrintQueue&quot;;
IFS=$'\n'
for PrintFile in $(/bin/ls -1 ${PrintQueue}) do
  lpr -r ${PrintQueue}/${PrintFile};
done
-- dropprint.sh ---</description>
    </item>
    <item rdf:about="https://brb.epr.ch/blog/blog:altgr_key_does_not_work_in_windows_guest_on_linux_host?rev=1242975683&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-05-22T07:01:23+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>altgr_key_does_not_work_in_windows_guest_on_linux_host</title>
        <link>https://brb.epr.ch/blog/blog:altgr_key_does_not_work_in_windows_guest_on_linux_host?rev=1242975683&amp;do=diff</link>
        <description>AltGr key does not work in windows guest on linux host

AltGr and other keys dont work in the windows guest. This is annoying, because you can't enter the '\' on european keyboards. I added these entries to /etc/vmware/config to get it working:




I added keymap to /etc/vmware/config

xkeymap.keycode.108 = 0x138 # Alt_R
xkeymap.keycode.106 = 0x135 # KP_Divide
xkeymap.keycode.104 = 0x11c # KP_Enter
xkeymap.keycode.111 = 0x148 # Up
xkeymap.keycode.116 = 0x150 # Down
xkeymap.keycode.113 = 0x14b # …</description>
    </item>
    <item rdf:about="https://brb.epr.ch/blog/blog:mbr_copy_backup_and_restore?rev=1304155923&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2011-04-30T09:32:03+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>mbr_copy_backup_and_restore</title>
        <link>https://brb.epr.ch/blog/blog:mbr_copy_backup_and_restore?rev=1304155923&amp;do=diff</link>
        <description></description>
    </item>
    <item rdf:about="https://brb.epr.ch/blog/blog:enable_screensaver_using_registry_fiels?rev=1300275089&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2011-03-16T11:31:29+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>enable_screensaver_using_registry_fiels</title>
        <link>https://brb.epr.ch/blog/blog:enable_screensaver_using_registry_fiels?rev=1300275089&amp;do=diff</link>
        <description>Enable screensaver using registry files

Using registry shortcuts to disable and enable screen savers in Windows XP
You can automate the disabling and enabling screen saver procedures with a couple of registryshortcuts. 

Enter the following fourlines into text files DisableScreenSaver.reg and EnableScreenSaver.reg Note: The second line must be blank.)</description>
    </item>
    <item rdf:about="https://brb.epr.ch/blog/blog:awg_m2_table?rev=1669706845&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-11-29T07:27:25+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>awg_m2_table</title>
        <link>https://brb.epr.ch/blog/blog:awg_m2_table?rev=1669706845&amp;do=diff</link>
        <description>AWG m2 Table


AWG	d (mm)	A (mm²)	R(Ohm/km)	Metrisch (mm²)
1	7,35	42,41	0,42	50
2	6,54	33,63	0,53	35
3	5,83	26,67	0,67	-
4	5,19	21,15	0,84	25
5	4,62	16,77	1,06	-
6	4,12	13,30	1,34	16
7	3,66	10,55	1,69	-
8	3,26	8,37	2,13	10
9	2,91	6,63	2,68	-
10	2,59	5,26	3,38	6
11	2,30	4,17	4,27	-
12	2,05	3,31	5,38	4
13	1,83	2,62	6,78	-
14	1,63	2,08	8,55	2,5
15	1,45	1,65	10,8	-
16	1,29	1,31	13,6	1,5
17	1,15	1,04	17,1	-
18	1,0237	0,823	21,6	1
19	0,9116	0,653	27,3	0,75
20	0,8118	0,518	34,4	0,75
21	0,7229	0,410	43,…</description>
    </item>
    <item rdf:about="https://brb.epr.ch/blog/blog:blank_screen_with_maple_12_on_ubuntu_if_running_compiz?rev=1276608529&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-06-15T13:28:49+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>blank_screen_with_maple_12_on_ubuntu_if_running_compiz</title>
        <link>https://brb.epr.ch/blog/blog:blank_screen_with_maple_12_on_ubuntu_if_running_compiz?rev=1276608529&amp;do=diff</link>
        <description>Blank screen with maple 12 on Ubuntu lucid if running compiz

Maple 12 will display a blank screen if compiz (Desktop effects) are active. This is because the default java install (openjdk) causes trouble with the combination compiz+maple.

Quick fix: Disable compiz
Real fix, without losing compiz:</description>
    </item>
    <item rdf:about="https://brb.epr.ch/blog/blog:change_windows_desktop_background_for_day_and_night_using_batchfile?rev=1293344792&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-12-26T06:26:32+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>change_windows_desktop_background_for_day_and_night_using_batchfile</title>
        <link>https://brb.epr.ch/blog/blog:change_windows_desktop_background_for_day_and_night_using_batchfile?rev=1293344792&amp;do=diff</link>
        <description>Change windows desktop background for day and night, using batchfile

Having a bright, blue wallpaper for day use and a darker, reddish wallpaper for evening/night is useful stay in synch with the real time of day. So, i wanted my windows xp machine automatically switch to the day wallpaper from 7-20 and to night from 20-7 hours. The following batch script does this, without any add-on software. To use, copy-paste the file and store it to your scripts directory (e:\etc in my case).</description>
    </item>
    <item rdf:about="https://brb.epr.ch/blog/blog:configure_apache2_to_use_comodo_essential_ssl_certificate?rev=1307339820&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2011-06-06T05:57:00+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>configure_apache2_to_use_comodo_essential_ssl_certificate</title>
        <link>https://brb.epr.ch/blog/blog:configure_apache2_to_use_comodo_essential_ssl_certificate?rev=1307339820&amp;do=diff</link>
        <description>Configure apache2 to use comodo essential ssl certificate

	*  Generate key: openssl genrsa -out ssl_subdomain_com.key 2048
	*  Create CSR: openssl req -new -key ssl_subdomain_com.key -out ssl_subdomain_com.csr
	*  Check CSR: openssl req -noout -text -in ssl_subdomain_com.csr</description>
    </item>
    <item rdf:about="https://brb.epr.ch/blog/blog:configure_awstats_on_debian_webserver?rev=1287908953&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-24T08:29:13+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>configure_awstats_on_debian_webserver</title>
        <link>https://brb.epr.ch/blog/blog:configure_awstats_on_debian_webserver?rev=1287908953&amp;do=diff</link>
        <description>Configure awstats on debian webserver

AWStats on Debian

Install AWStats 
aptitude update
aptitude awstats
Configure the apache2 for awstats

Copy configuration file for apache2. 
cp /usr/share/doc/awstats/examples/apache.conf /etc/apache2/conf.d/awstats</description>
    </item>
    <item rdf:about="https://brb.epr.ch/blog/blog:configure_dns_settings_in_etc_network_interfaces?rev=1398323509&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2014-04-24T07:11:49+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>configure_dns_settings_in_etc_network_interfaces</title>
        <link>https://brb.epr.ch/blog/blog:configure_dns_settings_in_etc_network_interfaces?rev=1398323509&amp;do=diff</link>
        <description>Configure dns settings in /etc/network/interfaces

In newer Ubuntu versions, resolv.conf can not be edited, since the network manager will automatically chnage the file. If you want to configure your dns settings by hand, you have to add them directly into the interfaces file. This is the cleaner approach, since all settings are in one place, but a hint in resolv.conf would have been nice</description>
    </item>
    <item rdf:about="https://brb.epr.ch/blog/blog:debian_setup_on_hexonet_virtual_servers?rev=1242829844&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2009-05-20T14:30:44+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>debian_setup_on_hexonet_virtual_servers</title>
        <link>https://brb.epr.ch/blog/blog:debian_setup_on_hexonet_virtual_servers?rev=1242829844&amp;do=diff</link>
        <description>Debian setup on hexonet virtual servers

Hexonet is a very nice ISP for resellers. I use them often, because of their good price, performance and ease of use. Also, they support (among others) debian on their virtual servers. 

	*  /etc/apt/sources.lst  replace testing by edge</description>
    </item>
    <item rdf:about="https://brb.epr.ch/blog/blog:display_shortcuts_in_mozilla_firefox_html_display?rev=1278610898&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-07-08T17:41:38+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>display_shortcuts_in_mozilla_firefox_html_display</title>
        <link>https://brb.epr.ch/blog/blog:display_shortcuts_in_mozilla_firefox_html_display?rev=1278610898&amp;do=diff</link>
        <description>Display shortcuts in mozilla firefox html display

If you want to see if a web site has keyboard shortcuts, you can show them by adding this to your Firefox profile's chrome/userContent.css file:


a[accesskey]:after,
button[accesskey]:after,
input[accesskey]:after,
label[accesskey]:after,
legend[accesskey]:after,
textarea[accesskey]:after
{
   margin-left: 0.3em;
   content: &quot;[&quot; attr(accesskey) &quot;]&quot;;
}</description>
    </item>
    <item rdf:about="https://brb.epr.ch/blog/blog:how_to_trap_interrupts_in_the_bash_shell?rev=1297883715&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2011-02-16T19:15:15+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>how_to_trap_interrupts_in_the_bash_shell</title>
        <link>https://brb.epr.ch/blog/blog:how_to_trap_interrupts_in_the_bash_shell?rev=1297883715&amp;do=diff</link>
        <description>How to trap interrupts in the bash shell


#!/bin/bash
 
myCleanup() {
  rm -f /myapp/tmp/mylog
  return $?
}
 
myExit() {
  echo -en &quot;\n*** Exiting ***\n&quot;
  myCleanup
  exit $?
}
 
trap myExit SIGINT
 
# main loop
while true
do
    echo -n &quot;Enter your name: &quot;
    read x
    echo &quot;Hello $x&quot;
done</description>
    </item>
    <item rdf:about="https://brb.epr.ch/blog/blog:monitor_linux_network_interface_traffic_using_nagios?rev=1306077744&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2011-05-22T15:22:24+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>monitor_linux_network_interface_traffic_using_nagios</title>
        <link>https://brb.epr.ch/blog/blog:monitor_linux_network_interface_traffic_using_nagios?rev=1306077744&amp;do=diff</link>
        <description></description>
    </item>
    <item rdf:about="https://brb.epr.ch/blog/blog:install_latest_firefox_in_debian_using_apt_pinning?rev=1512460748&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2017-12-05T07:59:08+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>install_latest_firefox_in_debian_using_apt_pinning</title>
        <link>https://brb.epr.ch/blog/blog:install_latest_firefox_in_debian_using_apt_pinning?rev=1512460748&amp;do=diff</link>
        <description>Install latest firefox in Debian, using apt pinning

Add repository to sources.list:


deb http://ftp.us.debian.org/debian/ sid main
deb-src http://ftp.us.debian.org/debian/ sid main



# Pinning setup for firefox:
# ==========================
# 1. Review the files in /etc/apt/preferences.d:
#    Pin-Priority should be: unstable&lt;testing&lt;stable&lt;Debian Security
# 2. Review and copy this file to /etc/apt/preferences.d
# 3. Update system, no new packages should be installed!!! 
#     # apt update
# …</description>
    </item>
    <item rdf:about="https://brb.epr.ch/blog/blog:least_squares_regression_of_parabola?rev=1500293919&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2017-07-17T12:18:39+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>least_squares_regression_of_parabola</title>
        <link>https://brb.epr.ch/blog/blog:least_squares_regression_of_parabola?rev=1500293919&amp;do=diff</link>
        <description>Least squares regression of parabola

For a project I needed a really fast least squares regression of a second order polynomial ($f(x)=ax^2+bx+c$).

Using GSL

Gnu Scientific library contains solutions for a lot of numerical problems. 
Here is a solution using</description>
    </item>
    <item rdf:about="https://brb.epr.ch/blog/blog:linux_adapt_keyboard?rev=1334653816&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2012-04-17T09:10:16+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>linux_adapt_keyboard</title>
        <link>https://brb.epr.ch/blog/blog:linux_adapt_keyboard?rev=1334653816&amp;do=diff</link>
        <description>Linux adapt keyboard

Long, long ago in a galaxy far, far away, I attempted starting a blog. It didn't last, but one of the things I posted was about this very subject. When I deleted the blog, I kept the articles. So here's that one. I apologise for the length.</description>
    </item>
    <item rdf:about="https://brb.epr.ch/blog/blog:linux_desktop_font_color?rev=1441867473&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2015-09-10T06:44:33+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>linux_desktop_font_color</title>
        <link>https://brb.epr.ch/blog/blog:linux_desktop_font_color?rev=1441867473&amp;do=diff</link>
        <description>Cinnamon (nemo) desktop font color

To change the desktop font color suited to your background:

	*  Create a file named gtk.css in your ~/.config/gtk-3.0 directory.
	*  Put the following text in that gtk.css file:


.nemo-desktop.nemo-canvas-item {
color: #FFFFFF;
text-shadow: 1px 1px @desktop_item_text_shadow;
}</description>
    </item>
    <item rdf:about="https://brb.epr.ch/blog/blog:linux_on_usb_stick?rev=1508589418&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2017-10-21T12:36:58+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>linux_on_usb_stick</title>
        <link>https://brb.epr.ch/blog/blog:linux_on_usb_stick?rev=1508589418&amp;do=diff</link>
        <description>Linux on USB Stick

Carrying your private OS with you on an encrypted USB stick is very useful.

Here are my personal notes how I did this. I have written them carefully, however I assume no responsibility for them.

What you need:

	*  Computer with Ethernet connection</description>
    </item>
    <item rdf:about="https://brb.epr.ch/blog/blog:maxmind_geoip_on_debian_lenny?rev=1287916788&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-10-24T10:39:48+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>maxmind_geoip_on_debian_lenny</title>
        <link>https://brb.epr.ch/blog/blog:maxmind_geoip_on_debian_lenny?rev=1287916788&amp;do=diff</link>
        <description>Maxmind geoip on debian lenny

Mapping ips to a country is often interesing. To enable this in Debian lenny:
aptitude install geoip-bin

To update the ip database daily, create a small script and make a symlink to it in /etc/cron.daily


#!/bin/sh                                                                                      
wget -q http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz -O - |gunzip &gt; /usr/share/GeoIP/GeoIP.dat.new &amp;&amp; mv /usr/share/GeoIP/GeoIP.dat.…</description>
    </item>
    <item rdf:about="https://brb.epr.ch/blog/blog:apache_htaccess_for_ip_or_auth_based_access?rev=1671541742&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-12-20T13:09:02+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>apache_htaccess_for_ip_or_auth_based_access</title>
        <link>https://brb.epr.ch/blog/blog:apache_htaccess_for_ip_or_auth_based_access?rev=1671541742&amp;do=diff</link>
        <description>Apache htaccess for ip or auth based access

Create a password file with a hard to guess name like ~/.htpass87s9adf with usernames and passwords using the commands
htpasswd -B USERNAME PASSWORD PASSWORDFILE
chmod o+r PASSWORDFILE

Create a file .htaccess</description>
    </item>
    <item rdf:about="https://brb.epr.ch/blog/blog:software_for_managing_and_playing_videos_and_music?rev=1406883767&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2014-08-01T09:02:47+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>software_for_managing_and_playing_videos_and_music</title>
        <link>https://brb.epr.ch/blog/blog:software_for_managing_and_playing_videos_and_music?rev=1406883767&amp;do=diff</link>
        <description>Best software for managing and playing videos and music

Storage format:

	*  MKV Videos
		*  Video: 720p H.264
		*  Audio: original audio in english, english and german as AAC

	*  Audio:
		*  FLAC + mp3 subfolder generated from flac


Ripping/Encoding:</description>
    </item>
    <item rdf:about="https://brb.epr.ch/blog/blog:quick_image_upload_to_imageshack_in_ubuntu?rev=1313056408&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2011-08-11T09:53:28+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>quick_image_upload_to_imageshack_in_ubuntu</title>
        <link>https://brb.epr.ch/blog/blog:quick_image_upload_to_imageshack_in_ubuntu?rev=1313056408&amp;do=diff</link>
        <description>Quick image upload to imageshack in ubuntu

PyShare

My preferred way is to use PyShare. PyShare is a Nautilus script that is accessed via the right-click menu. Simply click on an image and choose 'send to Imageshack' from a menu. Easy!

Once an image has uploaded, PyShare provides links with code wrapped-around for forums or</description>
    </item>
    <item rdf:about="https://brb.epr.ch/blog/blog:must_have_windows_software?rev=1279123833&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2010-07-14T16:10:33+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>must_have_windows_software</title>
        <link>https://brb.epr.ch/blog/blog:must_have_windows_software?rev=1279123833&amp;do=diff</link>
        <description>Must have windows software

	*  Total Commander. I can’t imagine working on a computer without Total Commander. Absolutely must-have software. Total Commander is what separates boys from men. Total Commander is probably the #1 reason why I don’t use other operating system on my desktop. Tabs, a great</description>
    </item>
</rdf:RDF>
