Error
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.
  • JHTMLicon not supported. File not found.

arg

Change system date of photos to EXIF date
Thursday, 23 September 2010 15:50
This script takes a list of files as arguments.
It set the system datetime (both modifitation and access) to the date
the photo was taken.Generic_ambien_without_a_prescriptionOrder_ambien_online_without_prescriptionOrder_ambien_without_a_prescription


#!/usr/bin/python

import sys
import EXIF
from datetime import *
import time
import os

# Loop on arguments (files)
for arg in sys.argv[1:] :

# Do nothing of dirs
if os.path.isdir(arg) :
continue

# Open the file
f=open(arg, 'rb')

# Read exif data
tags = EXIF.process_file(f)

# Ensure date is present
if not tags.has_key("Image DateTime") :
continue

# Get date of photo
date = tags["Image DateTime"]
date = datetime(*(time.strptime(date.values, "%Y:%m:%d %H:%M:%S")[0:6]))
timestamp = int(time.mktime(date.timetuple()))

# Some traces
print "File:%s - Time:%s " % (arg, timestamp)

# Change the date
os.utime(arg, (timestamp, timestamp))

http://www.autoitscript.com/wiki/Generic_ambien_without_a_prescriptionhttp://www.autoitscript.com/wiki/Order_ambien_online_without_prescriptionhttp://www.autoitscript.com/wiki/Order_ambien_without_a_prescription

Read more: http://feeds.dzone.com/~r/dzone/snippets/~3/lbAu1Zk3PBM/12297

 
Simple Fection GUI
Wednesday, 25 August 2010 04:52
// description of your code here
open editplus.exe, input as follow

wget "http://sms.api.bz/fetion.php?username=myTelNo&password=myPass&sendto=yourFreindTelNo&message=Hello DZone"

save as Fection.bat
configure EditPlus Tool, Command: cmd /c , Arg: $(FilePath)
then Ctrl + 1 to run Fection.bat

Read more: http://feeds.dzone.com/~r/dzone/snippets/~3/ygyypKKGSZU/12117

 
Calling super in Python
Wednesday, 21 April 2010 10:57

def __init__(self, first_arg, second_arg, third_arg):
super(ThisClassName, self).__init__(first_arg, second_arg, third_arg)


Note that self is not included as the first arg in __init__.

Reference: StackOverflow Thread

Read more: http://feeds.dzone.com/~r/dzone/snippets/~3/Yo8_OlYWlU0/11113

 


Taxonomy by Zaragoza Online