Category: Code

Search For Satoshi 2

Search For Satoshi

In 2008 an anonymous user with the alias Satoshi Nakamoto posted the original Bitcoin whitepaper to the Cryptography mailing list. Satoshi mined a lot of the early Bitcoin blocks and the rewards...

Pop Under Code 2020 3

Pop Under Code 2020

Updated July 2020 This pop under code is used for running pop under traffic on your own site. It adds an onclick function to every link on the page which opens a...

Wasabi AB Testing Platform 5

Wasabi AB Testing Platform

Update July 2020 – Wasabi is no longer maintained or supported. Check this article for more information on conversion rate optimisation. Wasabi AB Testing Platform Intuit have opensourced a enterprise grade A/B...

How to display different banners for mobile 6

How to display different banners for mobile

I had a situation where I wanted to use different ad banners depending on the screen size of the visitor. To display different banners for mobile and desktop traffic. What I wanted...

robots.txt Disallow All | Block Bots 7

robots.txt Disallow All | Block Bots

In this article we are going to look at how to block bot traffic using the robots.txt disallow all feature, then some of the more advanced uses of the robots.txt file. How...

vibrating phone

Vibrate Phone with Javascript

The following javascript uses the Vibrate API to make a phone vibrate when a page is loaded. You can time it with setTimeouts or onclick/onscroll if required. There’s more information available at:...

node moz api

Node.js client for Moz API (MozScape)

Update 2020: This is outdated now and not maintained. I’d recommend using one of these packages: https://www.npmjs.com/package/moz-api https://www.npmjs.com/package/moz-api-wrapper Original Post: I was doing some work with SEO domains and realised there wasn’t...

REGEX | A Complete Guide With Examples 8

REGEX | A Complete Guide With Examples

Regexes are a powerful way to do search queries on a text string. They can be used to replace text, sanitize user inputs and much more. Contents Introduction to REGEX REGEX Cheatsheet...