Archive

Posts Tagged ‘length’

Custom Php Or Javascript And Installation

October 1st, 2011 Comments off

I need someone to build custom php/ javascript with the ability to calculate square footage. The front end is built using WordPress and Gravity Forms.

Calculations would look like:

Length X Width X # of windows = A
Length X Width X # of windows = A
Length X Width X # of windows = A
Length X Width X # of windows = A

Grand total = A+A+A+A

Contact me for more info if necessary.

Basic Html/css Work On Existing Website

September 11th, 2011 Comments off

This is a very small job. I need some updates done to a site that involve tweaking the CSS and HTML and perhaps altering an image in Photoshop as well.

Please see the site: http://www.checkerstorage.ca/

I have remodelled the front page so that it contains more content (and it will in future be changed so that the length may be longer or shorter) – however need the CSS and also perhaps the left hand panel adjusted so that the longer page size of the front page will not effect the other pages of the site – they can remain the same length and the left hand panel will fit the page length as needed.

I will provide you with the site files and the adjusted files.

Thank you.

Php: Pull Quantity From Table

March 22nd, 2010 Comments off

Goal:
To pull quantity of tiles needed to fill out a specify dimension (width x length). Web clients should be able to select from two list boxes that will have the number of feet (widht) and the number of feet (length) of the surface they want to cover with our tiles.

Details:
We need to show in a browser two list boxes that have the width and length combinations. Once client chooses a combination, the client will go to the server and pull the matching data cell from a table. We are using PHP 5x, with a server runing Windows IIS 7.0.

Write Articles

August 26th, 2009 Comments off

Writing Teams Needed For Article writing.Produce 7500 articles.You will write articles daily,and submit them on the same day.No Delay.

-To produce 7500 articles at a minimum of 12 articles per day
-Perfect grammar,spelling,punctuation and style.
-Able to write 1 original and 2 re-writes on same topic.
-Able to stick to the following schedule:
12 articles within 20 hours
6 articles within 12 hours
3 articles within 5 hours
1 article within 1 hour

-Pay is 0.5 euros per article of any length.My articles are not more than 750 words.Please Dont Bid If You Cannot Accept This Pay.Take It or Leave It.Dont bother me.
-Dont ask me about pay rates again because its given here 0.5 EUROS per article of any length.
-Dont bid if you cannot stick to my schedule.You are wasting your time and you will be fired instantly.

-Only those who can follow my schedule and instructions should bid.

To All The Dumb Bidders.I repeat once again : 0.5 euros per article of any length (750 words).

Poor Performers Will Be FIRED INSTANTLY.You should be serious from the first day.

PAYMENT through Scriptlance only.

Image Converter Tex Xet To Dds

August 14th, 2009 Comments off

We are in need of an image converter to convert current images that are in TEX/XET format to DDS for editing and then back to TEX/XET.

