getButterfly Logo

Currently browsing the Blog category

How to calculate the percentage of a number from another number Sometimes called the rule of three, this is how you calculate the percentage of a number from another number. For example, you have 2 numbers, 34 and 116. Let’s say 116 is the total number (100%), and we want to find out what percentage […]

Our WordPress tutorials allow you to extend the power of WordPress. Our step by step WordPress tutorials are easy to understand and follow the WordPress best practices. These WordPress tutorials contain real-life examples, tips, and hacks that allow you to learn WordPress faster.

Here is a collection of random jQuery code snippets, created during various past projects. Note that they require the jQuery library and some require various CSS classes and/or a certain HTML structure.

Learn JavaScript in simple and easy steps starting from basic to advanced concepts with examples including JavaScript tutorials, use cases and scenarios.

This guide was built to serve as a comprehensive resource to using .htaccess. The .htaccess file is a configuration file that affects how a web server responds to various requests. It is supported by several web servers, including the popular Apache software used by most web hosting providers.

This documentation provides the basic usage of GPG/PGP, following creation of keys, encryption/decryption, generating files, sending and receiving, uploading to key servers and more.

When dealing with WordPress security, we need to start from the bottom of the stack and go up. There’s usually not much to do up there, except for security analysis.

I just switched my development server from Debian to Ubuntu. I decided to use Ubuntu 16.04, nginx 1.10, PHP 7 and Percona MySQL. Here are the steps involved in creating this configuration from scratch.

Here’s how to move an SSL certificate if you’ve never done it before. There’s a first for everything. First of all, you need to know that a certificate is issued for your domain, hosted on a certain server. You need to reissue the certificate based on your current server. Assuming you’ve already done it for your […]

How to personalise ownCloud and remove the references, change the ownCloud logo and edit the header, footer and the slogan.

In order to use this code, you need a Trustpilot business account. You also need to manually request your API credentials. The script below is working as intended as of June 17th, 2015. <?php /* * Copyright 2015 Ciprian Popescu (email: getbutterfly@gmail.com) * * This program is free software: you can redistribute it and/or modify […]

I’ve been using this management checklist for my WordPress clients for more than three years, with various additions, changes and improvements. In no particular order, here’s what you must do for your WordPress site: 1. Make a backup strategy This is a very important step which should be taken seriously since the first moment of the inception of […]

Branding Guidelines Checklist Professionals know that a brand reaches its audience through many channels, and consistency of expression plays a major role in its effectiveness. From brochures and websites to annual reports and magazines, comprehensive guidelines ensure seamless brand communications. Here are examples of the identity building blocks and applications guidelines of a typical program. […]