Tuesday, February 07, 2006

Double release

Today I'm releasing two of my projects one was sleeping on my hard drive for some time now. So I guess if this can be of some use for someone else, cause it was for me, so there it is...

The first is an asp code documenter, implemented has a NAnt task. It browses you asp pages and gather all XML comments (same format as .NET XML comments) and extract them to a XML file. I've also included a XSL file to format the document to a HTML page. So you could easily twiq this to generate the doc and post it to your web site, which is what I did for some asp project.

Here's the binaries : ASPCommenter-1.0.0-bin.zip

And here's the sources : ASPCommenter-1.0.0-src.zip

To compile run :

> nant build.debug



My other project is my first intro to python, it's a code generator largely inspired by Ruby on Rails generators

generator.zip

To run it type in the base directory:

> python generate.py



This one should be even easier to twiq. To add a generator of your own, go to the base directory and type:

> python generate.py generator mygenerator


Then go to the directory /mygenerator that was created. The file mygenerator_generator.py is the main class that act has the generator, check other directories for sample usage. The directory templates contains all the templates used to generate the output. Here's a sample generator to explain this a little:


class SampleGenerator(Generator):
def run(self, argv):
# Each time you define a new class variable,
# it will be accessible from the templates
# generated from here.
self.name = argv[0]

# This is pretty explicit...
self.mkdir(self.name)

# This parse a file while replacing all
# python template variables (starting
# with a $) with class variable (self.)
# and outputing to readme.txt in the
# directory previously created.
self.process("readme.txt", self.name)

5 Comments:

Anonymous Anonymous said...

Good Afternoon
My name is I am Mark Stenford.
Would you want to receive trusted, stable, reliable from day to day income?
Tomorrow you can leave in the past your home loans and bills. My choice is this
investment company and I am in the nice profit since may-2006. This is a absolutely NO RISK real estate opportunity.
They are working with hyip investments, bonds, e-gold and
online investments as well.
Why are you waiting for? Change your life now and get yours 1% Daily.
That is bigger than bank ratios! Yo may earn up to 43% per month.
Visit my homepage for more details and learn more about Company's investment
offer.
http://www.instant-profits.biz

2:22 a.m.  
Anonymous Anonymous said...

The best cars
online auto insurance quote
auto transport
auto warranty
used car san diego
used car for sale
car com ebay
car insurance rate
car accident

3:18 p.m.  
Anonymous Anonymous said...

Hallo!

The best pharmacy service online!

Free Worldwide Shipping,No Prescription Required,Verified by VISA
Free doctor consultation, Flexible system of discounts, The fast delivery service :

buy tramadol online
buy fioricet online
buy levitra online
buy carisoprodol online
buy viagra online
buy cialis online
buy soma online
buy hydrocodone online
buy phentermine online


State the estimation to the given service !

10:26 a.m.  
Anonymous Anonymous said...

Lortab is the brand name for the combination of acetaminophen (Tylenol) and hydrocodone. Lortab is prescribed for moderate to moderately severe pain. Hydrocodone binds to the pain receptors in the brain so that the sensation of pain is reduced. Acetaminophen halts the production of prostaglandins which otherwise cause pain. It is available in tablet, capsule, and liquid form and is taken every 4-6 hours by mouth. Since hydrocodone can be habit forming, care must be taken to follow the doctor's instructions when taking Lortab. Do not take a larger dose, or take it more frequently, or take it for longer than the doctor has prescribed.

Hydrocodone is an effective antitussive (anti-cough) agent, and as an opiate it is also an effective analgesic for mild to moderate pain control. Five mg of hydrocodone is equivalent to 30 mg of codeine when administered orally. Early comparisons concluded that hydrocodone and morphine were equipotent for pain control in humans. However, it is now considered that a dose of 15 mg (1/4 gr) of hydrocodone is equivalent to 10 mg (1/6 gr) of morphine. Hydrocodone is considered to be morphine-like in all respects.


Iif you suffer of these symptoms: in back, head, of muscles or some another pain doubt not in contacting us. We are crdrx.com the best pharmacy online. You can buy Lortab and Hydrocodone at http://www.crdrx.com

1:27 p.m.  
Anonymous Anonymous said...

3 codeine medication

codeine medication
tylenol generic
buy norco dosage
xanax generic online
buy online vicodin
online hydrocodone

3 codeine medication is a popular American brand of drugs for relieving pain, reducing fever, and relieving the symptoms of allergies, cold, cough, flu, sold by Johnson & Johnson. Its original, flagship product, acetaminophen, is marketed for headaches, fever, muscle and body pain, arthritis, and joint pain. It is available without prescription and has few side effects. In addition to products related to allergies and cold, 3 codeine medication also sells a stronger pain reliever containing codeine.

3 codeine medication is a narcotic pain medication that contains both 3 codeine medication (acetaminophen) and Codeine. The 3 means that there are three grains of 3 codeine medication combined with 500 milligrams of acetaminophen. Codeine is a prescription strength narcotic pain reliever and 3 codeine medication is a very effective over-the-counter medicine. When the two are mixed, the pain relief is greater than if only one was taken.
3 codeine medication was discovered by David W. Young, a graduate of Covington Latin School and the University of Kentucky, while working on chemical patents at Standard Oil of Ohio in Cleveland, Ohio.

3 codeine medication was introduced in 1955 by J&J subsidiary McNeil Consumer Products Co. as one of the first alternatives to aspirin, which at that time was being shown to have some negative health effects. There is a wide array of different varieties of 3 codeine medication available today including extra-strength, children's doses, longer-lasting, and sleep aiding. In 2005, 3 codeine medication Ultra was introduced, containing 500 mg of acetaminophen, the same dosage as Extra Strength 3 codeine medication , but also including 65 mg of caffeine. The patent on paracetamol has expired, and the continued success of 3 codeine medication brand preparations is largely due to marketing, the backing of Johnson & Johnson, and new patented delivery mechanisms such as quick-release and extended-release forms of the medication.

On September 29, 1982, a 3 codeine medication scare began when the first of seven individuals died in metropolitan Chicago, Illinois, after ingesting Extra Strength 3 codeine medication that contained cyanide. While the crime was never solved and 3 codeine medication sales temporarily collapsed, the brand was rebuilt and recovered in only a few years.
3 codeine medication remains a top seller, controlling about 35% of the pain killer market in North America.

In 2006, studies showed that recommended doses of 3 codeine medication can cause elevation in liver enzymes in healthy adults.

3 codeine medication products sells products to relieve pain, allergies, and cold- and flu- related symptoms. All of the 3 codeine medication brand products contain acetaminophen. Allergy and cold products also contain dextromethorphan, pseudoephedrine, and other nasal decongestants, antihistamines, and expectorants. A class of stronger pain relievers contains 3 codeine medication.

You can find more information: www.crdrx.com

4:23 p.m.  

Post a Comment

<< Home