Monthly Archives: July 2008

Daten verschlüsseln mit TrueCrypt

Posted on in How-Tos, Linux, Software, Windows

Daten verschlüsseln mit TrueCrypt

Da ich mir kürzlich einen neuen USB-Stick zugelegt habe, habe ich heute mal ein paar Portable Apps (unter anderem PuTTY, Firefox, Thunderbird und Notepad++) daraufkopiert, um auch unterwegs an fremden Rechnern Zugriff auf gewohnte Tools zu haben. Da auch einige sensible Daten dabei sind (private Keys, gespeicherte Firefoxpasswörter, …) und sich meine Freude, sollte der Fall eintreten, dass ich es in einem Zustand geistiger Abstinenz schaffe den Stick zu verlieren, über besagte Daten in fremden Händen in Grenzen halten würde, habe ich die PortableSuite einfach komplett in einen TrueCrypt-Container gesteckt, der auf dem Stick liegt. Somit sind bei Verlust zwar die Daten auf dem Stick futsch, aber ich kann zumindest sicher sein, dass auch niemand anderes daran kommt. Wie das funktioniert, werde ich in den folgenden Schritten kurz erklären.

Continue reading →

WordPress Plugin: DateArchives

Posted on in Development, Projects, Wordpress

Please do not post feature requests or bug reports in the comments, but file a ticket in the designated Issue Tracker instead. Thank you!

I just wrote a simple WordPress plugin which creates post archives which are categorized by date. You can find an example of the plugin in action on the new archives page.

Installation

  1. Copy the code linked at the end of this post into a new file
  2. Save the file as something like datearchives.php
  3. Upload your new file into your wp-content/plugins folder
  4. Enable the plugin in your WordPress backend

Parameters

The plugin takes three optional arguments:

void DateArchives ( [ string $headingtag   [, string $splitformat  [, int $limit ]]] )
string headingtag
HTML tag which will be used for headings.
(defaults to h2)
string splitformat
String in strftime format which defines how posts should be categorized. Maybe better to understand if you take a look at my archive page – there I used the default format which results in categories like ‘June 2008′. By changing this string you can categorize your archives by day, month, year, even by hour if you wish so.
(defaults to %B %Y)
int limit
If you got many posts you may want to limit the output to a certain amount of posts. Will output all posts if set to 0 or null.
(defaults to null)

Note: As all parameters are optional, you can omit them all if you don’t need to tweak the plugin’s output.

Continue reading →

Quick and dirty: set up a local PHP and Ruby development environment on Ubuntu Hardy Heron (8.04)

Posted on in Development, How-Tos, Linux, Server

This is a quick and dirty tutorial how to set up a local development stack on a fresh Ubuntu Hardy Heron (8.04) install.

Here is what we will install:

  • Apache 2.2
  • PHP 5 as apache module
  • Ruby 1.8 as apache module & Rails 2.0.2
  • MySQL 5
  • phpMyAdmin

Continue reading →

copymoveto.reg

Posted on in How-Tos, Software, Windows

copymoveto.reg

Hab ich gerade in einem Unterordner gefunden: copymoveto.reg. Durch Hinzufügen der folgenden Registrykeys werden die Kontextmenüeinträge In Ordner kopieren... und In Ordner verschieben... aktiviert. Dafür einfach folgenden Code in ein Textfile kopieren, mit der Dateiendung .reg abspeichern und ausführen.

REGEDIT4

[HKEY_CLASSES_ROOTAllFileSystemObjectsshellexContextMenuHandlers]

[HKEY_CLASSES_ROOTAllFileSystemObjectsshellexContextMenuHandlersCopy To]
@="{C2FBB630-2971-11D1-A18C-00C04FD75D13}"

[HKEY_CLASSES_ROOTAllFileSystemObjectsshellexContextMenuHandlersMove To]
@="{C2FBB631-2971-11D1-A18C-00C04FD75D13}"