paddy's blog

paddy's picture

make the url() function XHTML compliant

Update the url() function in common.inc to be XHTML compliant.

Replace the & with a &

if (variable_get('clean_url', '0') == '0') {
  if (isset($path)) {
    if (isset($query)) {
-      return $base . $script .'?q='. $path .'&'. $query . $fragment;
+      return $base . $script .'?q='. $path .'&'. $query . $fragment;
    }

paddy's picture

pgn2ico

png2ico 2002-12-08  (c) Matthias S. Benkmann
USAGE: png2ico icofile [--colors <num>] pngfile1 [pngfile2 ...]

paddy's picture

Compile 64-bit PowerPC Linux kernel

Compile a linux kernel for a 64-bit PowerPC processor on Debian

make-kpkg --subarch powerpc64 --initrd --revision=customl.0 kernel-image

paddy's picture

Anonymous Comments

Unfortunately, due to spamming via anonymous comments I have had to turn off this feature. This is sad as it made simple the sites legitimate use. I shall try to find a simple solution for posting anonymous comments.

paddy's picture

build a ppc64 toolchain

apt-get build-dep gcc glibc binutils

paddy's picture

Hacker

The best laugh I had in years...

http://www.jellyslab.com/~bteo/hacker.htm

paddy's picture

Build an IDS with Snort, Shadow, and ACID

Add some extra protection to your system:

Build an IDS with Snort, Shadow, and ACID - Every organization understands the importance of using a firewall to protect its assets. But what happens if someone finds a hole in the wall? What if the infiltrator is actually someone from within your organization who wants to access information that he shouldn't? To cover those contingencies, you need an intrusion detection system (IDS) to complement your firewall. Fortunately, with a minimum amount of time and money you can set up an IDS with open source tools such as Snort, Shadow, and ACID. [NewsForge]

paddy's picture

The Ten Commandments of system administration, part I

A must read:

The Ten Commandments of system administration, part I - As system and network administrators, we play many roles. We are the ones who provide stable and secure environments for electronic business in all of its forms, from email to accounting systems to mission-critical Web applications. However, despite our best efforts, disaster will occasionally strike. In this series, I'll present what I feel are the 10 most important steps a systems administrator can take to ensure that when that dreaded 3 a.m. page hits, you're prepared to react quickly, assess the situation, and make everything right again. I call these the Ten Commandments of system administration. [NewsForge]

paddy's picture

weather.module available for dowload and testing

The latest incarnation of the weather.module is available for testing.

This module fixes some problems where the RSS weather feed was being bombarded with requests.

The results of the RSS feed are now cached for 1 hour.

Please report bugs in this module directly to me.

Get Firefox W3C Markup Validation Service W3C CSS Validation Service drupal.org | Community Plumbing Taylor McKnight  -  //gtmcknight Creative Commons License Irish

Syndicate

Syndicate content

Who's online

There are currently 0 users and 1 guest online.

pair Networks