Too Cool for Internet Explorer

Archive for November 2005

UPDATE 2: Pocket-Bike

Thursday, 17. November 2005
18:05:05 (+0100)

Hier noch ein paar versprochene Bilder, von dem immer noch nicht gefahren MInimotorad. Mittlerweile habe ich es aber geschafft :-) den ZOKOMO-Aufkleber anzubringen. Ich finde, das gibt dem Pocket-Bike den nötigen Touch!

Viel Spaß beim Anschauen…

Pocketbike 0

Pocketbike 1

Pocketbike 2

Pocketbike 3

Zakomo 0

Zakomo 1

Zakomo 2

Zakomo 3

Zakomo 4

Zakomo 5

Kundenorientierter Service

Thursday, 17. November 2005
11:32:23 (+0100)

Gestern beim Surfen im Netz ist mir etwas sehr merkwürdiges aufgefallen. Was so mancher Online-Händler durch die Bandbreitenerhöhnung mit DSL treibt, ist schon sehr verwunderlich. Anstatt einen kleiner Katalog digital als PDF zur Verfügung zu stellen, gibt es jetzt sowas…

Kundenfreundlicher Produktkatalog

UPDATE: Pocket-Bike

Tuesday, 15. November 2005
22:26:04 (+0100)

Heute ist mein Pocket-Bike “Black Hawk” angekommen. Leider ist eine Zierleiste abgebrochen, was ich allerdings noch reklamieren werde.

Hier gibt es schonmal die ersten Bilder. Noch ganz ungetuned und ganz “sauber”.

Black Hawk 1

Black Hawk 2

Black Hawk 3

Black Hawk 4

Black Hawk 5

Luftfilter 1

Luftfilter 2

Pocketbike 8

Pocketbike 7

Pocketbike 6

Pocket-Bike angeschafft!

Wednesday, 09. November 2005
23:55:55 (+0100)

Nach langem Ringen “Soll ich, oder soll ich nicht?!” habe ich es endlich getan! Ich habe mir ein Pocket-Bike von der Firma ZAKOMO gekauft.

Das Bike MPB500M Black Hawk ist ein Mini-Motorad mit ca. 4 PS und einem 2-Takt Motor, der ein Benzin-Öl-Gemisch (1:25) schluckt.

Weitere Merkmale im Überblick:
- Luftgekühlter Einzylinder Zweitaktmotor
- Verstärkter Rahmen
- CDI Zündung/ ATCXS Zündkerze
- Hubraum 50cm³
- 70 km/h* Vmax
- 2,4 l Tankinhalt
- Seilzugstarter
- Vorne/ Hinten Scheibenbremsanlage
- Vorne/ Hinten 10″ Reifen
- Kraftstoffgemisch 1:25
- 19 kg Trockengewicht
- Maße: 105 x 38.5 x 59 cm
- Sitzhöhe 46cm
- Max. Zuladung: 115 kg
- Sportluftfilter
- Sportauspuff

*) abh. vom Fahrergewicht

Vergleich

Werbephoto

Pocketbike

Pocketbike

Relunch von www.mp3s.name

Tuesday, 08. November 2005
13:36:56 (+0100)

Das Projekt, www.mp3s.name auf die aktuelle Version von Typo3 3.8 umzustellen, ist seit gestern abgeschlossen.

Dabei ist mir aufgefallen, dass in der aktuellen Version von Typo3 im Gegensatz zur Version 3.7.x die Cache-Funktion stark verbessert wurde, genauso wie die Workflowfunktionalität. Im Großen und Ganzen macht das neue Release einen runderen Eindruck.

Zum Projektverlauf bleibt eins zu sagen: Ich habe ca. 80 Prozent der Zeit zur Portierung der Inhalte gebraucht und nur 20 Prozent zum Aufsetzen und Konfigurieren des CMS.

HACK #9: Einrücken und neu Formatieren

Wednesday, 02. November 2005
15:26:54 (+0100)

Da es in letzter Zeit etwas still um meine VIM-Hacks geworden ist, werde ich heute und jetzt die Nr. 9 der Reihe vorstellen.

Wer kennt das nicht, man hat einen Text, der in reinem ASCII geschrieben ist und der irgendwie nicht sinnvoll eingerückt ist. Dort wurden 3 Leerzeichen zum Einrücken verwendet, hier wieder 2 Tabulatoren und dort wurde wiederrum falsch eingerückt.

