Archives for: "September 2008"
Drupal RPM spec file generator module
Sep 28th
A Drupal RPM generator module could scan the modules installed and extract the following information:
Source file (full URL)
Requires - the modules required to support each module
Provides - the name of the service/capability/feature provided by e… more »
Commandline PHP emailer
Sep 28th
A nice commandline PHP emailer (can be adapted for sites), derived primarily from code at http://php.net.
Worthy of note:
Use of $HOSTNAME to get the name of the host. This is good for commandline when the $_SERVER variables aren't available.
S… more »
email forwarders
Sep 27th
email addresses such as sales, careers, info, and help should always be forwarders. This allows them to be independent of the people that handle them. It also simplifies development and content management by using the final address, which must then be… more »
Cleaning up after a hack
Sep 26th
grep -rl MultiViews * | sed "s/\(.*\)/chown user:group \1/" > chown_multi
grep -rl bacjdzzazbzceh * | sed "s/\(.*\)/chown user:group \1/" > chown_bacj
grep -rl MultiViews * | sed "s/\(.*\)/rm -f \1/" > rm_multi
grep -rl bacjdzzazbzceh *… more »
Professional Engineering - Habits
Sep 25th
Do what you're told. If you disagree, voice your concerns, and then, do what you're told, even if you still disagree.
Let people know what you're doing, so they have an opportunity to correct you if you are going astray.
Ask for permission if you are… more »