Notifying Google of an XML sitemap via a URL

Today I found out you can easily notify Google of an XML sitemap by ‘pinging’ Google via a GET request: http://www.google.com/webmasters/sitemaps/ping?sitemap=URLOFSITEMAP.xml You can perform this via PHP, or if running on Linux; use wget.

Read More

Quick and Easy SSL chipers

I’ve recently came across the https://cipherli.st/ site, from the cron.weekly email newsletter (I highly suggest you sign-up, some great posts and sites featured). Cipherli.st allows you to copy and paste SSL ciphers for a variety of web software (Apache, Nginx, etc.).

Read More

In-page embedded viewable PDF documents without a PDF reader

Here is a neat trick which I’ve found: using a tool by Google named Docs Viewer you can embed PDF (Or office and Postscript) files into a webpage to be viewed on screen, even without a PDF reader plugin installed in the user’s browser. Simply use the snippet below and change where your_document_here is mentioned twice […]

Read More

My must-have Brackets plugins

As a follow on from my previous post ‘Monokai theme for Brackets‘, I have produced a list of my must-have plugins for Adobe Brackets. Let’s go! Brackets Selections This plugin will add Sublime Text style selections. Github: https://github.com/DannyMoerkerke/brackets-selections Brackets Sort Text Extension Provides a couple of utility functions for sorting lines in the current document. […]

Read More

Monokai theme for Brackets

For about a year I have been using Adobe Brackets as my go-to code editor, previously I was using Sublime Text 3. Whilst I still love Sublime Text the idea of Brackets being open-source and written in HTML, CSS and Javascript was something that got me excited. However the Monokai theme that I gotten used […]

Read More

Looping through a Data Map with Sass

I’ve decided to share this code for anyone who requires a quick ‘copy and paste’ solution for using data maps (map-get) and loops within Sass. This example will allow you to set values within the data map, then loop through and output as CSS rules. Setup the variables within the data map and create the code […]

Read More

Updated: Monitor your website and database uptime

I have made some changes to the website and database monitoring script which I published in March 2016. A summary of these changes: The script can be used in PHP versions older than 5.4.0. The script has been work with PHP Server Monitor, an open-source self hosted monitoring solution. You can view the code on BitBucket here, […]

Read More