Dienstag, 19. Juli 2011

LaTex: Linebreak, NewLine in Caption

I you want to have a line break, a.k.a. new line, in your latex document's captions import the package "caption" like this:

\usepackage{caption}


In your caption's you can add the \newline command:


\begin{figure}

\centering

\includegraphics{}

\caption{Bla Bla Bla \newline Bla Bla Bla after line break}

\label{fig:aLabel}

\end{figure}


regards

Dienstag, 15. März 2011

Montag, 7. März 2011

CoreData Performance Measurement

world,

check out this evaluation on CoreData Performance.


s

Dienstag, 23. November 2010

Mittwoch, 30. Juni 2010

Git ignore already added files

dear world,

I wanted git to ignore files that I have already added to the repository. Unfortunately, if a file was added, changing .gitignore does not help. But there are two options:

  • git update-index --assume-unchanged [filename(s)]
  • git update-index --skip-worktree [path_to_ignore]
the first tells git to ignore changes to single files;
the second tells it to ignore all files below a given path .. a complete directory.

so far this works and I hope I did not mess something up.

regards,

s

Freitag, 5. März 2010

error C2275 illegal use of this type as an expression

You are probably programming c or c++ and banging your head against the wall because of error C2275 illegal use of this type as an expression.

check if you have declared a variable after the frist assignment in a function! remember: in c all variables have to be declared before any other statement.

stop banging!

Donnerstag, 17. Dezember 2009

Arduino Burn Bootloader on Atmega328P

hi little world,

for those of you spending hours on trying to burn the bootloader on an atmega328 on your arduino, check out this.

If you wonder, how to get to the screen shown in the above mentioned post: in avr studio, press the button looking like a microcontroller with the label "AVR":



I am using AVRISP mkII and AVR Studio and it works perfectly.


bye