Computer programming tutorials

How Do I Start Using jQuery on my Website?

contributed by Chris Luongo on December 14, 2011 under Computer programming

Many beginning web designers are intrigued by the javascript power that jQuery provides. If you have never used a javascript library, it can be a bit intimidating. Downloading and linking jQuery within your web document is really very simple. This tutorial will get your started.

 

Xcode 4: Add Existing Framework

contributed by David Kirk on November 3, 2011 under Computer programming

When developing in Xcode, adding frameworks is a common action. How to add frameworks has changed from Xcode 3 to Xcode 4. Here are the steps required in the latest version.

 

Two Common Mistakes in Floating Point Arithmetic in C

contributed by Vishwanath Dalvi on November 2, 2011 under C programming

This tutorial will demonstrate two rules that must be respected when performing floating point arithmetic in C. Following these rules will prevent loss of information. Examples with walk through explanation provided.

 

Symfony 1.4: Add and Update Created_at and Updated_at Fields Automatically

contributed by David Kirk on February 1, 2011 under Symfony

After the CRUD building process with symfony, beginners are often perplexed with the handling of the created_at and updated_at fields on their forms. These fields are typically best handled behind the scenes. Here is how to let symfony take control of these fields automatically.

 

Symfony 1.4: Widget Does Not Exist Error after Unset

contributed by David Kirk on under Symfony

With symfony’s form builder, users will need to unset several common fields such as created_at and updated_at. Beginners frequently experience a “widget does not exist” error after unsetting form fields.

 

Bourne/bash shell scripts: string comparison

contributed by Rex on November 18, 2010 under Bourne shell scripting

Brief tutorial describing how to do string comparisons. Recently updated thanks to comments from our users.

 

Create NSIndexPath for UITableView in iPhone/iPad App

contributed by qmchenry on April 2, 2010 under Computer programming

Once you get past basic table view applications on the iPhone or iPad, you may run into the need to create an instance of NSIndexPath. NSIndexPath is an interesting class that stores the path to get to something in a nested set of collections. In an iPhone UITableView application, NSIndexPath is central as it provides a reference to the section of the table and the specific row of interest. There is a trick to creating an instance yourself. Read on to find out how.

 

PHP: Camel Case to Spaces or Underscore

contributed by David Kirk on March 19, 2010 under PHP programming

Recently while working on a project, I found I needed to convert camelcase strings to space-separated strings. This same technique will work if you want to convert camelcase to underscore separation as well.