## Use own MIRRORS for bitbake in Yocto

Hello everybody,
today I’ll quickly show how to replace the default MIRRORS defined in the bitbake configuration (meta/conf/bitbake.conf) without touching it. This can be useful if you have for example no ftp access and you don’t want to change the default bitbake configuration.

Therefore we choose the GNU_MIRROR (which is by default ftp://ftp.gnu.org/gnu) and change it to a non-ftp URL.

To change/replace the MIRROR URL just add and export another definition to conf/local.conf in your build directory. So the change to a non-ftp GNU_MIRROR would look like this:

export GNU_MIRROR = "http://ftp.gnu.org/gnu"

## Properly add a List of Listings in LaTeX

Hi folks,
today I’d like to show you how to properly add a “List of Listings” using the listings package to your LaTeX document. Before we start you have to include the listings package:
\usepackage{listings}

Then you can (if you like to) change the title of the section. By default it is named “Listings”. Here I change it to “List of Listings”:
\renewcommand{\lstlistlistingname}{List of Listings}

These two commands were outside the begin{document}, so the following ones will be inside.

Now we have to add a listing
\begin{lstlisting}[caption={ANSI C Hello World},label={lst:c_helloworld}] #include <stdio.h>

 

int main(void) { printf("Hello World\n"); return 0; } \end{lstlisting}

And finally here is the code which properly adds the List of Listings (also to the ToC)
% List of Listings \newpage \phantomsection \addcontentsline{toc}{section}{\lstlistlistingname} % Add it to the ToC \lstlistoflistings % The list itself

Hope this helps 😉

gr33z,
g0hl1n

## Nagios-Plugin-Perl: my first bugfix was merged

Hey,
a few hours ago my first pull request on Github for the nagios-plugin-perl was merged. *Wohooo*
It contained a patch for the rt.cpan.org bug #77399 which prevented using spaces in section names.

Just wanted to mention it 😛

see you,
g0hl1n

## Nagios-Plugins: Three more of my patches accepted

Hey,
last Weekend three more commits of mine got merged into the Nagios-Plugins master branch at Github and will therefore be published with the next version of the Nagios-Plugins. *Wohooo*
With these commits I’ve fixed bugs in check_http & check_apt and added a new feature to check_procs.

The commits I’m talking about are listed (and linked to Github) below.

For more details about my commits to the Nagios-Plugins see the history on Github: https://github.com/nagios-plugins/nagios-plugins/commits?author=g0hl1n

regards,
g0hl1n

## Two new repositories on Github

Hello you,
I’ve just added two brand new public repositories to my Github account.

The LaTeX repository will host some of my LaTeX stuff (templates, macros, etc.).
The second repo dotfiles will contain most of my Linux configuration files like vimrc, screenrc and so on.

So check them out at https://github.com/g0hl1n and if you like the repositories give them a star 😉

See you later!
g0hl1n