Unsere Setup-Routine für eine Rails-App mit Nginx, Passenger, rvm auf einen Host Europe-VPS mit Ubuntu 10.4.
apt-get update
apt-get install -y build-essential bison openssl libreadline5 libreadline5-dev curl \
<?php | |
//absolute path to wp-load.php, or relative to this script | |
//e.g., ../wp-core/wp-load.php | |
include( 'trunk/wp-load.php' ); | |
//grab the WPDB database object, using WP's database | |
//more info: http://codex.wordpress.org/Class_Reference/wpdb | |
global $wpdb; |
#!/usr/bin/python | |
# encoding: utf-8 | |
""" | |
csv2xml.py | |
Created by Justin van Wees on 2011-04-18. | |
""" | |
import sys | |
import os | |
import string |
import re | |
# http://atomboy.isa-geek.com/plone/Members/acoil/programing/double-metaphone | |
from metaphone import dm as double_metaphone | |
# get the Redis connection | |
from jellybean.core import redis | |
import models | |
# Words which should not be indexed |
#!/usr/bin/env python | |
import httplib | |
import urllib, urllib2 | |
import os | |
import re | |
HTTP_HOST = 'disclosures.house.gov' | |
HTTP_PATH = '/ld/LDDownload.aspx' | |
def get_context(): |