drupal
How to - find out if a website is running drupal
Submitted by Federico Pistono on Thu, 07/31/2008 - 12:17.Pretty simple.
#!/usr/bin/env bash wget -S $1 2>&1 | grep -q -m 1 "Expires: Sun, 19 Nov 1978 05:00:00 GMT" \ && echo "Yes" || echo "No"
Save the script in a file called is-drupal, and make it executable (i.e. chmod +x is-drupal) and put it in a directory in your path (e.g. ~/local/bin/). Now, you can easily check a site with following command:
is-drupal www.federicopistono.org
Found here.
Vimrc for Drupal developers
Submitted by Federico Pistono on Thu, 01/03/2008 - 13:51.How to use your favourite editor with the best framework? Save the file as ~/.vimrc-drupal and create an alias in the ~/.bashrc to use this configuration uniquely with Drupal.
File ~/.bashrc || ~/.bash_profile
alias vid="vim -u ~/.vimrc-drupal"























Recent comments
6 days 18 hours ago
1 week 1 day ago
2 weeks 3 days ago
2 weeks 5 days ago
4 weeks 8 hours ago
4 weeks 6 days ago
5 weeks 23 hours ago
5 weeks 1 day ago
5 weeks 1 day ago
6 weeks 1 hour ago