Alles in allem könnte man sicherlich auch reguläre Ausdrücke in VIM verwenden, um dem Formatierungsproblem entgegen zu wirken. Es gibt aber einen weitaus schnelleren und effektiveren Weg:

Machen Sie einfach eine solche wüst formatierte ASCII-Datei auf und geben (ohne vorangestellten ‘:’) ein

ggVG=

ein. Mit “ggVG” markieren sie den gesamten Text zeilenweise und mit dem ‘=’ setzen Sie den Formatierungen ein Ende, indem alles zurückgesetzt wird.

HACK #10: {En,De}cryption

Wednesday, 02. November 2005
13:16:10 (+0100)

Eine wahrscheinlich nicht so häufig genutzte Funktion in VIM wird wohl die Encryption sein. Dazu möchte ich vorab schon erwähnen, dass die Methode ASCII-Files zu verschlüsseln in VIM nicht wirklich sicher ist. Dazu möchte ich auch auf den folgenden Auszug aus der Hilfe “:help encryption” eingehen:

[CUT]
9. Encryption

Vim is able to write files encrypted, and read them back. The encrypted text cannot be read without the right key.

Note: The swapfile and text in memory is not encrypted. A system
administrator will be able to see your text while you are editing it.
When filtering text with “:!filter” or using “:w !command” the text is not
encrypted, this may reveal it to others.

WARNING: If you make a typo when entering the key and then write the file and exit, the text will be lost!

The normal way to work with encryption, is to use the “:X” command, which will ask you to enter a key. A following write command will use that key to encrypt the file. If you later edit the same file, Vim will ask you to enter a key. If you type the same key as that was used for writing, the text will be readable again. If you use a wrong key, it will be a mess.

:X Prompt for an encryption key. The typing is done without showing the actual text, so that someone looking at the display won’t see it. The typed key is stored in the ‘key’ option, which is used to encrypt the file when it is written. The file will remain unchanged until you write it. See also |-x|.

The value of the ‘key’ options is used when text is written. When the option is not empty, the written file will be encrypted, using the value as the encryption key. A magic number is prepended, so that Vim can recognize that the file is encrypted.

To disable the encryption, reset the ‘key’ option to an empty value:

:set key=

When reading a file that has been encrypted and this option is not empty, it will be used for decryption. If the value is empty, you will be prompted to enter the key. If you don’t enter a key, the file is edited without being decrypted.

If want to start reading a file that uses a different key, set the ‘key’ option to an empty string, so that Vim will prompt for a new one. Don’t use the “:set” command to enter the value, other people can read the command over your shoulder.

Since the value of the ‘key’ option is supposed to be a secret, its value can never be viewed. You should not set this option in a vimrc file.

An encrypted file can be recognized by the “file” command, if you add this line to “/etc/magic”, “/usr/share/misc/magic” or wherever your system has the “magic” file:

0 string VimCrypt~ Vim encrypted file
Notes:

  • Encryption is not possible when doing conversion with ‘charconvert’.
  • Text you copy or delete goes to the numbered registers. The registers can be saved in the .viminfo file, where they could be read. Change your ‘viminfo’ option to be safe.
  • Someone can type commands in Vim when you walk away for a moment, he should not be able to get the key.
  • If you make a typing mistake when entering the key, you might not be able to get your text back!
  • If you type the key with a “:set key=value” command, it can be kept in the history, showing the ‘key’ value in a viminfo file.
  • There is never 100% safety. The encryption in Vim has not been tested for robustness.
  • The algorithm used is breakable. A 4 character key in about one hour, a 6 character key in one day (on a Pentium 133 PC). This requires that you know some text that must appear in the file. An expert can break it for any key. When the text has been decrypted, this also means that the key can be revealed, and other files encrypted with the same key can be decrypted.
  • Pkzip uses the same encryption, and US Govt has no objection to its export. Pkzip’s public file APPNOTE.TXT describes this algorithm in detail.
  • Vim originates from the Netherlands. That is where the sources come from.

Thus the encryption code is not exported from the USA.
[/CUT]

Steht eigentlich alles drinnen :-) was man wissen muss. Wie man die Verschlüsselung umgeht werde ich evtl. in einem späteren Hack erklären…

So long…