English Drupal Blog

Geospatial Apache Solr searching in Drupal 7 using the Search API module (Ubuntu version)

In this tutorial, I'll share my notes and code I've used to setup geospatial Apache Solr searching in Drupal 7 using the Search API module.

A simple HTTP PHP class to crawl a URL for internal and external URLs

Here's a simple PHP class I wrote to crawl a URL and return a list of internal and external URLs.

Using the PEAR library HTML_QuickForm2 to create a simple authentication form with a custom validation callback

In this code snippet tutorial, I'll show how you can use the PEAR library HTML_QuickForm2 to create a simple authentication form with a custom validation callback.

Scanning a file system path for all version control remote repository urls

Just thought I'd share a PHP shell script to scan a file system path, search for all .git/.svn directories recursively, and collect a unique list of all remote repository URLs.

Piping A File In To MySQL

Show all RPM packages installed and what repository they came from on RedHat or Centos

Here's a quick linux command to show all the packages you have installed (on RPM based systems, like RHEL and Centos) and what repository they came from.

Dynamically changing Views table joins

Adding all untracked files to Git

Adding a lot of untracked files in a Git working copy can be a pain.

Using awk, grep, sed, and mysqldump to script and backup your MySQL databases on the command line

In this tutorial, I'll show how you can use awk, grep, and sed (my favorite command line tools) to backup and archive your MySQL databases.

同步内容