Archive for the ‘Computer & Elektronik’ Category

Schnelles Backup nur für einen bestimmten Dateityp mit rsync

Sunday, September 25th, 2011

Um alle Dateien eines bestimmten Typs mit rsync zu backupen, jedoch alle anderen auszuschließen nutzt man (more…)

Im Explorer in Allen Ordnern Details anzeigen / Windows XP etc.

Wednesday, May 25th, 2011

Einfach den Explorer öffnen, die Ansicht so einstellen, wie man sie in Zukunft für alle Ordner haben will (z.B. Details und sortiert nach zuletzt geändert).
Dann im Explorer auf “Extras” klicken -> “Ordneroptionen…” und unter dem Tab “Ansicht” auf den Button “für alle übernehmen” klicken - und von nun an werden alle Ordner so angezeigt wie gewünscht.

Route in google Maps zu kml exportieren

Monday, April 25th, 2011

Wenn man eine Route in google Maps exportieren möchte, um sie etwa auf ein Handy zu laden oder mit einem anderen Programm weiter zu bearbeiten, muss man nicht mehr tun, als eine Route zu erstellen und dann den Link auf die Karte (oben Rechts in die Karte eingeblendet) zu kopieren und im Browser an die URL hinten noch &output=kml anzuhängen (ohne Leerzeichen).

Dann kann man die Route direkt als KML speichern.

Ich nutze dies z.B. um Routen, die von google für das Auto  gemacht wurden auf bikemap.net zu bearbteiten und “rennradtauglich” zu machen.

Abbreviated Journal Names with Mendeley - Replace Long Journal Names Automatically

Friday, December 11th, 2009

I created a small bash script that replaces the full journal names with the abbreviated ones (MEDLINE-standard).
You need to download the list of journals from pubmed and place it within the same folder of the script.

Additionally you need sqlite3 (sudo apt-get install sqlite3) under Ubuntu Linux. On Windows systems you need to install cygwin or something similar first i think… but it easier to make the conversion on a linux box on the campus.

Then you should (more…)

Last.fm Player for la fonera - The Scripts

Sunday, February 22nd, 2009

Here are the Scripts for the lastfm player implementation on the fonera2.0 I use right now.
Even the fonosfera dev-blog took notice from my project… now its up to me to make it run without much hacking.
(more…)

Alle PDF-Dateien einer Internetseite auf einmal herunterladen

Tuesday, February 10th, 2009

Sehr praktisch wenn man alle Vorlesungen oder so auf einmal kopieren möchte…

Der folgende Befehl lädt automatisch alle verlinkten PDF Dateien einer Internetseite in das aktuelle Verzeichnis.

wget -r -l1 -nd –no-parent -A.pdf www.uni-sonstewo.de/fach/vorlesung/liste.html

wenn man das .pdf durch .pps oder .zip ersetzt werden einfach alle Powerpoint-Präsentationen oder Zip-Archive heruntergeladen.

Man benötigt nur wget, welches bei Linux automatisch installiert ist (also auch im RZ) oder für Windows hier zu finden ist: Download

Für Firefox gibt es auch ein praktisches Addon, welches für diese Aufgabe geschaffen ist.

In Opera geht es noch einfacher:

  • F4 drücken (Seitenpanel anzeigen)
  • sich alle Links anzeigen lassen
  • “pdf” ins Suchfeld eingeben
  • Alle PDFs auf einmal runterladen

Lastfm Player for Fonera 2

Sunday, February 1st, 2009

Howto use Fonera 2.0 as a Last.fm Webradio station

Idea

When I start my computer in order to listen to lastfm internet radio I’m always tempted to do whatever on the computerr instead of concentrating on my non-computer tasks…
Thus i got to think about a device that might replace a conventional computer as music player…
When i heared about the new fonera with USB 2.0 and openwrt as operating system and last but not least the price of about 50 € including shipping i got the idea to use the tiny device as a cellphone controlled music player.

(more…)

Unbrick La Fonera 2.0 (fon-ng) with Ubuntu

Tuesday, December 9th, 2008

Two days after my fonera arrived, i already messed up the init.d section and had to reflash with RedBoot, as there is currently no .fon image available to flash via the webinterface.
After hours of testing with gnome-console (where the ctrl-c does not work) I got crazy but thanks to the irc-channel I became finally able to unbrick the tiny device…

The procedure:

  • install tftpd and putty: sudo apt-get install tftpd-hpa tftp-hpa putty
  • copy the image to /var/lib/tftpboot and rename it to i.e. alfred.image
  • start the tftp server: sudo /etc/init.d/openbsd-inetd start
  • test your tftpd: tftp localhost -c get /alfred.image
    the image should now be loaded to the current directory
  • get into redboot:
    sudo su
    ifconfig eth0 192.168.1.254;while true; do fping -t 100 192.168.1.1 && break; done;putty telnet://192.168.1.1:9000
  • you should end up in a telnet session and see the boot promt RedBoot>
  • type:
    fis del image -> confirm with y
    load -r -b %{FREEMEMLO} openwrt-fonera2.imag
    fis create image -> wait about 20min, drink some tea
    reset -> wait about 3 min -> unplug and replug the fonera
    Be happy…

Any comments are welcome…