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 | |
# | |
# | |
# | |
# Budget Rental Calculator * * * * * | |
# `Originl` Author: Daniel P. Clark <webmaster@6ftdan.com> | |
# Written : May 6th, 2011 | |
# |
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
print "Clock Figure Outer (CFO) 1.0 - 6ft Dan(TM)" | |
print "Author: Daniel P. Clark" | |
print "Written: <= 2005" | |
def parse(vString): | |
global rval, end | |
if ":" in vString: | |
rval = int(vString[-2:])*100/60 | |
end = "hundredths" |
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 | |
# App Name: count | |
# Version: 0.2 | |
# | |
# Author: Daniel P. Clark | |
# Date of creation: 05-09-2002 | |
# Ladt modified: 12-21-2004 | |
# | |
# E-mail: webmaster@6ftdan.com |
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
# This is the first program I ever wrote. | |
# I never expected anyone to support me for writing it. ... But hey I tried. | |
#------------------------------DISCOUNT WIZ--------------------------- | |
def op(): # ask for and set original price | |
original_price_str = raw_input("What is the price? $ ") | |
if original_price_str in ("", "exit", "close", "quit", "EXIT", "CLOSE", "QUIT"): | |
return "close" |
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 | |
#amencrypt.py | |
# Author: Daniel P. Clark | |
# Some amateur encryption software I wrote some time before 2005 | |
import sys, string, time | |
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 | |
""" | |
Grips MP3 Renamer (GMR) | |
Author: Daniel P. Clark. | |
2-11-2002 | |
STABLE 0.0.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
#!/usr/bin/env python | |
# ----------------------------------------------------- | |
# MP3 Host is created by Daniel P. Clark of 6ft Dan(TM) | |
# Version 0.1 Stable 02/27/2011 | |
# email: webmaster@6ftdan.com | |
# | |
# Purpose: This web applications generates a web page on the fly with media | |
# content to share. Thus allowing you to place new files in subfolders and |
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 | |
import os, imghdr | |
dlist = os.listdir("."+os.sep) | |
for x in dlist: | |
endr = imghdr.what(x) | |
endr = str(endr) | |
if endr == "None": continue | |
elif x[(len(endr)*(-1)):] == endr: continue | |
else: os.rename(x,x+"."+endr) | |
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/ruby | |
# resize usage: | |
# resize <folder> <image type> <scale> | |
# IE: resize ./ *.JPG 35 | |
# Attribution: | |
# Original version of code was written by Joao Silva | |
# Available at http://codedefinition.com/batch-resize-image-with-ruby.html |
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/ruby | |
# HDD Warner | |
# Author: Daniel P. Clark | |
# webmaster@6ftdan.com | |
# License: MIT <http://opensource.org/licenses/mit-license.php> | |
# Date: August 31st, 2012 | |
=begin | |
The MIT License (MIT) |