This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# $Id: Portfile 52077 2009-06-09 19:30:08Z blb@macports.org $ | |
PortSystem 1.0 | |
name libmemcached | |
version 0.30 | |
description libmemcached is a C and C++ client library to the memcached server | |
long_description libmemcached is a C and C++ client library for memcached. \ | |
It has been designed to be light on memory usage, thread safe, \ | |
and provide full access to server side methods. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 <Proxy *> | |
2 Order deny,allow | |
3 Allow from all | |
4 </Proxy> | |
5 | |
6 ProxyPass / http://fantasy2.livecurrent.com/ | |
7 ProxyPassReverse / http://fantasy2.livecurrent.com/ | |
8 ProxyPreserveHost On |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Proxy *> | |
Order deny,allow | |
Allow from all | |
</Proxy> | |
ProxyPass / http://new.server.com/ | |
ProxyPassReverse / http://new.server.com/ | |
ProxyPreserveHost On |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
gifts = ("partridge in a pear tree", "turtle doves", "french hens", | |
"calling birds", "golden rings", "geese-a-laying", "swans-a-swimming", | |
"maids-a-milking", "ladies dancing", "lords-a-leaping", "pipers piping", | |
"drummers drumming",) | |
for i in xrange(1,len(gifts)+1): | |
print "On the {} day of Christmas, my true love gave to me:".format( | |
str(i)+("th" if 4<=i%100<=20 else {1:"st",2:"nd",3:"rd"}.get(i%10, "th"))) | |
for j, gift in list(enumerate(gifts[:i],1))[::-1]: |
NewerOlder