## NextGen vanishes on front page

posted in: Technicalities, Uncategorized, www | 0

My NextGen gallery kept vanishing on my WordPress frontpage. It did not show as long as the page was set to front page, as soon as I picked a different front page, the images reappeared. Even when I changed the theme, the gallery disappeared.

I checked and rechecked the source code, but what I apparently missed was the gallery being wrapped in auto excerpt tags:

&amp;lt;!-- Begin :: Generated by Easy Custom Auto Excerpt --&amp;gt;
&amp;lt;div class="ecae"

## How to Stream Music from Linux PC to iPhone over Wifi

posted in: Linux | 1

There are endless possiblities to stream music from your computer to your phone over wifi, but few dedicated howtos that walk you through the process step by step.

# Option 1: UPnP

Universal Plug and Play (UpnP) is developed by the Digital Living Network Alliance (DLNA) and has interoperateability in mind. See Make Use Of for a list of possibilities.

Server: Subsonic

Install from here http://www.subsonic.org/pages/installation.jsp
RewriteRule ^$Recipes? [R=301,L] This would take any URL containing the string »Recettes«, no matter where in the url it was, replace it with »Recipes« – and loose everything that followed. Now, Carolyn’s last example contains something she could have been doing if her strings were consistent: RewriteCond %{QUERY_STRING} ## The Right Password Manager posted in: Other, Technicalities | 0 A guy got hacked recently. He calls the incident »epic« which may well be true from his personal point of view. Also, the apple/amazon shortcomings in handling his sensible information are downright preposterous, but there were a couple of mistakes at his end that made the scope wider than it had to be and the effect far more devestating than necessary. For instance he did show an epic laxness concerning his personal data by not obeying Schofield’s 2nd law of computing. It states »data doesn’t really exist unless you have at least two copies of it.« I do obey this law by using backintime and I recommend you use something similar. The guy also daisy-chained password-resets and email-accounts, offering a single point of entry to his digital everything. This got me thinking about my own passwords. They are generally very strong and I have a lot of different passwords. Sometimes too many different ones, so I keep forgetting which ones I used where. But sometimes not enough different ones, as some applications share some passwords. This needs to change, so it is time for a password manager. [update 30.8.2012] I installed KeePassX a while ago and am quite happy. I thought I had found the perfect combination when Nic mentioned the open source self hosted oneCloud, but I failed. Looking for another solution, I went for ubuntu one. Ubuntu one does not support android 1.6 any more, but ES File manager does. And it also does support ubuntu one. [update 26.9.2019] Bill of Pixel Privacy sent me an article on passwords which has a lot of interesting facts and figures. So if you think all this doesn’t concern you, you might want to check it out: https://pixelprivacy.com/resources/reusing-passwords/ [/update] What are the options? Passwordmaker KeepassX for *nix-based systems + independent from KeePass but they share a db-format, so you can port stuff + GNU & Open Source KeePass ? Any connection to KeepassX? + Has a portable version + independent from KeePassX, but uses same db-format, so you can port your stuff needs wine or windows ## xubuntu 12.04 posted in: Linux, Technicalities | 0 Way too many issues with a first attempt drove me to the decission to reinstall. I had a look around and made eye contact with fedora, arch and debian but in the end thought I’d give a clean xubuntu installation a second chance – and I did not regret it. Here goes: ## 1. Installation from LiveUSB First surprise:No issues. Only: apparently all of a sudden my computer needs a /boot partition, so my partition map looks like this: 1. ## Feeds a la Tiny Tiny RSS posted in: Technicalities, www | 3 [update 2012-10-04] In the meantime, I helped Nic with what he calls scratching some itches for ex-Google-Reader users: we now have gritttt, and gritttt has a) a means to import shared/stared items from g-reader into tt-rss; b) drive-by sharing, meaning you can share any page in tt-rss on the fly; and c) a widget that can display the latest shared items from tt-rss on your website. More here. [/update] [update 2011-11-10] Both this and Nic’s article have been featured on tt-rss’ project site. There are a bunch of other interesting and useful articles, too, so check it if you’re interested in tt-rss. [/update] A while ago, Google updated their reader, killing one of the best features: sharing. I looked around a bit for a suitable alternative and in the end settled with tiny, tiny rss. Advantages: 1. It runs on my server, so nothing can be done to it unless I approve 2. Sharing is easy 3. It’s simple Nic, who thankfully came up with this great alternative, has a more techno-philosophical article on the switch. Some minor issues I had while installing: ## 1. open_basedir not supported Problem: during installation I got the fatal error php.ini: open_basedir is not supported Solution: Open <tt-rss-root>/sanity_check.php and find the entry Update: in recent versions it’s in <root/include> if (ini_get(“open_basedir”)) {$err_msg = “php.ini: open_basedir is not supported.”; }

