This questions has come to me many times so it is time to write a post that acts as a reminder.
Currently I have a string lie
ftp://user:password@server/dirA/dirB/file
and what i want is parse it to get the user, password, server and path to the file (/dirA/dirB/file). My first try was:
ftp://(\S+):(\S+)@(\S+)(/\S+)
but that returns me server=server/dirA/dirB, which isn't what I want. The idea is that the group after the @ would make a non gready match. This is achieved using the ? char. So the final and right regular expression will becomes:
ftp://(\S+):(\S+)@(\S+?)(/\S+)
which returns server=server and file=/dirA/dirB/file.
Many times we use small text files to store information like:
- URLs,
- some piped command line that make some nice work
- passwords (oh my God!!!)
- and many more
Some time ago I talk about MonkeyGTD, a GTD tool based on TiddlyWiki. Today I want simply recomend you TiddlyWiki for use instead text files.
TiddlyWiki is a JavaScript wiki formed by only one HTML file (with the JavaScript code in it). Every time you save new content a new HTML version file is created. All your content is in stored in the HTML. No need for a database. No need for a web server. I would prefer my content stores as a plain and separate text file (with some wiki format) but all together in a HTML file isn't bad.
Probably you could think PSP is not the best device to read PDF files and also it is not intended to do so, better to play some game like Need For Speed :) Yes, I know but I'm "a curious animal" and use my PSP more read than other thing.
Some time ago I update my PSP, now runs 5.50 GEN-D firmware version, and since then Bookr doens't works, the nasty 8002014C error appears on my screen.
Well, don't ask my why but if you want to use bookr too the version that works for me is Bookr for firmware 1.0.
See bookr in action:
If you, like me, loves Drupal then this post is for you.
Not much so say here, simply another site pointing to MyDrupal post that collects a bunch of nice tutorials classified depending on the user level skill (beginner, intermediate, developer):
http://mydrupal.com/drupal-tutorials

Delicious
Digg
StumbleUpon
Propeller
Reddit
Magnoliacom
Newsvine
Furl
Facebook
Google
Yahoo
Technorati
Recent comments
26 weeks 2 days ago
47 weeks 16 hours ago
47 weeks 22 hours ago