The Road to Elysium

March 31, 2008

Personal Movie Database

Filed under: Linux — jorge @ 08:28

Morning! I’m currently in the process of writing a Personal Movie Database. It’ll be using a flat .txt file as a database, written in PHP and HTML, and with CSS to give it a nice touch. The software will be released under the GPLv2 license, and listed under the Atlantiscrew-pages. As for functions, currently there is “Overview”, “Add entry”, “Search”, and am planning to implement “Delete” as well as some access-control. I haven’t really found a good personal moviedatabase out there, so what better way to get what you want than to just write it yourself? :)

March 30, 2008

Improved Directory Listing Script

Filed under: Linux — jorge @ 08:18

A few weeks ago I posted a pretty simple directory listing script. After having talked to my friend Stian, the person in charge of Atlantiscrew Open Source Development, I decided to start working more with php, and at the same time contributing to their pages. I’ve named the script Dili (Directory Listing), and improved it a bit since then. The script is available for download at the Atlantiscrew-pages. By going to http://jorge.ulver.no/files/, you can see the script in action.

March 29, 2008

Stephen Lynch at Sentrum Scene, Oslo

Filed under: Day to day — jorge @ 08:27

Yesterday was a looong day. Started out with me getting out of bed at 5am, and coming home at around 1.30am. But believe me when I say that it was worth it! Stephen Lynch himself was holding a concert at Sentrum Scene, Oslo. Marte surprised me with tickets to the show, and before we knew it, there we were waiting for him to come out and start playing his show. It was simply amazing! He played some old songs, such as Lullaby, Craig, Grandfather Die, as well as three new songs, namely Waiting and Dirty Sanchez, and The Sidekick Song. An excellent evening if you ask me. :) There were some troublemakers in the show though, people drinking way too much, and you could see that Stephen Lynch was annoyed. So I doubt he’ll be coming back to Norway again. But at least we caught the show!

March 27, 2008

Late night ramble

Filed under: Day to day — jorge @ 08:26

Not so late for others, but close to my bedtime for me. ;) Just wanted to mention songs you HAVE to hear! Here’s the list:

  • David Bowie – Ziggy Stardust
  • Deep Purple – Child in Time
  • Deep Purple – Smoke on the Water
  • Dragonforce – Through The Fire and Flames
  • Franz Ferdinand – Take Me out
  • Heart – Barracuda
  • Led Zeppelin – Immigrant Song
  • Lynard Skynard – Free Bird
  • Motorhead – Ace of Spades
  • Ozzy Osbourne – Iron Man
  • Priestess – Lay Down
  • Queens Of The Stone Age – No One Knows
  • Wolfmother – Woman

Start listening!

Wordpress and bbclone

Filed under: Linux — jorge @ 08:20

bbclone to strike my fancy, but the thing is that for some time I didn’t quite figure out how to integrate the software with Wordpress. So, I found this solution. The following code goes into the file wp-blog-header.php immediately after the php declaration:

// Begin bbclone
 
if (!function_exists("nice_titles_for_wp")) {
 
function nice_titles_for_wp() {
 
$str = $_SERVER['REQUEST_URI'];
 
$str = $str[strlen($str) - 1] == "/" ?
 
substr($str, 0, -1) : $str;
 
$str = (($tmp = strrpos($str, "/")) !== false) ?
 
substr($str, ($tmp + 1)) : "index";
 
$str = ($str == "index") ? $str :
 
ucwords(str_replace("-", " ", $str));
 
return $str;
 
}// BBCode code (from help.bbclone.de)
 
define("_BBC_PAGE_NAME", nice_titles_for_wp());
 
define("_BBCLONE_DIR", "your-bbclone-directory/");
 
define("COUNTER", _BBCLONE_DIR."mark_page.php");
 
if (is_readable(COUNTER)) include_once(COUNTER);
 
}
 
// END bbclone
Older Posts »

Powered by WordPress