Part 1.
——————————————————————————————————-
The images are currently stored in a modified KPAC using the following layout.
(SEE ATTACHMENT #1)

————————————————
struct KCAPHDR {
unsigned char signature[4]; // “KCAP”
unsigned long file_count;
};

struct KCAPENTRY {
unsigned long filename_length;
char filename[filename_length];
unsigned long length;
byte unknown1;
};
————————————————

The requested program does not need to deal with the above information as we can create a program to unpack and pack the images afterward.
——————————————————————————————————-

Part 2.
——————————————————————————————————-
This is to be the main function of the requested application. The image structure is currently unknown, we are assuming that the engine used with the images is the Serious Sam engine, but no tools currently available will convert it or load them successfully. The following information is provided from a 3rd party source about this specific image format.

————————————————
That game is using standard Direct3D pixel formats, RGB/RGBA/DXT1/DXT3. The latter two are a lossy compression method. Some of the textures are also encoded with multiple mip-levels.

The structure of each texture is obvious:
TEXHDR = { sig, ?, type, width, height, mip_levels, ? }
MIPHDR1 = { width, height }
DATA1
MIPHDR2
DATA2

The length of each data section is not specified but can be deduced from the dimensions and bits-per-pixel of the format (3, 4, 0.5, 1).
————————————————
(SEE ATTACHMENT #2)

The code and methods used to create the requested application does not mater, as long as it functions correctly in the end.
——————————————————————————————————-

Final Notes.
——————————————————————————————————-
Attachment #1: KPAC example with 2 packed images.
Attachment #2: Image example once removed from above mentioned KPAC.
No additional code about the image format can be provided.
Please do not bid on the project if you are positive you can complete the task.
If you have further questions please post them and I will take the time to address each one time permitted.
——————————————————————————————————-

Best Regards.

Article Content Writer Needed

August 12th, 2009 Comments off

I am in need of a writer to write on a variety of topics,suitable for directory submission written by a person who understands the basics of SEO.I need 50 articles Articles must be between 450 and 600 words in length and be targeted towards keywords which I shall provide. I will expect one article per keyword phrase. The maximum I will be willing to pay is a $1.50 per article.

Articles must adhere to the following guidelines:
1. Be written in a grammatically correct and free-flowing style
according to US English.
2. Contain between 2.0 and 2.5% keyword density
3. Article body must be at least 450 words in length and no more
than 650 words in length
4. Be submitted in .txt format
5. Be completely original, no plagiarism (I will check each
article)

Step By Step Guide To Marketin

August 6th, 2009 Comments off

This should be an easy project for an experienced ghostwriter.

I need a step by step guide to marketing a Hair salon Business

You will write, create and put together an entire comprehensive manual for marketing a Hair Salon Business in the UK to include barbing salons.

This will need to include Step by step procedures, document templates and a number of standard letters.

I will expect the manual to give step by step guidance to blogging, article marketing, twitter etc

You will need to research each section and provide the wording of the manual.

SPECIFIC SKILLS OF GHOSTWRITER:
1. Basic Knowledge of the hair solon business is a major plus.
2. Previous experience writing a “how to” a plus.
3. Ability to incorporate examples of above topics with writing.
4. Ability to create excitement and energy in the writing.
5. Ability to provide resources with the writing.

TIMEFRAME:
Upon project acceptance, I would like for writing to be completed within 14 days if possible. Revisions can be made within the 14 day time frame and up to 2 weeks after completion.

LENGTH OF MANUAL:
The length of the manual should be a minimum of 50 pages give or take,which is, not including the ancillary pages i.e. Title page, Disclosure, table of contents, reference page and delivered in word format, Arial font, 12pt, single spaced.

GRAPHICS:
Graphics are a plus, but will not be counted in the length of the manual. There should be as many graphics you can find that are relevant. All images must be your own original work, 100% royalty free or you must get written permission from the owner for use of the image. All images should be in either .jpg or gif format

LEGAL:
All work done will be 100% your original work, there will be no copyright infringement issues. I will own full copyright authorities of the completed book/maual. The acceptance of your bid binds you to the terms listed. You may not use any part of this book nor can it be recycled work from a previous project of yours. You may not use this book as any form of competition for this particular product nor may you give this book away for free.

You will be writing the step by step guide in the 2nd person, so do make sure that any samples you send me are written in the 2nd person and related to the subject matter.

Please put the word “salon” at the beginning of your bid so I know you have read my brief.

Quick Simple Article Writing

August 3rd, 2009 Comments off

Ghostwriting Articles targetted at Owners & Managers of Letting & Estate Agencies

This is a simple and easy project that any technical research or manual author can do.

I run training programmes for letting and estate agents managers in the UK who are either just getting into the business or trying to grow their current business

I require some articles providing information and tips on how to get started in the letting and estate agency business and also how to run, grow and improve their business.

I require about 50 articles in total to cover the following sections:

Start up
Growth
Staffing
Manuals – How to do articles
Negotiating
Marketing
Finance
Winning Clients
customer services
technology

Below is a summary of some of the areas i want to cover:

1.Tips On Getting Started In the Letting And Estate Agency Business And Issues To Avoid. This will include Tips On Financing the purchase of a letting or estate agency, how to avoid the mortgage crunch and getting value for money such as how to assess the loan

2.Tips On Opening And Winning More Clients For Their Business and what to avoid

3.Tips on business planning, negotiating , staffing, management, negotiating, marketing and a whole range of skills that will be necessary to run a successful letting/estate agency.

4.Tips on carrying out the day to day activities

5.Tips on managing clients property and what to avoid

6.Tips on dealing with tax issues

You will need to submit for my approval the

How To Buy Property In The Uk

August 3rd, 2009 Comments off

This should be an easy project for an experienced ghostwriter.

You will research, write, and put together an entire comprehensive manual for FOREIGNERS who want to buy a property in the UK today.

This will need to include Step by step procedures, document templates and a number of standard letters.

I will expect the manual to deal with areas such as

the complete buying process
the special requirements for foreigners
what all foreigners need to be able to legitimately purchase ina property in the Uk
Banks that currently offer a mortgage and their requirements
money laundering rules
interest rates

You will need to research each section and provide the wording of the manual.

SPECIFIC SKILLS OF GHOSTWRITER:
1. Basic Knowledge of buying property in the UK is a major plus.
2. Previous experience of writing a “how to manual” a plus.
3. Ability to incorporate examples of above topics with writing.
4. Ability to create excitement and energy in the writing.
5. Ability to provide resources with the writing.

TIMEFRAME:
Upon project acceptance, I would like for writing to be completed within 30 days if possible. Revisions can be made within the 30 day time frame and up to 2 weeks after completion.

LENGTH OF MANUAL:
The length of the manual should be a minimum of 100 pages give or take,which is, not including the ancillary pages i.e. Title page, Disclosure, table of contents, reference page and delivered in word format, Arial font, 12pt, single spaced.

GRAPHICS:
Graphics are a plus, but will not be counted in the length of the manual. There should be as many graphics you can find that are relevant. All images must be your own original work, 100% royalty free or you must get written permission from the owner for use of the image. All images should be in either .jpg or gif format

LEGAL:
All work done will be 100% your original work, there will be no copyright infringement issues. I will own full copyright authorities of the completed book/maual. The acceptance of your bid binds you to the terms listed. You may not use any part of this book nor can it be recycled work from a previous project of yours. You may not use this book as any form of competition for this particular product nor may you give this book away for free.

How To Setup Hair Beauty Salon

August 3rd, 2009 Comments off

This should be an easy project for an experienced ghostwriter.

You will write, create and put together an entire comprehensive manual for a complete novice to SET Up and RUN their own Beauty & Hair Salon Business in the UK to include barbing salons.

This will need to include Step by step procedures, document templates and a number of standard letters.

I will expect the manual to deal with areas such as

Starting up
business planing
marketing
distributors
equipments
pricing

You will need to research each section and provide the wording of the manual.

SPECIFIC SKILLS OF GHOSTWRITER:
1. Basic Knowledge of salons is a major plus.
2. Previous experience writing a “how to” a plus.
3. Ability to incorporate examples of above topics with writing.
4. Ability to create excitement and energy in the writing.
5. Ability to provide resources with the writing.

TIMEFRAME:
Upon project acceptance, I would like for writing to be completed within 30 days if possible. Revisions can be made within the 30 day time frame and up to 2 weeks after completion.

LENGTH OF MANUAL:
The length of the manual should be a minimum of 100 pages give or take,which is, not including the ancillary pages i.e. Title page, Disclosure, table of contents, reference page and delivered in word format, Arial font, 12pt, single spaced.

GRAPHICS:
Graphics are a plus, but will not be counted in the length of the manual. There should be as many graphics you can find that are relevant. All images must be your own original work, 100% royalty free or you must get written permission from the owner for use of the image. All images should be in either .jpg or gif format

LEGAL:
All work done will be 100% your original work, there will be no copyright infringement issues. I will own full copyright authorities of the completed book/maual. The acceptance of your bid binds you to the terms listed. You may not use any part of this book nor can it be recycled work from a previous project of yours. You may not use this book as any form of competition for this particular product nor may you give this book away for free.

Simple Nigerian Property Ebook

August 3rd, 2009 Comments off

This is a simple and easy project for a good researcher to do.

I need a comprehensive guide to buying a property or land in Nigeria.

The book would contain detailed information such as a STEP to Step process of buying a property all the way to securing all necessary documents .

Here is some of the content that I expect to see within the book

STEP BY STEP PROCESS

WHAT DOCUMENTS TO RECEIVE FROM SELLERS

WHAT NOT TO DO

HOW TO GET C OF O

HOW TO GET GOVERNOR CONSENT including all he necessary forms and details of fees

DIFFERENCE BETWEEN Certification of Certification AND Governors concent

Cost and rules for each state for obtaining conscent

AREAS TO BUY

WHAT YOU NEED TO SUPPLY

EXACT COST OF FEES TO PAY

ADDITIONAL COSTS

HOW TO DEAL WITH OMONILES

WHAT CHECKS TO MAKE

WORK OF AGENTS, SURVEYORS,SOLICITORS

PROPERTY DICTIONARY

FAQ

SPECIFIC SKILLS OF GHOSTWRITER:
1. Basic Knowledge of the nigerian property market.
2. Previous experience writing a “how to” a plus.
3. Ability to incorporate examples of above topics with writing.
4. Ability to create excitement and energy in the writing.
5. Ability to provide resources with the writing.

TIMEFRAME:
Upon project acceptance, I would like for the book to be completed within 30 days if possible. Revisions can be made within the 30 day time frame and up to 2 weeks after completion.

LENGTH OF MANUAL:
The length of the manual should be around 100 pages give or take and delivered in word format, Arial font, 12pt, single spaced.

GRAPHICS:
Graphics are a plus, but will not be counted in the length of the manual. There should be as many graphics you can find that are relevant. All images must be your own original work, 100% royalty free or you must get written permission from the owner for use of the image. All images should be in either .jpg or gif format

LEGAL:
All work done will be 100% your original work, there will be no copyright infringement issues. I will own full copyright authorities of the completed book/manual. The acceptance of your bid binds you to the terms listed. You may not use any part of this book nor can it be recycled work from a previous project of yours. You may not use this book as any form of competition for this particular product nor may you give this book away for free.

INTERESTED?
If you are interested in bidding. please start your bidding with the word “Naija” so as to identify that you are no robot.

Ebay File Exchange Upload

July 28th, 2009 Comments off

We need someone to write the VB 6 code to connect to eBay’s File Exchange system and upload CSV files. The connection needs to be secure (we already have a User ID, Password, and Token), and we would prefer someone who has done this sort of coding in the past.

We need straight VB 6 code that we can integrate into our existing application. No public interfaces, no API’s, no EXE’s, no DLL’s, etc. We are NOT using VB.Net at this time, so VB.Net is not an option.

Following is an excerpt from the eBay File Exchange manual on how to do this sort of thing:

Using Programmatic Instructions to Upload Files

To upload your file programmatically, you must send an HTTP post request to eBay File Exchange server to accept the request contents. Perform the following steps:

1. Download and complete the appropriate eBay File Exchange template.

2. Get a security token from eBay File Exchange, described in the next section.

3. Initiate an HTTPS connection and then post your data file with your token to the eBay File Exchange Web address:
https://bulksell.ebay.com/ws/eBayISAPI.dll?FileExchangeUpload

After eBay has processed your data file, you will receive an email that includes a URL to access your Load Results Report.

Sample HTTP Post Request

POST /path/to/upload/script HTTP/1.0
Connection: Keep-Alive
User-Agent: My Client App v1.0
Host: https://bulksell.ebay.com/ws/eBayISAPI.dll?FileExchangeUploadForm
Content-type: multipart/form-data boundary=THIS_STRING_SEPARATES
Content-Length: 256
–THIS_STRING_SEPARATES
Content-Disposition: form-data name=?token?
12345678987654321
–THIS_STRING_SEPARATES
Content-Disposition: form-data name=?file? filename=?listings.csv?
Content-Type: text/csv
… contents of listings.csv …
–THIS_STRING_SEPARATES?

eBay File Exchange User Guide 1.5 35

HTTP Post Request Components

Notice that the HTTP Post Request must always include the following components:

? In the first line, the method to be applied to the resource, the identifier of the resource, and the protocol version in use, such as:

POST /path/to/upload/script HTTP/1.0

? The connection, user-agent and host information is next:

Connection: Keep-Alive
User-Agent: My Client App v1.0
Host: https://bulksell.ebay.com/ws/eBayISAPI.dll?FileExchangeUploadForm

? Header containing file content and length information:

Content-type: multipart/form-data boundary=THIS_STRING_SEPARATES
Content-Length: 256

? Contents, which includes your security token and then the actual file contents you want to upload:

–THIS_STRING_SEPARATES
Content-Disposition: form-data name=?token?
12345678987654321
–THIS_STRING_SEPARATES
Content-Disposition: form-data name=?file?
filename=?listings.csv?
Content-Type: text/csv
… contents of listings.csv …
–THIS_STRING_SEPARATES–

Website Monitoring Application

July 19th, 2009 Comments off

We are looking to create a web based application which supports our web monitoring site we operate. This site allows users to sign up for accounts and monitor their websites for availability, via http get, and ping. We are looking for the application to be built in PHP.

We are looking for the following features:

Admin Functions
Manage Users (delete, modify, suspend, verify)
Automated Registration or Manual admin approved registration
Common settings – setup paypal email and admin email settings
Server Management – Admin can add/edit server monitoring locations
Contact Form (built into template)
Suspend Users From Admin Area
Countries Manager – Add/edit/delete countries
States Manager – Add/edit/delete states
Membership Manager – Add custom membership packages.
Admin can also change existing membership packages
Manage Automated Emails (edit default emails sent to users)
Modify Admin password
Admin receives an email notification on new member sign-up
Password forget function
Mass mail all users

Monitoring Features
Monitoring intervals – Supports time-intervals of 2, 10, 15, 30 and 60 Min. for monitoring service
Email and SMS alert – Members are notified by email and/or SMS.
Multiple monitoring service – Members can monitor more than 1 website or domain names based on package purchased
Verify Email address during Registration
Text Search
Response Time
Retest Error
Length of Downtime
SMS / Email Alerts based on Length of Downtime
Monitoring supports the following protocols:
HTTP: Web Server
POP3: Email Server
SMTP: Outgoing Email Server
SSL: Secure Socket Layer
DNS: Domain Name System
FTP: File Transfer Protocol
HTTPS: Secure Web Server
MYSQL: MySQL Databases
IMAP: Internet Message Access
TCP: Custom Ports
PINGS

Members Login System
Member registration system
Forgot Password function
Payment integrated – Members can easily upgrade their account through PayPal and CC
Member account upgrade page – Option for free members to upgrade to a paid account featuring enhanced web monitoring services
Member can choose to receive SMS alerts
Configure each service differently allocating emails / SMS etc.
Add Service Page to allow Text Search and Multiple SMS / Email Alerts
Alert Different Emails / SMS based on length of downtime
QuickCheck
Instant check on the status of hostname
Supports multiple server location checks
Member Profile
Ability to edit and save member’s profile
Set time zones
Members can set multiple email alerts
Ability to set multiple mobile phone numbers for SMS alert
Members can have the option to receive weekly email uptime reports
Member Services
Ability to edit/delete existing monitoring services
Members are able to enable/disable existing services
Alert Different Emails / SMS based on length of downtime
Add new monitoring services
Set hostname and service type (http, pop3 or custom ports)
Select check intervals for monitoring
Set notification settings for email
Choose locations to monitor the service
Set notification settings for SMS
Member Statistics
Built-in bar charts and graphical pies for visual representations
View uptime summary and detailed reports for all services
API
Web Services to allow creation and deletion of new accounts

I do not need anyone to design the user interface for this application, this will be done by us.

N40 Articles For S30 Long Term

July 16th, 2009 Comments off

I need 45 articles written on a variety of topics,suitable for directory submission written by a professional who understands the basics of SEO. Articles must be between 500 and 600 words in length and be targeted towards keywords which I shall provide. I will expect one article per keyword phrase.
Topics
– health and fitness
– dieting and weight loss
– technology

Articles must adhere to the following guidelines:
1. Be written in a grammatically correct and free-flowing style according to US English.
2. Contain between 3.5 and 5% keyword density
3. Contain a title, 250 character abstract, and complete article
body
4. Article body must be at least 500 words in length and no more
than 600 words in length.
5. Article body must contain at least 4 words used as title for another article (for linking purposes)
6. The project should be done within 3-4 days or less
7. Be submitted in .txt format
8. Be completely original, no plagiarism (I will check each
article)

Article/content Writer Needed

July 3rd, 2009 Comments off

We are a firm in need of about 10-25 writers to write on a variety of topics,suitable for directory submission written by a professional who understands the basics of SEO.We need at least about 90 articles weekly. Articles must be between 500 and 600 words in length and be targeted towards keywords which I shall provide. I will expect one article per keyword phrase.

Articles must adhere to the following guidelines:
1. Be written in a grammatically correct and free-flowing style
according to US English.
2. Contain between 3.5 and 4.5% keyword density
3. Contain a title, 250 character abstract, and complete article
body
4. Article body must be at least 500 words in length and no more
than 650 words in length
5. Be submitted in .txt format
6. Be completely original, no plagiarism (I will check each
article)

In accepting this contract, you are providing

Timeline Visual Component

June 29th, 2009 Comments off

I need help with creating a Delphi Timeline visual component. The idea is to display and edit keyframes for several objects at once. Compare with for example Adobe After Effects or Adobe Flash timelines, but much simpler in design.

Key features:

- The visual design should be simple, and stay in line with standard delphi components, such as TTreeView.

- It should work without problems in CodeGear Delphi 2007 for Win32. It should not require any 3rd part libraries.

- All source code should be included, and unlimited rights to use and modify it for our use. It is not required to have exclusive rights, but there must not be any limits in how we can use it (the only exception being that we dont require the rights to sell it as a separate component with or without source code).

- The time axis should be frame based, but it should also display time as mm:ss:ff. It should be possible to specify nr of frames per second (normally 25 or 30, but it should be open for any frame rate).

- Time axis is horisontal, going from left to right. There should not be any design limit in the length.

- Each object on the timeline should have it’s own line. There should not be any design limit in nr of objects. The component should also be able to display without any objects at all (empty).

- Each objects should have a unlimited nr of keyframes. There is always at least one keyframe at time 0. The key frames should be clearly marked on the timeline at the correct position. Again, positions are set in frames.

- Each object should have a total length property (in frames), which are independent from the keyframes itself. The length should in some way be displayed in the timeline so you can compare length on the different objects.

- It should be possible to zoom in the timeline, from viewing the complete timeline at once down to seeing each frame in detail. The zoom control can either be part of the component, or it can be set only using properties (however, it is preferred that it is integrated into the component). It should in any case be possible to read and set the zoom level from properties.

- The objects should have a storage property for a pointer, just like the data property of the TTreeNode.

- The component should have a navigator arrow to move along the timeline using the mouse. The position of this should be visible in the actual timelines as well (for example with a vertical line). It should be possible through properties to both read and set the position (in frames).

- Keyframes should be possible to move by dragging them with the mouse, firing an event with info about the selected object, the source frame and the target frame.

- It should be possible to right-click an keyframe, firing an event with info about the selected object and the selected frame.

- The component should be sizeable, and adopt to any size.

- It should be possible to select a object by clicking on the timeline or name, and this selection should be visible in the timeline. It should be possible to both read and set the selection trough properties. It should be possible to have no object selected, but only if no objects exists.

- Any colors, fonts etc. used should be possible to change trough properties.

We would be happy to get the following info with your bid:

- Approx. time to complete
- A simple drawing with the suggested visual design
- A simple technical description on the suggested model

Java

May 27th, 2009 Comments off

Use Java version 5.0 (or later). Use IDE Eclipse if want to download. Java program ComputeArea prompts user for information about a 2-D geometric shape and computes the associated area for that shape (or print appropriate error message for input errors). Specifically, the shapes acceptable are: Circle (C), Ellipse (E), Parallelogram (P), Square (S), Rectangle (R), Triangle (T), and Trapezoid (Z). Your program should use the following logic (guideline):
(1)
Prompt the user for a shape specified by a single letter indicated above, and accepts either lower or upper-case letters.
(2)
After determining the shape prompt the user for additional input in order to compute the area, according to the following formulas:
C: input radius; then return area = radius * radius * Math.PI
E: input Major Radius and Minor Radius, then return area = majorRadius * minorRadius * Math.PI
P: input base and height, then return area = base * height
S: input length, then return area = length * length
R: input length and width, then return area = length * width
T: input sideA, sideB, sideC, then return area = Math.sqrt(s*(s- sideA) *(s- sideB) *(s- sideC)), where s = (sideA + sideB + sideC) / 2.0 (known as Heron’s formula)
Z: input baseOne, baseTwo, and height, then return area = (baseOne + baseTwo)/2.0*height
(3)
Be sure to check for input error, e.g., negative value, violation of Triangle inequality, etc.
(4)
Add comments according to the examples discussed in class.
(5)
Terminate the program when a shape code (single letter) received from the user is different than the ones specified in (2) above.

Additional comments: For Question 2(1), the following site http://java.sun.com/j2se/1.5.0/docs/api/java/util/Scanner.html contains detailed information about the Scanner class (to accept user input). In particular, note that there is no simple way to accept a single character using the Scanner’s methods. One way to do so is to use the next() method to accept a String token then extract its first character:
Scanner stdin = new Scanner(System.in); /* create a Scanner object to scan input from
System.in, i.e., the keyboard */
char shapeCode = stdin.next().charAt(0); /* scan next String token and extract 0th char */

Php/mysql Link Exchange

May 27th, 2009 Comments off

I need a clone script similar to AlstraSoft Text Link Exchange Pro – http://www.alstrasoft.com/textlink.htm , but with a few differences as well as similarities.

Overview of what the software must do:

Complete traffic exchange system which allows us to run our own rotating text link exchange program. Users join our link exchange program and receive personalized code to insert a software generated “link box” on any page they choose to insert the code on their site. Link exchange program displays rotating text links plus individual company logos (logo is optional, per user preference). No banners. Only text ads plus logo. Similar to Google Adwords but with addition of logo and more flexibility over ad length and number of lines.

Rotation is based on calendar period, i.e. 1, 5, 7, 30, 60, 90 days or whatever number of days we choose for links to remain on each site before cycling away to another member site or up or down the page the ad is on, until the link cycle expires. Specific rotation order will be revealed to winning bidder.

General Exchange Features:

Article Writer Needed For Long

May 25th, 2009 Comments off

I need multiple articles written on a variety of topics, everything from TOPIC1 to TOPIC2, suitable for directory submission written by a professional who understands the basics of SEO. Articles must be between 500 and 600 words in length and be targeted towards keywords which I shall provide. I will expect one article per keyword phrase.

Articles must adhere to the following guidelines:
1. Be written in a grammatically correct and free-flowing style according to US English.
2. Contain between 3.5 and 4.5% keyword density
3. Contain a title, 250 character abstract, and complete article body
4. Article body must be at least 500 words in length and no more than 650 words in length
5. Be submitted in .txt format
6. Be completely original, no plagiarism (I will check each article)

In accepting this contract, you are providing

Isbn Validation

May 6th, 2009 Comments off

Need a program that validates both ISBN-10 and ISBN-13 from user input. Must follow the instruction below, its an assignment for a class and I have a family emergency I have to go out of town for and don’t know how else to get it done. The instructions are as follows:

INSTRUCTIONS

Write a program which asks for an ISBN number, then strips the
last digit (saving it) then re-calculates that last (check) digit from
the rest of the number. If they match, the function will validate the
ISBN number, otherwise the function will sound an alarm. See the bottom of this file for some sample runs.

Specific directions:

Create a function:

bool chk_isbn(string)

which receives a String Object containing user keyboard input. If the
user is in hir right mind and the keyboard is cooperating, the string
SHOULD contain a valid ISBN (International Standard Book Number).
The chk_isbn() function should parse the number, and calculate the
check digit from the first 10 data characters, ignoring dashes, spaces,and all non-digits in the first 9 columns. Once it has calculated the check digit, it should compare its answer with the check digit in the last column of the String Object. If they agree, the function should return true, otherwise it should return false.

Include a main() function which exercises the chk_isbn()
function, accepting command-line or interactive input from
the user. CLEAN UP THE USER INPUT so that what you pass to the
chk_isbn() function is ONLY a string of digits, no hyphens
or any other non-digit characters.

Your program will be tested against valid ISBNs from the real world,
and invalid ones. It should give the proper output in all cases.

Samples of VALID input:

“0-321-40939-6″
“ISBN 0-321-40939-6″
“ISBN 0 321 40939 6″
“0.321.40939.6″
“0321409396″

See the situation here? We are accepting input from USERS, and about
all we can demand from a USER is that s/he gets the digits right.
They will use any random character for the separator, or none at all,
so we have to write our code to cope. If a user can break our software, or get it to emit the wrong answer, we lose.

So your first task will be to “condition” the input. Lucky for
you, you’re taking this into a string object, and strings have the
string.erase(start,length) method to make it easy to “remove” characters from the string which don’t belong there using something like:

for ( int x = 0 ; x < 10 ; x++)
if (!isdigit(stringvar[x])
stringvar.erase(x, 1) ;

We ALWAYS ALWAYS ALWAYS have our USERS enter their input into
CHARACTER STRINGS. Then, if we are expecting a number from
them, we can examine and “validate” user input before risking
our program’s health by computing with unknown input.

USERS take a little management, and the programmer who learns
this Grate Trooth early will avoid much heayd hoortingz.

Here is some background information on ISBNs, which
illustrates how often even “learned” posters don’t
validate their factoids:

“ISBN is the abbreviation for the International Standard Book
Number. ISBN numbers are 10 digits in length. In an ISBN of
the form X-XX-XXXXXX-X:

-The first block of digits on the left represents the language
of the book (0 is used to represent English). This block is
usually 1 digit in length.

-The second block of digits represents the publisher. This
block is usually 2 or 3 digits in length

-The third block of digits represents is the number assigned
to the book by the publishing company. This is usually 5 or
6 digits in length.

-The fourth block consists of the check digit.”
(from: http://www.cs.queensu.ca/~bradbury/checkdigit/isbncheck.htm)

“An International Standard Book Number consists of 10 characters of information, organized into 4 groups with adjacent groups separated by a dash character.

The first group identifies the continent of publication,
the second group identifies the publisher,
the third group is the book number that the publisher assigns and
the last group with one character is a check digit determined by an algorithm.

Each non dash character, except possibly the last is a digit.

The last is either a digit or the character X for ten.

The value of the check digit comes from the following algorithm.

The ISBN is a number composed of digits 0-9 and X in
either 10 or 13 columns. The LAST COLUMN contains a
“check digit” which is computed from the other 9 or 12
digits. It is computed in a way that will reveal if
numbers are transposed (swapped) by careless humans.

Initialize sum to zero.
for i from 1 to 9(length of number string)
Calculate C = the number in COLUMN number i * COLUMN
Increase the sum by the product of the COLUMN and the value
of the digit in column i of the book number.
Reduce the sum mod 11.
(Replace the sum by its remainder when you divide the sum by 11.)
The value of the check digit C equals 11 – sum mod 11.
If C is 10, then C = the character X>

Example:
I will write down an arbitrary 9 digit number and compute its check digit.
digits = 918273645

Simulate the algorithm.

i digit[ i ] sum
0
1 9 0 + 9 * ( 11 – 1 ) = 90 mod 11 = 2
2 1 2 + 1 * ( 11 – 2 ) = 2 + 9 mod 11 = 11 mod 11 = 0
3 8 0 + 8 * ( 11 – 3 ) = 0 + 64 mod 11 = 64 mod 11 = 9
4 2 9 + 2 * ( 11 – 4 ) = 9 + 14 mod 11 = 23 mod 11 = 1
5 7 1 + 7 * ( 11 – 5 ) = 1 + 42 mod 11 = 43 mod 11 = 10
6 3 10 + 3 * ( 11 – 6 ) = 10 + 15 mod 11 = 25 mod 11 = 3
7 6 3 + 6 * ( 11 – 7 ) = 3 + 24 mod 11 = 27 mod 11 = 5
8 4 5 + 4 * ( 11 – 8 ) = 5 + 12 mod 11 = 17 mod 11 = 6
9 5 6 + 5 * ( 11 – 9 ) = 6 = 10 mod 11 = 16 mod 11 = 5

C = 11 – 5 mod 11 = 6 “

from: http://www.cbu.edu/~yanushka/j0/n.3

Extra Credit: on your own, research and impliment ISBN-13 logic,
and write your program so that it can process either ISBN-10 or
ISBN-13 without any special input from the user other than the number
itself.

Sample data I will use to test your programs:

0-13-615250-3
0-13-615250-8
0-13-613950-X
0-13-615250-X
–0—13-6–15–250-3
0–13—6 152 50.3

…and similar.

Here Are Some Sample Runs:

Script started on Mon 13 Apr 2009 07:25:32 PM PDT

ISBN: 0-13-615-25-8
0-13-615-250-8
0-13-615-250-8
013-615-250-8
013-615-250-8
013-615-250-8
013615-250-8
013615-250-8
013615-250-8
013615-250-8
013615250-8
013615250-8
013615250-8
013615250-8
0136152508
Stripped checkdigit: 8
checking: 013615250
sum: 124
MODDED sum: 3
Original checkdigit: 8 newly calculated checkdigit: 3
ERROR: BAD ISBN CHECKDIGIT!!
: Success
Updated/recalculated ISBN: 0136152503

ISBN: 0-13-615-250-3
0-13-615-250-3
0-13-615-250-3
013-615-250-3
013-615-250-3
013-615-250-3
013615-250-3
013615-250-3
013615-250-3
013615-250-3
013615250-3
013615250-3
013615250-3
013615250-3
0136152503
Stripped checkdigit: 3
checking: 013615250
sum: 124
MODDED sum: 3
Original checkdigit: 3 newly calculated checkdigit: 3
Updated/recalculated ISBN: 0136152503

ISBN: –0–13–615-250-3
–0–13–615-250-3
-0–13–615-250-3
0–13–615-250-3
0–13–615-250-3
0-13–615-250-3
013–615-250-3
013–615-250-3
013–615-250-3
013-615-250-3
013615-250-3
013615-250-3
013615-250-3
013615-250-3
013615250-3
013615250-3
013615250-3
013615250-3
0136152503
Stripped checkdigit: 3
checking: 013615250
sum: 124
MODDED sum: 3
Original checkdigit: 3 newly calculated checkdigit: 3
Updated/recalculated ISBN: 0136152503
ISBN: 9780814408902
9780814408902
9780814408902
9780814408902
9780814408902
9780814408902
9780814408902
9780814408902
9780814408902
9780814408902
9780814408902
9780814408902
9780814408902
9780814408902
Stripped checkdigit: 2
checking: 978081440890
sum: 332
MODDED sum: 2
Original checkdigit: 2 newly calculated checkdigit: 2
Updated/recalculated ISBN: 9780814408902
ISBN: 9780814408–90-2
9780814408–90-2
9780814408–90-2
9780814408–90-2
9780814408–90-2
9780814408–90-2
9780814408–90-2
9780814408–90-2
9780814408–90-2
9780814408–90-2
9780814408–90-2
9780814408–90-2
9780814408-90-2
978081440890-2
978081440890-2
978081440890-2
9780814408902
Stripped checkdigit: 2
checking: 978081440890
sum: 332
MODDED sum: 2
Original checkdigit: 2 newly calculated checkdigit: 2
Updated/recalculated ISBN: 9780814408902

Categories: C/C++ Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

Article To Be Rewritten Twice

May 4th, 2009 Comments off

These are the specification you need to meet:
Article topic:Information related-car insurance advice

Project Budget:8

Article length: 300-700 words

Minimum of 8 paragraphs. It is better to have lots of small paragraphs than a few big ones, as it makes the resulting articles more unique..

Title on the top line (max length 65 characters), followed by a blank line, and then the first paragraph. The title should contain your keyword phrase.

A blank line between each paragraph.

Paragraphs may be formatted either as fixed-length, or as free-flow text, both formats will work.

Each bullet point or list item should also be separated by a blank line – i.e. each bullet point counts as a new paragraph – otherwise they will end up being concatenated (chained together) and it will no longer look like a list.
The whole article should be in basic ANSII text (i.e. a Notepad file).
Step 2: Re-write the Article Twice
needs to be rewritten twice in the following manner (each of the two versions should be a completely fresh re-write according to these specs):
1. The Title needs to be rewritten, but must still capture or describe the theme of the article in as engaging or interesting way as possible.
2. Each paragraph needs to be reworded. The number of words and sentences in the paragraph may change. The overall content and meaning of the paragraph must remain the same.
3. The number of paragraphs must NOT change. i.e. if the article starts with 8 paragraphs it must end up with 8 paragraphs, and each of those paragraphs should still say the same thing as the original article, but just using different words. Any subheadings that are a single line should be rewritten, and should remain as a single line.
4. If the article has bullet points or lists, then each line of the list should be reworded, but the number of points or lines must remain the same. The style of bullet must remain the same, i.e. if the bullets are asterisks, they should remain asterisks. If the bullet points are numbered, then the numbering must be done in the save format. Each bullet point or list item should also be separated by a blank line – i.e. each bullet point counts as a new paragraph – otherwise they will end up being concatenated and it will no longer look like a list.
5. Articles are to be formatted as follows: Title on top line. Empty line. Paragraph1 followed by empty line, Paragraph2 followed by empty line, etc.
Examples of Articles
Version 1
This is the title of a great article

Your first paragraph goes here. This paragraph will often also appear on its own as a summary/preview of your article. Note that it is written as a single line, followed by a double line break before the next paragraph.

It so happens that this paragraph is actually the start of a list. You don’t have to use a numbered list, but if you do, separate each point by a blank line:

1. point one on your list (these do not have to be numbered points)

2. Point two on your list (but if you do use numbers, make sure you use the same numbering system on all three versions)

3. Point three on your list

Closing paragraph, again all on one long line.
Version 2
Your great article has this title

Then comes a great introduction on a single line, followed by a double line break. This opening paragraph will often also be used as a summary of your article.

And some great points to be made. You might, or might not, do these as numbered points. Either way make sure the points are separated by blank lines:

1. Point one of a great list (which may or may not be numbered)

2. Your next point (remember to always use the same numbering system)

3. A final point
Version 3
What a fantastic title for an article

All you need is a good introduction which can alse serve as a summary for your article, all on one line, then move on to the next paragraph, using a double line break.

So we then introduce your main points. Mostly you will just do this as ordinary paragraphs. But if you choose to do a list (numbered or otherwise) make sure you separate each point with a blank line.

1. A great point here (which does not have to be numbered)

2. Another great point (but do use the same numbering system if you do number them)

3. Yet a third thing to consider

Now sum it all up with your closing paragraph, all on one long line.

Your closing points can be made in a summing up paragraph on one line. And that is how you finish off.

Text Messaging Censoring

April 26th, 2009 Comments off

Objective
To give students practice at writing a program using strings.

The Problem
Many people, after a late night, for whatever reason, tend to send emails or text messages that they shouldn

Categories: C/C++ Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

Convert As3 Xml To Loadvars

April 8th, 2009 Comments off

Hi, I have the following Actionscript 3.0 that controls a Flash thermometer, using variables loaded from an XML file.

The project is straightforward: instead of loading the data through XML I want to load it through embedded Parameters in the Object/Embed code for the .swf file (example: http://www.permadi.com/tutorial/flashVars/indexAs3.html)

Here’s the Actionscript with the XML:

stop();

import caurina.transitions.Tweener;//import tween class
stage.scaleMode = StageScaleMode.NO_SCALE;//define how stage scales
stage.align = StageAlign.TOP_LEFT;
//get all the vars from the xml file
var xmlString:URLRequest = new URLRequest(“/thermometer.xml”);
var xmlLoader:URLLoader = new URLLoader(xmlString);
xmlLoader.addEventListener(“complete”, init);
function init(event:Event):void {
var xDoc:XMLDocument = new XMLDocument();
xDoc.ignoreWhite = true;
var thermXML:XML = XML(xmlLoader.data);
xDoc.parseXML(thermXML.toXMLString());
//get vars
var goalTxt:String =
xDoc.firstChild.childNodes[0].firstChild.nodeValue;//goal text
populateGoal(goalTxt);//populate the goal text
var goalNum:Number =
xDoc.firstChild.childNodes[0].attributes.goalNum;//goal number
var currentNum:Number =
xDoc.firstChild.childNodes[1].attributes.currentNum;//current number
makeCurrent(goalNum, currentNum);
//marks
var marksArray:Array = new Array;
var marksLength:Number = xDoc.firstChild.childNodes[2].childNodes.length;
for(var i:Number = 0;i<marksLength;i++){
var markNum:Number =
xDoc.firstChild.childNodes[2].childNodes[i].attributes.markNum;
var markNumString:String = addCommas(markNum);
addMark(markNumString, markNum, goalNum, currentNum);
}
}

//populate goal text
function populateGoal(getGoalTxt:String):void {
goal_txt.htmlText = getGoalTxt;
}
//make progress bar
var goalHeight:Number = 170;
function makeCurrent(goalNum:Number, currentNum:Number) {
var percDone:Number = currentNum/goalNum;
var progressY:Number = goalHeight – (goalHeight*
percDone);//determine what y should be
Tweener.addTween(progress_mc, {y:progressY, time:3,
onUpdate:reportPosition, onUpdateParams:[progressY, goalNum,
currentNum]});//tween progress
Tweener.addTween(mask_mc, {y:progressY, time:3});//tween mask
}
//position during tween
function reportPosition(progressY:Number, goalNum:Number,
currentNum:Number):void {
var currentProgressY:Number = progress_mc.y;
var percentDone:Number = 1 – (currentProgressY/goalHeight);
var currentValue:Number = Math.floor(percentDone* goalNum);
if (currentValue > currentNum) {
currentValue = currentNum;//if the current value is more than what is should be…
}
progress_mc.progress_txt.htmlText = addCommas(currentValue);
}
//format number with commas
function addCommas(getDollarAmount:Number):String {
var amountArray:Array = String(getDollarAmount).split();//split the
string into an array
var dollarArray:Array = new Array();
var startNum:Number;
var endNum:Number = amountArray[0].length;//length of the number
while (endNum > 0) {
startNum = Math.max(endNum – 3, 0);
dollarArray.unshift(amountArray[0].slice(startNum, endNum));
endNum = startNum;
}
amountArray[0] = dollarArray.join(“,”);//join all the nodes of the dollar array together
return (amountArray[0]);//return the number with the ,s
}
//add marks
function addMark(markString:String, markNum:Number, goalNum:Number,
currentNum:Number){
var mark_mc:mark = new mark();
mark_mc.x = 65;
var percDone:Number = markNum/goalNum;
var markY:Number = goalHeight – (goalHeight* percDone);//determine what y should be
mark_mc.y = markY;
mark_mc.mark_txt.text = markString;
this.addChild(mark_mc);
}

Seo Articles Needed

March 16th, 2009 No comments

I need 30 articles written every week on a variety of topics, suitable for directory submission written by a professional who understands the basics of SEO and the adult toy industry. Articles must be between 600 and 700 words in length and be targeted towards keywords which I shall provide.

Articles must adhere to the following guidelines:

1. Be written in a grammatically correct and free-flowing style according to US English.

2. Contain between 3.5 and 4.5% keyword density

3. Contain a title and complete article body

4. Article body must be at least 600 words in length and no more than 700 words in length.

5. Be submitted in .txt format

6. Be completely original, no plagiarism (Each article will be checked by my staff online)

7. If your English is poor or mediocre, please do not bid. You will be wasting your time. I require that there be absolutely NO typos, grammatical errors, etc. They must be in perfect English.

In accepting this contract, you are providing

Bear