Scripts
Scripts to help with general automation of routine tasks.
A View to Search by Usernames or Email in Drupal 6/7
I'll fully admit Drupal has one crappy user administration interface. And, since I get quite a few of the "can you find info about this user?" requests, which take so little time I can't bill for them :), I've expanded on the Drupal Post installation support question:
Search for username in Users list?
https://www.drupal.org/node/744628
and created a custom view to help out my customers.
In the better late than never, I've finally gotten around to publishing it . . .
Extract the Exif DateTimeOriginal field and prepend it to the file name to facilitate image sorting
Clients!? Clients are wonderful things. They pay the bills. But they definitely ask you for some odd things.
I have a client who needed 10s of thousands of images, from different sources, to be displayed by the date they were taken. As he didn't want to spend hours in his favorite image editor, checking the properties of each file one by one, he punted the whole thing to me with a: "Hey, take these images, and add them to the gallery and make sure they display by date."
As it's my business to make clients happy, my reply, "Sure. I'll have that for you in a few days."
Drush snippets for Drupal
Use, abuse as desired. “alias =” are entries I’ve placed in .bashrc.
drush pml | grep -v Core | grep Enabled -c alias drush="/home/michael/common/bin/drush/drush" alias di='drush pmi' alias dl='drush dl' alias ds='drush status' alias dv='drush vget > /home/michael/data/trash/drush-vget`pd`.txt'
Simple Last Access:
KTorrent scripts and information
Page for KTorrent information and scripts