Blog

Roald Dahl Wisdom

June 08, 2015

If you have good thoughts they will shine out of your face like sunbeams and you will always look lovely.

Make a radical change in your lifestyle

October 22, 2014

“Make a radical change in your lifestyle and begin to boldly do things which you may previously never have thought of doing, or been too hesitant to ...

Hifivr.com - free flash games arcade

February 14, 2014

Hifivr.com is a small side project i've been working on lately and consists of free online arcade style games. It has over 60,000 games from publishe...

A quote of inspiration: Waves

October 28, 2013

I came up with this the other night, no idea whether it's original or not, but, i'm sure as hell going to claim it so, until proven otherwise. In an ...

Moneys nice to have, but ...

August 19, 2013

Moneys nice to have, but, if you have to sacrifice too much time to get it, when you do eventually stop, there will be no one around to share it with...

Your job no matter the title

August 08, 2013

If you work with people, no matter what your title is, it’s your job to make the people around you feel better, empowered and encouraged.

Wordcamp 2013 Lancaster - my thoughts

July 15, 2013

Having just returned from Wordcamp Lancaster 2013, I thought what better time to write a quick round up of how I felt the weekend went than now. Havi...

Continued...

March 15, 2013

Errem feugait inimicus ad usu, sit porro verterem ut, ne duo primis eloquentiam ullamcorper. Omnes discere ut est, prima inani cu cum. Eum ea saepe a...

Git diff only show file names with changes

February 26, 2013

If you just want to see a list of files with changes in the .git repository you are in then just fire terminal up and run the following command. git...

The new year

January 13, 2013

As 2013 gets well underway I took a quiet minute to reflect on the year gone by and all that lays ahead in 2013. 2012 2012 was a roller coaster year,...

Cool quote

January 06, 2013

Close your eyes, clear your heart, let it go...

Laravel and Wordpress as a subfolder

December 28, 2012

I wanted to recreate a small blog for a site I was building in Laravel for a bit of fun but didn't want to waste/spend loads of time recreating a blo...

A rule of life

December 17, 2012

Make it a rule of life never to regret and never to look back. Regret is an appalling waste of energy; you can't build on it; it's only good for wall...

Lemonstand get unpaid orders by customer

December 13, 2012

During the checkout process Lemonstand automatically clears your shopping cart in favour of creating a Shop_Order object which is pretty static and c...

Linode - My early impressions

November 06, 2012

For quite sometime now i've been looking for a place to house my personal projects, which gives me the flexibility of a cloud style host but with ful...

Get latest 3 tweets from twitter

November 05, 2012

Just blogging this for future reference. It's useful to grab twitter status's asynchronously. But does not provide any niceties like nice formatting ...

Nice sticky footer down there ↓ ↓

November 04, 2012

Lorem ipsum dolor sit amet, te semper nostrud eos, ei feugiat dignissim nam, graeco aliquid vix ad. Ut nec erant pericula, ei mollis nominati qui. Vi...

Mysqldump from AWS RDS database

October 04, 2012

It's really no different than any other normal dump. I suggest running it from your EC2 instance or another remote server, to skip out any latency fo...

Winston Churchill

September 20, 2012

"Success is going from failure to failure with no loss of enthusiasm."

Ralph Waldo Emerson

September 18, 2012

"Do not go where the path may lead, go instead where there is no path and leave a trail."

Download file with SCP linux / Terminal

August 01, 2012

Very simple really, using ssh connection and grabbing a single file to the current directory scp user@server.com:/home/your-site/www/mysql-backup.sql...

Here's to my new theme

July 25, 2012

As many of you will know when thinking about making your own portfolio website - it's difficult to choose a theme and a concept or even make one that...

Wordpress remove all inactive widgets

May 01, 2012

