Archive

Archive for June, 2011

WordPress backup with images of wordpress.com blog

– Use export function to get a WordPress eXtended RSS file as an export of your blog.

– Download, install and start JDownloader.

– Open JDownloader and activate clipboard monitoring function.

– Open the exported file with an editor and copy the content of the file to clipboard.

– Go to Linkgrabber tab in JDownloader. Put all files into one folder and use the filter function to select only the images. Start the download.

Categories: Misc, WordPress

LaTeX – customizing the depth of the table of contents and subsection headings

You can set the general depth of the contents listing using:

\setcounter{tocdepth}{n} where n is the level, starting with 0 (chapters only)

and the general depth subsection headings using:

\setcounter{secnumdepth}{n} where n is the level, starting with 0 (chapters only)

in the preamble (i.e. before \begin{document}. This will work for the whole document.

Categories: LaTeX

LaTeX – customizing the depth of the table of contents for different parts of document

You can set the general depth of the contents listing using:

\setcounter{tocdepth}{n} where n is the level, starting with 0 (chapters only)

in the preamble (i.e. before \begin{document}. This will work for the whole document.

If you want to have the appendixes listed only as chapters you can use the package tocvsec2 which allows you to change the depth level in different parts of the document. You can set the level up to sections in one part with:

\settocdepth{chapter}

and later set it to sections or subsections. The level will remain the way you set it until the next \settocdepth command. Be shure not to have a line \renewcommand{\tableofcontents} right before the \settocdepth.

Categories: LaTeX

List with small line spacing

\usepackage{paralist}

\begin{compactitem}

\item {this}

\item {that}

\end{compactitem}

Categories: LaTeX

JabRef Eintragstypen (Entrytypes)

  • @article: ein Journalpaper
  • @inproceedings: ein Konferenzpaper
  • @masterthesis: Eine Diplomarbeit u.ä.
  • @techreport: Technical Report, z.B. vom IMISE oder Ontomed
  • @incollection: Buchbeiträge, z.B. Telemedizinführer
  • @proceedings: Tagungsband, Tagungsbericht, Veröffentlichung
  • @misc: wenn sonst nichts zutrifft
Categories: LaTeX

ListView with thumb scroller (fast scroll)

To add the thumb scroller adjust your ListView like that:

<ListView android:layout_height="fill_parent" 
     android:layout_width="fill_parent"  
     android:id="@+id/android:list"    
     android:fastScrollEnabled="true"></ListView> 

For more informations have a look at here and here.

Categories: Android, Development

Windows 7 Bildvorschau Hintergrund beige statt weiß

Desktop -> Anpassen. Jetzt links Anzeige dann “Anzeigeeinstellungen ändern” auswählen, dort auf “Erweiterte Einstellungen” klicken, den Tab “Farbverwaltung” auswählen und dort auf den Button “Farbverwaltung…” klicken. Nun die Checkbox “Eigene Einstellungen für das Gerät verwenden” aktivieren (falls noch nicht der Fall), damit er die Einstellungen überhaupt übernimmt.

  • Nun sieht man unten “Mit dem Gerät verknüpfte Profile”. Der erste Fix besteht daraus, einfach alle Einträge zu entfernen, falls welche vorhanden sind. Bei mir sind keine vorhanden, vielleicht habe ich deshalb das Problem nicht.
  • Die zweite Möglichkeit besteht darauf, ein neues Profil hinzuzufügen. Hier wählt man dann das “sRGB IEC61966-2.1” Farbprofil. In der Liste dann dieses Profil auswählen und auf den Button “Als Standardprofil festlegen” klicken.

Nach einen Neustart von Windows sollte das Problem mit der Fotoanzeige behoben sein.

Categories: Windows 7

Mac OS X shortcuts

Key Description
Control-A (Home) and Control-E (End) This is pretty much the substitution for Windows button HOME and END. Pressing Command-← or Command-→ performs the same action.
Control-D (Delete) and Control-H (Backspace) In Windows, we’ve got two buttons for this : DEL and BACKSPACE. You can use Fn-Delete to perform forward deletion while the button Delete acts as Backspace.
Cmd + alt + ctrl + 8 Invert screen
Cmd + alt + ctrl + , or . raise or decrease contrast
Control-Shift-Eject Turn your display off without logging out from the system.

F-Keys

Key Description
F9 show all windows
F10 show all windows of a programm
F11 show Desktop
F12 show Dashboard
Categories: Mac OS X

Show hidden files in Finder

In Terminal type:

defaults write com.apple.finder AppleShowAllFiles TRUE
killall Finder

To set it back:

defaults write com.apple.finder AppleShowAllFiles FALSE
killall Finder

There is also an AppleScript which shows/hides hidden system files.

Categories: Mac OS X