Comment it out (using // at the start of each line).

All credit and a major hat tip goes to demaya.

[update 2011-11-22:]

Solution 2: see here (thanks to Reperiam for his comment below pointing it out.)

[/update]

## 2. No folders after import

Solution: Before importing, go to preferences in tt-rss and enable feed categories

## 3. OPML-Import error/timeout

Problem: On importing the OPML I had a timeout in Firefox and the following error in Chrome:

Exception: TypeError: Cannot read property ‘innerHTML’ of null Function: opmlImportComplete()

TypeError: Cannot read property ‘innerHTML’ of null

at opmlImportComplete (http:///prefs.js?1320259102:791:35)

at HTMLIFrameElement.<anonymous

(http:///prefs.php:1:141)

(http:///prefs.php:2:4)

Solution: Ignorance. Apparently it’s not a tt-rss problem but one of the browser, so just ignore it.

## 4. Cache needs to be writable

Just make sure that on your server

## Strikethrough in LaTeX

posted in: LaTeX, Technicalities | 8

Today I found a second way to achieve a strikethrough in LaTeX (what is done by »line-through« in css: strike out text). If you want to put a line across text, your choices are »ulem« and »cancel«:

## Strikethough in LaTeX using »ulem«

\usepackage{ulem} in the preamble gives you two ways to strike out text (and a couple more for underlining):

1. \sout{text

## ΛαΤεΧ in Greek

posted in: LaTeX, Technicalities | 0

There are various possibilities to include Greek text in your LaTeX document. The three ones I found are these:

1. $\Gamma\rho\varepsilon\varepsilon\kappa$ gets you Γρεεκ allright, but it looks clumsy and lacks all the accents etc.
2. betababel. It does not work with my customised control sequences, and I am too lazy to change them and learn them all anew.
3. polutonikogreek. Neat, slim, worked straight away.

Nos. 2 & 3 use ngerman, so make sure they don’t start a fight with german.

## update

I had a slight problem with polutonikogreek and titletoc. Whenever I used something like
\greek{p’olemos}
which referred to this entry in the preamble:
\newcommand*{\greek}[1]%
{\selectlanguage{polutonikogreek}{#1}%
\selectlanguage{german}}
the .toc-file looked like this at the corresponding place:
[…]
\contentsline {section}{\numberline {1.1}KAPITEL-1.1}{14}
\contentsline {subsection}{\numberline {1.1.1}UNTERKAPITEL-1.1.1}{14}
\select@language {polutonikogreek}
\select@language {german}
\select@language {polutonikogreek}
\select@language {german}
\contentsline {subsection}{\numberline {1.1.2}UNTERKAPITEL-1.1.2}{20} […]
Wherever \select@language appeared in the toc, the styling of my toc entries of the subsection level was being messed up. I style subsection entries in the toc in a way that they all get written in a single line. It looks like this:

\titlecontents*{subsection}[3.5em]   {\vspace{-0.5mm}\itshape\footnotesize}{}%   {}{\dots\normalfont\footnotesize%`

## Custom Counter in LaTeX

posted in: LaTeX, Technicalities | 0

## How it does work:

Here is what we do: We define the counter
\newcounter{MyCounter}

\renewcommand\theMyCounter{\roman{MyCounter}}

after it, and it works. Thanks to Axel for his help on this.

## How it does not work:

When you define a new counter like this

\newcounter{MyCounter}

And later use it like this

\refstepcounter{MyCounter}\label{example}
\roman{MyCounter}. Beispiel eins

And then