Black Samsung Laptop sat on a window sill overlooking a street

10 Web Developer Tips

Recently I wrote up a list of 10 web developer tips for the @coding on Instagram and their 67 thousand followers. You can find that particular post here, while also following @coding and myself on Instagram while you are there, as they are both great...View Article

Leave your thoughts
Old mac laptop with some code on it

Notepad++ CRLF instead of LF

Recently had a problem with uploading a new php file to a server, and it turned out that Notepad++ was only adding LF to the end of each line, and not CRLF. Malay Ko Ba has a quick and easy way of fixing all your problems....View Article

Leave your thoughts
Desktop screenshot of all the internet browser icons all lined up

Online Testing With jsfiddle.net

A website that I recently found very useful was the JS Fiddle website. It basically sets up a test area for you to try out simple bits of code, saving you the time or creating a test area. It also has the nice feature of being able to set up as dif...View Article

Leave your thoughts
Over the shoulder image of computer code on a laptop

Calculations To Scale An Image

A couple of times I have had to deal with images in my code. Recently I had a project that needed the user to upload an image, which then needed to be scaled down to fit an area. Below I detail the calculations that I used. For this demonstration, w...View Article

Leave your thoughts
Over the shoulder with a large screen with code taking centre stage

Pre Check Form Before Submit

Below is a script to allows you to run a precheck function in Javascript, preventing the form from being submitted if you detect a problem. First, in a separate, external Javascript file, copy the below script: The above code is checking a checkbox...View Article

Leave your thoughts
Old mac laptop with some code on it

Select a Range in MS SQL

Selecting a range from a table is easy in MYSQL. Say you want to bring back results that you are paginating. Bringing back thousands of results is inefficient and needless. MS SQL there isn’t a simple way of doing this. The best way I have found, or...View Article

Leave your thoughts