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.
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.).
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 […]
A collection of the best videos of talks from Google I/O 2017.
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. […]
This simple PHP script can be used to perform HTTP and HTTPS redirects for your domains. I created this script as my DNS provider does not provide a URL redirection service of their own, and I didn’t want to setup webspace or a virtualhost on my server just for a redirect. To use this script, […]
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 […]
A brief tutorial of how to use Digital Ocean’s V2 API as a free Dynamic DNS service. Use a sub-domain to provide a static point for connecting into your home or business.
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, […]