Gyrolabs

Random tools to make your life easier

Gyrolabs Mobile BETA 1

August 27th, 2006 by admin

The Gyrolabs mobile portal is up. You can visit this link from your phone or PDA and it will save your past links and provide you with a list of the most commonly typed in links. To make sure that your URLs are saved, use a username. To get to Gyrolabs mobile:
         http://m.gyrolabs.com/
and if you want to use a username:
         http://m.gyrolabs.com/?username

Posted in New Releases, PHP | 63 Comments »

SpacerGen

August 22nd, 2006 by admin

To use the Spacer Generator:
spacergen.php?option1=value&option2=value
These are options that can be applied to any pattern

pattern The pattern of the image
Default: checkerboard

Options:
     checkerboard (A checkerboard pattern)
     diag (Diagonal Lines)
     intersect (Criss-Crossing Lines)
     grid (A grid of lines)
     vertical_zigzag (A vertically zigzagging pattern)
     horizontal_zigzag (A horizontally zigzagging pattern)

width The width of the image (in pixels)
any positive number
Default: 50
height The height of the image (in pixels)
any positive number
Default: 50
foreground the foreground of the image
6-digit hexadecimal number in RGB format
Default: 000000
background the background of the image
6-digit hexadecimal number in RGB format
Default: ffffff

New in Version 1.1


Pattern Style Examples Arguments/Options Introduced In
Grid

  • spacing=integer — spacing between lines
  • linesize=integer — width of the lines
Version 1.1
Vertical ZigZag

  • zigheight=integer — the height of the zigzag
  • spacing=integer — the distance between the zigzags
  • zigright=1 or 0 — reverse the zigzag
Version 1.1
Horizontal ZigZag

  • zigheight=integer — the height of the zigzag
  • spacing=integer — the distance between the zigzags
  • zigup=1 or 0 — reverse the zigzag
Version 1.1
Checkerboard

  • blocksize=integer — the size of the blocks
Version 1.0
Diagonal Lines

  • dir=rtl or ltr — the direction of the lines
  • spacing=integer — the spacing of the lines
Version 1.0
Crossing Lines

  • spacing=integer — the spacing between the lines
  • As of now, there is no support for changing the linesize
Version 1.0



Total Downloads:
Click here to download SpacerGen 1.1

Posted in Uncategorized | 65 Comments »

Spacer Gen

August 22nd, 2006 by admin

I just put up the SpacerGen file. This file allows you to create spacer images to your own size, color, and spacing.
More Information >>>
Click here to download SpacerGen 1.0

Posted in New Releases, PHP | 63 Comments »

PHP Lib

August 22nd, 2006 by admin

Overview:
Quick collection of functions I use in all of my web applications
There is extended documentation in the lib file.

Features

  • enclose_string($var[,$enclosewith]): encloses either a string or an array with a string or quote. If no “enclosing string” is specified, it encloses the strings in ‘
  • create_query($array,$table,[insert or update,[$id,[$idcol]]]): Creates a SQL query from an array
  • escape_quotes($var): escapes quotes in either a string or array and prevents double-escaping that can occur with addslashes()
  • print_menu($array): recursively generate a menu from an array



Total Downloads:

Click here to download WD PHP Lib 1.0

Posted in Uncategorized | 60 Comments »

Javascript Lib

August 22nd, 2006 by admin

Overview:
Quick collection of functions I use in all of my web applications

Features

  • request(url): simplest ajax call ever
  • sqlsafe(string): escapes quotes as you type
  • sqlsafe_hidden(string,field):does what sql_safe does but stores the escaped string in a hidden field
  • $(id): alias to document.getElementById() (this was taken from prototype.js)
  • numbers_only(string[, allowdecimal]): allows numbers only (optionally allows decimal points)
  • alpha_numeric(string): return letters and numbers only
  • turn_color(fieldid, color): change a field’s background color (useful for form validation)
  • setCharAt(string, index, newchar): set a specific character in a string



Total Downloads:
Click here to download WD Javascript Lib 1.0

Posted in Uncategorized | 296 Comments »

Traits of a Good Programmer

August 22nd, 2006 by admin

Here’s 4 traits of some of the best programmers. Click Here to Read the Full Article

Posted in Articles | 108 Comments »

JS and PHP Lib Files

August 20th, 2006 by admin

Version 1 of both the PHP and JavaScript lib files have been uploaded. You can access them on the navigation bar at the top of the page.

Click Here to Download the Latest Javascript Lib (v1)
Click Here to Download the Latest PHP Lib (v1)

Posted in New Releases, PHP, Javascript | 60 Comments »