Skip to content

Instantly share code, notes, and snippets.

View PabloC's full-sized avatar

PabloC PabloC

View GitHub Profile
mkdir -p ~/Downloads/src
cd ~/Downloads/src
# Set options since we don't have GNU gettext installed
export TCL_PATH=`which tclsh`
export NO_MSGFMT=1
export GIT_VERSION='1.6.0.2'
# Get and install git
curl -O "http://kernel.org/pub/software/scm/git/git-$GIT_VERSION.tar.bz2"
@PabloC
PabloC / gist:6037
Created August 18, 2008 17:31
Ping to Search Engines
# Source: http://seventytwo.co.uk/posts/how-to-reach-enlightenment-and-get-your-site-indexed-by-search-engines
# Switch output on or off
OUTPUT = true
# Sitemap URL
SITEMAP_URL = 'http://www.example.com/sitemap.xml'
# Search engine pings configuration
pings_config = [
@PabloC
PabloC / incluir_empty_dirs_with_gitignore
Created August 18, 2008 17:29
Include Empty Dirs on GIT Repo
Here's a handy snippet for touching a .gitignore file in all empty
directories except the .git folder itself:
find . \( -type d -empty \) -and \( -not -regex ./\.git.* \) -exec
touch {}/.gitignore \;