Technology

How to run Drupal cron maintenance tasks under Mosso hosting

Update: Mosso was rebranded as The Rackspace Cloud in June 2009.

Update 1 Jan 2010: It looks like Rackspace has fixed the problem with Mosso's Scheduled Tasks. Anonymous' comment tipped me off that you can now set the command language to http, then enter your site's cron.php as the command to run.

Drupal 'Access Denied' errors for anonymous user

Drupal can be a pain. After a whole day of development, we started getting 'Access Denied' errors on all content that should be accessible by the anonymous user. The cause turned out to be something to do with a module incorrectly altering the node_access table.

Running this query fixed it:

Bruce Schneier at DEFCON 15

Bruce Schneier answers questions at DEFCON 15.








There are 200 more videos on Peteris Krumins’ blog.



Security theatre and movie plot threats

Bruce Schneier on security theatre, movie plot threats and security trade-offs.






Web standards pragmatists vs. idealists

Joel Spolsky on the myth of web standards, IE 8 and pragmatists vs. idealists.

Should important web content always be “above the fold”?

Fluidesign on why you don't always have to cram content above the fold when designing websites: Demystifying “Above the Fold”

Amazon SimpleDB

"Tersely put, SimpleDB is hugely disruptive. It will take some time to evolve the new thinking patterns and new design disciplines that this technology forces us to consider. To do so, consider this breakdown of the similarities and differences between SimpleDB and conventional relational databases..."

Full article: Amazon SimpleDB 101 & Why It Matters

Scaling Drupal for a heavy load site

We've recently been asked by a client to look into creating a Drupal installation that can cope with heavy load. Here's some useful instructions from johnandcailin.com.

I'll post a follow-up in the near future explaining what we ended up doing and how successful it was.

Removing ^M from your Mac text files

Here are some tips for removing those troublesome carriage return characters from Mac OS text files:

Using perl

perl -pi -e 's/\r/\n/g' <filename>

ASP redirect script

PHP (or non-ASP) developers: if you ever need to create a redirect script on an IIS server using ASP, just create a file called 'index.asp' or 'default.asp' and add the following line:

What's Facebook doing with our data?

Facebook is great. You can find out what your friends are up to, hook-up with long-lost university chums; I've even hired someone through it.

SQL Injection Cheat Sheet

"About SQL Injection Cheat Sheet
Currently only for MySQL and Microsoft SQL Server, some ORACLE and some PostgreSQL. Most of samples are not correct for every single situation. Most of the real world environments may change because of parenthesis, different code bases and unexpected, strange SQL sentences. "

Syndicate content