Ownlcoud Client on RaspberryPi

Published on:

Owncloud offers a Desktop Sync client which is relatively comfortable to use. But if you want to sync on a headless client or to a system where there is no binary offered you may want to use a console sync version.

Just compile or install csync with owncloud support. Now you can run the following command:

csync -c [LOCALDIR] ownclouds://[USER]:[PASSWORD]@[SERVERURL]/remote.php/webdav

For regulary checks you might put this to cron

Install Ruby as User

Published on:

Ruby is a very common language exspecially for Web-Applications you can use Rails or Sinatra for fast an comfortable Development. Unfortunately ruby wasn’t installed in my University’s PC-Pool. So I needed to install Ruby and Sinatra manually and as user-Install. To do this theres a tool called _rbenv_

First you need to download rbenv:

git clone https://github.com/sstephenson/rbenv.git ~/.rbenv

After installing you need to setup your shell:

echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc 
echo 'eval "$(rbenv init -)"' >> ~/.bashrc 

To install a new version of ruby you also need the ruby-build-plugin.

git clone https://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build

Now you are able to install ruby. Open a new shell and type

rbenv install 2.1.2

Where 2.1.2 is the ruby-version you want to install. Finally you need to set up the version you want to use by typing:

rbenv local 2.1.2

Thats all. Now you can install gems by typing gem install [GEMNAME]. All your gems are installed locally.

Neue Bilder - Verlorene Passwörter

Published on:

Lange Zeit habe ich keine aktuellen Bilder mehr hochgeschoben. Dies soll sich wieder ändern und ich will versuchen wieder öfter aktuelle Bilder in Privates zu stellen.

Nebenbei hat ein Serverwechsel dafür gesorgt, dass die alte PasswortDatenbank nicht mehr gelesen werden kann. Somit sind die Passwörter nicht mehr aktiv. Wer wieder einen Zugang möchte soll mir einfach schnell eine Mail schreiben.

Weiterlesen →

Msp430 Debbuging With Pyclewn and Vim

Published on:

Writing code for microcontrollers is sometimes very annoying, since you don’t if your device is exactly doing what you want. Since (mostly) there isn’t any monitor or terminal connected to you can’t just put some debugging-output via printf to your code.

For my msp430 I found one solution by using pyclewn, mspdebug and vim.

Debugging within vim

Weiterlesen →

Tywin Lannister Quote

Published on:
Tags: etc

A nice quote by Tywin Lannister taken from A Storm of Sword book.

The greatest fools are ofttimes more clever then the men who laugh at them.

Tywin Lannister A Storm of Swords