Skip to content

Instantly share code, notes, and snippets.

@mmond
mmond / gist:47291
Created January 15, 2009 06:25
eldorado.database.yml
development:
adapter: sqlite3
database: db/development.sqlite3
timeout: 5000
session_key: eldorado_development
secret: YrDOFOmYJyFg2tTZykCbZjWYQUbKBt
test:
adapter: sqlite3
database: db/test.sqlite3
#!/bin/bash
# Create a playlist.xml for Flash Image Rotator from photo directories.
# Commands and scripts to parse a Linux image hierarchy to build data file
# It may make sense to run some of these steps individually vs. one script
# Note: the final step of creating the XML file does not like spaces, so
# entries with space are removed.
# Create a data file with all the photos in the directory and subdirs. If
# just photos exist, this can be as simple as:
#!/bin/bash
FILENUMBER=0
printf '<?xml version="1.0" encoding="utf-8"?>
<playlist version="1" xmlns="http://xspf.org/ns/0/">
<trackList>
' > playlist.xml
for PIC in `ls | grep -i .jpg`; do
printf '
#!/bin/bash
# This script will connect to your Ubuntu 8.0.4 server, install all the necessary applications and
# libraries to serve production Ruby on Rails applications and deploy the Eldorado full stack community.
# The script and its related configuration files are an extension are a superset of the original,
# basic configuration script for a new Slicehost Ubuntu server.
#
# The previous script is available at: http://github.com/mmond. It installed:
# Ruby 1.8.6
# Rubygems 1.2