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[^"]*)

The Best CSS Editors To Use In 2017

March 25, 2017 Blog Design Tools 0
online css editor

Even a simple Notepad es enough to edit CSS code. If you need syntax highlighting and other features that make composing even more user-friendly then you can use Notepad++, a desktop application which handles so many programming languages. If you’re looking for an online CSS editor which doesn’t require software download, installation, regular upgrades, shady… Read more

The Best Interactive CSS Cheat Sheet

March 25, 2017 Blog Design Tools 0
css cheat sheet

There are many online CSS Cheat Sheets out there to help you pick the perfect styles for the website you’re working on but most of them are either a static page or even worse, a simple PDF file. Let me introduce the best collection of interactive CSS tools, all in one place which will make your… Read more

HTML CSS Windows XP Geek Prank

March 20, 2017 Blog Design development javascript jquery Tools 0

Only one more week till April Fool’s Day and today I’m going to give you a great tip on how to prank your classmates or colleagues. There’s an online Windows XP simulator, built entirely with HTML and CSS which imitates the functionality of an old computer but it runs in a web browser. Trick your… 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

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

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

Newspaper-style webpage

July 15, 2015 Design 0
newspaper style website design

  The website I’m showcasing today was inspired by an old newspaper. The design is using only an old-looking monochrome sepia look throughout the whole page. I can almost feel the smell of the old tidings while browsing this site. wwweeebbb.com detects the current date and a city near our current location, displaying the main headline as… Read more

Bad HTML and CSS practices

February 15, 2015 Design 0
bad html pactices

  Let our very first CSS showcase be a counterexample about a website which lists everything you should avoid while designing a website. I promise this will be the first and the last bad design we present you and we’ll publish only stunning examples in the future. The creators of BadHTML.com have tried to list as many deterrent… Read more