mafflog
random stuff for teh interwebs
  • About
  • Projects
  • Archives
Home » 2008 » July

Nathan “Flutebox” Lee – Knight Rider Theme

July 29, 2008 · in Video, Web

Gerade zufällig gefunden. Das nenn ich mal Beatboxing par excellence.

Daten verschlüsseln mit TrueCrypt

Daten verschlüsseln mit TrueCrypt

July 29, 2008 · in How-Tos, Linux, Software, Windows

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.

(more…)

WordPress Plugin: DateArchives

July 24, 2008 · in Development, Projects, Wordpress

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.

(more…)

Melanzane alla parmigiana

Melanzane alla parmigiana

July 23, 2008 · in Kitchen

Wieder Melanzane, wieder Tomaten, wieder Basilikum, wieder italienisch…aber anders. Eignet sich hervorragend als Vorspeise, ist aber auch als Hauptspeise akzeptabel ;) Ich entschuldige mich wie üblich für die Handy-Bildqualität…

Die Menge reicht ca. für eine kleine Auflaufform.

(more…)

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

July 21, 2008 · 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

(more…)

Ten PHP Best Practices Tips

July 21, 2008 · in Development, How-Tos, Web

Just found an interesting article regarding PHP best practices:

Ten PHP Best Practices Tips that will get you a job | PHP vs .Net.

copymoveto.reg

copymoveto.reg

July 18, 2008 · in How-Tos, Software, Windows

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}"

Gnome-Art Next Gen 0.6.0

July 17, 2008 · in Linux, Software

Bin gerade auf vimeo darüber gestolpert. Sieht klasse aus, damit spart man sich das ewige herumsuchen auf den üblichen Seiten.

Link zum Artikel: http://vadi-blog.com/2008/07/17/gnome-art-nextgen-060-released/

Melanzane mit Tomaten und Mozzarella

Melanzane mit Tomaten und Mozzarella

July 16, 2008 · in Kitchen

Ein sehr simples und leichtes Sommergericht, das sich gut als Beilage zu Fleisch oder mit etwas getoastetem Weißbrot auch als Hauptspeise eignet.

(more…)

Reinstall grub using a Linux Live-CD

July 14, 2008 · in Linux

I just reinstalled Windows on my dual-boot system and had to reinstall grub as Windows setup overwrites the existing master boot record. Here’s how I did it using a Linux Live-CD (im my case an Ubuntu 7.04 CD I had lying around). My Linux root partition is /dev/sda6.

First it’s necessary to mount our Linux filesystem (including /proc and /dev). If you got /boot on an extra partition, you have to mount that partition too.

root@ubuntu:~$ mkdir /mnt/root
root@ubuntu:~$ mount -t ext3 /dev/sda6 /mnt/root
root@ubuntu:~$ mount -t proc none /mnt/root/proc
root@ubuntu:~$ mount -o bind /dev /mnt/root/dev

Then we can chroot into our system and re-install grub on /dev/sda.

root@ubuntu:~$ chroot /mnt/root /bin/bash
root@ubuntu:~$ grub-install /dev/sda

Done.

1 2 3 Next →
github github github

Search

Categories

  • Android
  • Development
  • Fun
  • General
  • Hardware
  • How-Tos
  • Kitchen
  • Linux
  • No Comment
  • Projects
  • Server
  • Snippets
  • Software
  • Video
  • Web
  • Windows
  • Wordpress

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Copyright © 2008-2013 mafflog