Gyrolabs

Random tools to make your life easier

Facebook Apps

February 24th, 2007 by admin

I’m thinking about writing a desktop Facebook application. If anyone has ideas let me know. Should I find a good idea, I’ll also write a custom C# client class and make that available for download.

Posted in Uncategorized | 3510 Comments »

Coming Soon

December 11th, 2006 by admin

With the holidays approaching, I’ve been busy with a few projects. Here’s what’s coming the the (kinda) near future:

  • ICM Version 3.1 - A few bug fixes and feature adds. The most noticeable feature will be the ability to hide outages under x seconds, as well as a few other GUI interface additions and changes
  • Easythumb 1.0 - A PHP Page for quickly generating image thumbnails, with support for adding watermarks as well

Posted in Uncategorized | 61 Comments »

Internet Connection Monitor 3.0

November 6th, 2006 by admin

Just released:
Internet Connection Monitor version 3.0

Most of you have never heard of this, but it’s been a project of mine for the past 2 years, although I haven’t really actively been updating it. Just a brief history:

This was created to monitor my internet connection because it frequently cuts out for long periods of time. I needed something to show my ISP to prove to them that the service kept dropping. For this, I created a simple BASH script that would ping our ip every x seconds, and wrote a log of outages. This system was extremely limited, however, so about 6 months later, I wrote a Python version. Still, this version was buggy and inadequate. So now I release version 3.0.

It is written in C# and:

  • Puts an icon in the system tray that shows the current status of the connection (red for down, green for up)
  • Shows balloon tips when the connection drops or comes back up
  • Options for changing polling interval, port, server, and where to save the logfiles
  • A logfile viewer that parses the logfiles and tells you how long the connection was down

Click Here to Download ICM Version 3.0

Total Downloads:

Posted in Uncategorized, New Releases, C#/.NET | 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 »

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 »