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/python | |
import os.path | |
import sys | |
if len(sys.argv) > 1: | |
if os.path.exists(sys.argv[1]): | |
print os.path.abspath(sys.argv[1]) |
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
# Author: Kun Xi <[email protected]> | |
# License: Python Software Foundation License | |
# | |
# Note: This version, 0.3.1, supports the signed requests required | |
# by Amazon. | |
# The changes over 0.3.0 are based on a patch for 0.2.0 found here: | |
# http://blog.umlungu.co.uk/blog/2009/jul/12/pyaws-adding-request-authentication | |
# To make it work, just download pyaws from http://trac2.assembla.com/pyaws | |
# and replace the ecs.py file with this one. |
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 php | |
<?php | |
# | |
# Delete a user from InDefero. | |
# Run from the command line and pass a user ID as a parameter. | |
# | |
require '/home/www/indefero/src/IDF/conf/path.php'; | |
require 'Pluf.php'; | |
Pluf::start('/home/www/indefero/src/IDF/conf/idf.php'); | |
Pluf_Dispatcher::loadControllers(Pluf::f('idf_views')); |
NewerOlder