Regex to extract url that contains word

June 13, 2017 Design 0

The regex below will help you find and extract the url of a link from within an html code. In the case below, it will find the href attribute that contains the word linkedin.com, and will return the full url. 1<a [^>]*\bhref\s*=\s*"([^"]*linkedin.com[^"]*)

MySQL Get Distance By Latitude And Longitude Coordinates

April 16, 2017 mysql 0

Create a stored procedure: 12345678910111213CREATE FUNCTION distance (latA double, lonA double, latB double, LonB double)     RETURNS double DETERMINISTIC BEGIN     SET @RlatA = radians(latA);     SET @RlonA = radians(lonA);     SET @RlatB = radians(latB);     SET @RlonB = radians(LonB);     SET @deltaLat = @RlatA – @RlatB;    … Read more

What SEO Technique Works in 2017

February 24, 2017 SEO 0

Search engine optimisation is the technique that helps website owners rank their websites higher on search engines (we’ll be talking about Google here) for their most relevant and business generating search terms. For example, if you own a web design company in Oxford, and you would like to rank your website on the first page… Read more

Two Way Data Binding With jQuery

February 23, 2017 Design development javascript jquery 0

This is definitely the most simple and one of the most effective 2 way data binding method with jQuery. Just simply add the custom attribute bind to any element, and it will bind the data to all elements with the same bind value. See the code below get the idea: One: This div’s content will… Read more

Get the name of the current branch in Git

February 22, 2017 Git 0

Sometimes you might be tired and you might have forgotten which is your current branch in git, and therefore you need some kind of a guide that will show you your current branch. So here is the command that will do this for you: This command will get your current branch displayed in git: git branch… Read more

Useful SSH Linux Commands

January 19, 2017 Design 0

Without over complicating things, here is a list of useful SSH commands that I’m using to remotely manipulate the server of my websites. du -msh  /home/directory_name/public_html/  – This will show you the size of the selected directory (this can take quite a while if you have many files in the directory, even hours! be patient) ls… Read more

Koala as TypeScript Compiler – Installation Guide Step by Step

October 23, 2016 javascript Typescript 0

You might be just starting out in the mysterious world of TypeScript, and you are wondering what the heck should I do with this? Where to start with TypeScript? How do I compile it to Javascript code that browsers can actually understand? Just like you, I was once a beginner with TypeScript, and  I know… Read more

Connect to a MySQL Database via OOP PHP

June 14, 2016 Design 0

In this article I’ll explain how to connect to a MySQL database via Object Oriented PHP (OOP) techniques. There are many reasons you might want to use OOP PHP to connect to a database – your application will be safer, more structured, organised and re-usable.  In this article I’ll only write about how to connect… Read more

Sale Finder website

January 24, 2016 deals development php development 0
sale finder site

How to build a deal finder website with a crawler Have you ever dreamed about building a discount finder website yourself? Well if you have, I’ve got some good news for you.  With the help and advice from Everyday is Black Friday,  we’ll put together some nice articles about how to effectively build a deal… Read more

The Best Javascript Libraries For Web Developers

January 23, 2016 javascript javascript frameworks 0
best javascript tools and frameworks

  Web design and development is a really exciting area of the IT industry, and it’s the one that requires the most attention to detail and artistic talent. Nowadays there are a plethora of tools that will help any creative web designer realise their vision – the limit is literally the sky with today’s technology.… Read more