Removing all those pesky inactive wordpress widgets can be achieved with a few lines of code. Something like this: $widgets = get_option('sidebars_w...

Rsync folder from one server to another

April 27, 2012

Incredibly useful function that i've been using alot today to help move clients sites into a new server setup quickly using rysnc. rsync is a softwar...

I released Topmmorpg100 an MMORPG Topsite

April 09, 2012

Over the last few months as a bit of a side project I have been developing and building topmmorpg100.com - an online MMORPG, MMO & Browser based gami...

Checking out remote branch in Git

March 07, 2012

Simply blogging this for future reference and in the hope it will be useful for someone else. To checkout a remote branch into your local use the fol...

Wordpress in two sentences

March 05, 2012

Recently tasked with doing this for work, what is Wordpress? Explain in two easily understandable sentences:- WordPress is web software you can use t...

A quote about me

February 22, 2012

I was laying there in bed last night and wrote this quote about myself, I liked it. I am driven by anger and competition, motivated by difference and...

Mac Screenshot Shortcuts + Commands

February 09, 2012

I find this continuously frustrating to remember so I thought i'd write a quick blog about the possible mac os x commands for screenshot capturing an...

How to add custom meta boxes to Wordpress

December 24, 2011

Many of us want to add custom meta boxes to Wordpress post types and doing so is a relevantly easy jaunt, in this tutorial i'm going to show you how ...

A great quote

October 29, 2011

I just stumbled across this quote tonight and felt it was pretty relevant to me. It does not do to dwell on dreams, and forget to live. Re-enforces m...

Link color transitioning with css 3

October 23, 2011

One of my new favourite tools is css3. I love how for the tech savvy I can add a level of detail and luxury to a web page with no fallback problems f...

MAMP v2.0+ and Apache Virtual Host Set Up

August 03, 2011

A colleague of mine was having some trouble setting up virtual host's with his new installation of MAMP recently. So I decided to sit down and have a...

Responsive Web Design - Should We?

June 20, 2011

Responsive Web Design (RWD) seems to be causing quite the storm in our world at current, and I myself am quite engrossed within it's inner workings. ...

Php preg_match simple string examples

November 17, 2010

Due to ereg being deprecated in php 5.3.0 + I decided since it was at the core of one of the most heavily used functions on a site of mine, to make t...

Do's and do nots of business websites

September 17, 2010

Earlier today I decided to have a little think about what makes a business website great and what, well, really doesn't! The very first thing I thoug...

Opening Up For Advice

September 15, 2010

Over the last year I've been constantly if not more than constantly trying to ask myself, are we doing things the right way? There are a million and ...

Simple Directory Protection with .htaccess

September 08, 2010

To deny access to a folder or directory, simply create a new .htaccess file inside that directory. Then depending on the authorisation type you want ...

PHP frameworks CodeIgniter, Zend & Symfony

September 01, 2010

Lately I have been considering PHP frameworks and using them to speed up development of small projects, whilst also considering the MVC (Model, View,...

Keeping Your Apache Server Name The Same

August 18, 2010

Just blogging this for future reference:- Using several aliases on the same domain and keeping the same apache server name for all can be achieved by...

Link MAMP & mysql to mac os x terminal

August 13, 2010

Last night I trawled the internet trying to find the answer to how to hook up my mac os x terminal to my mamp mysql using the > mysql command in the ...

Game Design With Flash (Cs4)

April 15, 2010

I have started learning the basics of game design using adobes cool flash cs4 suite. Actionscript seems to basically be php objects with a little syn...

Compound interest php function

April 01, 2010

Something that will crop up at some point in your programming lifespan is a little bit of compound interest. Well its very easy to work it out. The b...

Scroll To The Bottom Of A Page With jQuery

February 12, 2010

Today I was faced with the small problem of scrolling to the bottom of a page using jQuery. I noticed while trying to find a quick solution around th...

jQuery Custom Ajax With Wrapper Layer

January 15, 2010

Whilst working on our online game Street Crime - Mmorpg Gangster Game I came accross the need to add a wrapper layer to all of our ajax calls thus to...

A useful command for mac os x terminal

December 15, 2009

When working on your server with ssh access, you tend to get very used to doing everything you need to do via the terminal window. Sometimes you may ...

Beginners Guide To jQuery

November 06, 2009

A while back I faced the daunting prospect of learning yet another language, jQuery. At the time I had a little to average knowledge of javascript, I...

Games for Mac OS X

August 31, 2009

If your anything like me then on a sunday night or all be it any other night when boredom hits  you look for a game or something of the sort to pass ...

Dealing with a subversion conflict

July 31, 2009

I always find blogging what i find out is a good idea, we sometimes get conflicts with our subversion repository so here is a list of commands to dea...

Simple Essential Subversion Commands

June 16, 2009

As we are now using subversion here at Bytewire I thought it might be useful to just blog a few of the essential commands. svn status  - Will show yo...

Twitter versus Facebook

June 09, 2009

As the tides start to rise and more and more people are jumping on there surf boards and heading to the land of Twitter, I ask myself the question "w...

Form Input Validation With Javascript

June 05, 2009

Input validation with javascript is an essential part of any large day to day website. Its major advantage is that it can be processed client side th...

Building Your Own Free Online Mmorpg

May 27, 2009

By day I run Bytewire Limited and we focus primarily on building and developing our online mmorpg style games. We are currently focused on building o...

One line unzip and mysql dump to database

May 25, 2009

After some advice on my last post I thought id make another post with a revised version of my other post about the same topic. unzip -p mydb.zip | my...

Php random password generator

March 17, 2009

I developed this the other day and think its a really useful bit of code to use if your looking to make yourself a strong password generator for your...