Archive for July, 2005

TextMate and rhtml files

Sunday, July 10th, 2005

If you prefer to edit your rhtml files in Ruby mode rather than in HTML mode, you have to follow this little recipe:

All pathnames are relative to TextMate.app/Contents, to edit a plist-file, use the Property List Editor

  • Open Info.plist. In CFBundleDocumentTypes for HTML (in my case: label 2). Delete rhtml from CFBundleTypeExtensions.
    Now search for Ruby (in my case: label 26).
    Add rhtml to CFBundleTypeExtensions.
    Save and close the file.
  • Open SharedSupport/Bundles/HTML.tmbundle/Syntaxes/HTML.plist. In fileTypes, delete rhtml.
    Save and close the file.
  • Open SharedSupport/Bundles/Ruby.tmbundle/Syntaxes/Ruby.plist. In fileTypes, add
    rhtml.
    Save and close the file.

Et voilà…

NOTE! I HAVE NEVER WRITTEN A SINGLE LINE OF RUBY! I STRONGLY DISLIKE THE LANGUAGE

TextMate & RHTML

Sunday, July 10th, 2005

Friday, July 8th, 2005

Ruby on Rails 0.13 is out and – as usual – it is claimed that it is compatiple to previous versions.

One Breakage occures with ActionMailer. In previous versions versions the ApplicationHelper was included. Now it isn’t anymore. So do something like this

class InternalNotifier < ActionMailer::Base
  helper :application

and you are all set.

Another one, much harder to fix manifests in

ActionController::DoubleRenderError: Can only render or redirect once per action

Tired of setting your mobile phone’s clock?

Tuesday, July 5th, 2005

There is new software by c0re for all you Siemens S55 (and probably other models as well) owners.
Ah, it’s of course MacOS X software.

Download it here:
mobiletime

Tuesday, July 5th, 2005

Postbank Unsinn

Monday, July 4th, 2005


Return-Path: support@postbank.de
X-Original-To:
Delivered-To: ProNetwork.info

Received: from [61.50.165.183] (helo=queretaro.com)
by continuity.labor.koeln.ccc.de with smtp (Exim 4.34)
id 1DpMyl-0003Ha-P4
for ; Mon, 04 Jul 2005 11:11:15 +0200
Received: from postbank.de (mailrelay.de.ignite.net [195.182.110.146])
by queretaro.com (Postfix) with ESMTP id 39D87E443D
for ; Sun, 03 Jul 2005 18:10:51 -0500
From: Postbank
To: Stefan
Subject: Postbank Online-Banking
Date: Sun, 03 Jul 2005 18:10:51 -0500
Message-ID:
MIME-Version: 1.0
Content-Type: multipart/related;
boundary=”—-=_NextPart_000_0036_5A7CA379.EFEBEB73″
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook, Build 10.0.4024
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
X-GMX-Antivirus: 0 (no virus found)
X-Verified-Sender: Yes
X-Broken-Reverse-DNS: no host name found for IP address 61.50.165.183
X-SA-Exim-Connect-IP: 61.50.165.183
X-SA-Exim-Mail-From: support@postbank.de
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at null.o123456789.net
X-Spam-Status: No, hits=-82.7 tagged_above=-999.0 required=5.0
tests=DATE_IN_PAST_06_12, DNS_FROM_RFC_ABUSE, FORGED_OUTLOOK_HTML,
FORGED_RCVD_HELO, HTML_70_80, HTML_MESSAGE, HTML_TAG_EXIST_TBODY,
MIME_HTML_ONLY, RATWARE_RCVD_PF, RAZOR2_CF_RANGE_51_100,
RAZOR2_CHECK, RCVD_IN_DSBL, USER_IN_WHITELIST
X-Spam-Level:

[-- Attachment #1 --]
[-- Type: text/html, Encoding: quoted-printable, Size: 4.3K --]
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable

[-- Autoview using /usr/bin/elinks -force-html -dump ''/tmp/mutt.html'' --]
Sehr geehrter Kunde,

Im Zusammenhang mit den häufiger werdenden Betrügereien mit den
Bankkonten von unseren Kunden sind wir gezwungen eine zusätzliche
Autorisation von den Kontoinhabern durchzuführen.
Der Sicherheitsdienst der PostBank hat die Entscheidung getroffen, die
Datensicherung einer neuen Generation einzuführen. Dazu wurden von
unseren Spezialisten sowohl die Informationsübertragungsprotokolle, als
auch die Verschlüsselungsart der übertragenen Daten modernisiert.

Im Zusammenhang mit dem Obenerwähnten bitten wir Sie, eine spezielle
Form der zusätzlichen Autorisation auszufüllen.

[1][IMG]

Diese Maßnahmen werden ausschließlich zur Sicherung der Interessen von
unseren Kunden getroffen.

Danke für die Zusammenarbeit,
Administration der Postbank Online Banking
© 2004 Deutsche Postbank AG

References

Visible links
1. http://www.postbank.de.pbde_pk_home-pbde.pk_produkteundpreise.pbde_pk_serviceundkredite-00945001843.backup-server05.com/

[-- Attachment #2: logo.jpg --]
[-- Type: image/jpeg, Encoding: base64, Size: 37K --]
Content-Type: image/jpeg;
name=”logo.jpg”
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename=”logo.jpg”
Content-ID:

[-- image/jpeg is unsupported (use 'v' to view this part) --]

[-- Attachment #3: clickhere.gif --]
[-- Type: image/gif, Encoding: base64, Size: 2.8K --]
Content-Type: image/gif;
name=”clickhere.gif”
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename=”clickhere.gif”
Content-ID:

[-- image/gif is unsupported (use 'v' to view this part) --]

Saturday, July 2nd, 2005