Home
Blog
About
Coding
Websites
Photos
Twit-Map
Links
Only Idiots Assume - Blog Home

Code Snippets

3 comments

Pages in this Section

Here you can fine and snipits (or even longer) of code, that I have written to solve a problem or to simplify something. You are free to use anything you find here in your own work, and are also free to modify it where you see fit. I would however appreciate being put on your links page if you find anything or particular use!

Most of my code away from work is written in PHP and MySQL, although as a Linux (Ubuntu) user I also use various bash scripts for backups and the like.

At work I am a Microsoft developer, working with Microsoft SQL Server, and Visual Studio.  I “program” in Visual Basic .NET, and ASP .NET.

As times goes by I hope to post more and more code segments here, for anyone to use as they see fit.  Some I also post for myself as a reminder!!

As always with this sort of thing, and code that is provided is given as is with no warranty, and without and blame being placed upon the author (me) for anything that occurs with its use!!  But with that in mind, I do intend to only put code which as been tested up here!!

A list of the code sub category can be found to the right of this page.  Happy Coding!!

3 Comments on “Code Snippets”

  1. toner says:

    Don’t know if this is just part of using wordpress to do your coding/photos/about section ( and with my crappy coding I am not one to talk), and mainly due to an interest of what can and cant be done using wordpress for blog parts to a site. But when you are on a page of yours not wordpress related websites/tweet-map/links. The area in your nav goes dark gray, but for for the wordpress sections it highlights the blog, I was wondering is this just a limitation of using wordpress for the section or a case that sometimes the easy looking things are bloody hard to implement. See this is the problem when I start learning something I want to know everything now without the basics.

  2. The Grey and arrow bit of the nav bar is a mix of PHP and CSS which detects the name of the page and put the “grey” on the right button.

    The “grey” being on the blog button for all the WP sections is just pure lazyness on my part. As I “hard coded” the WP code to just show the blog button, until I could be bothered to do it correctly! I shall add it to the list!

    James

Leave a Comment