PrimitiveType

Welcome to PrimitiveType.com!

Articles and resources about PHP, JavaScript, HTML, Linux & more.

Most recent articles:

article   Some simple PHP exercises to improve your nested FOR loops
 

This article is intended for PHP novices. It is expected that you know what for loops in PHP are, but have not made much use of them yet. In particular, this article shows how to nest one for loop inside another to create row and column patterns. The best way to see the results of the solutions is by running the solutions on the command line (with php script_name.php). However, you could also...

Read more...

article   Project Management with Trac
 

All but the most trivial of software projects need some kind of management software behind them to help organize complicated development processes. Trac is a free web-based offering that does the job efficiently and with a minimum of fuss. In this article I look at certain aspects of Trac, including the features that I use most on a daily basis.

Read more...

article   Filtering out SVN directories from grep output
 

I often need to use the tool grep to search for specific text under a directory tree in Linux. For example, I might want to search for every occurrence of the text "helper" in my latest web site source code. But when the source code is under Subversion, or SVN, version control, the results will be cluttered with more matches than you probably want.

Read more...

article   Repairing a water damaged laptop
 

I recently bought an HP Pavilion dv6000 laptop, but I hadn't owned the machine for 3 weeks when I spilled some water on it. What's worse, I didn't realize I had spilled the water until many hours later. What's even worse, the laptop had been switched on at the time... disaster! When I tried to run the laptop my worst fears were confirmed: the laptop wasn't working.

Read more...

Featured web development resources:

HTML Entities Conversion Tool
HTML Colour Chart
Find out your IP address
Simple JavaScript calculator
Timestamp converter

resources All resources...