Development
Python Google Analytics Reporting API v4 – ModuleNotFoundError: No module named ‘oauth2client’
Following the guide at https://developers.google.com/analytics/devguides/reporting/core/v4/quickstart/service-py and getting the below error? Traceback (most recent call last):File “HelloAnalytics.py”, line 4, infrom oauth2client.service_account import ServiceAccountCredentialsModuleNotFoundError: No module named ‘oauth2client’ The solution is to upgrade your Python oauth2client library. See below: pip install –upgrade oauth2client
Vagrant – Removing VM from Global Status after Deleting Folder and Files
You might have deleted the folders and files for a Vagrant virtual machine. However, you will see the machine appear under the ‘vagrant global-status’ command. If you issue the command ‘vagrant destroy [virtualmachineid]’, you will get the following message “The working directory for Vagrant doesn’t exist! This is the specified working directory:” To remove the…
How to Clone a Git Repository into the Current Directory
Somehow, most examples of Git’s clone command show a subfolder for the repository to be cloned into. I, for example, prefer navigating to the desired directory and like to clone into the current directory. The Git command has to be changed to appear as follows: [bash] git clone [email protected]:your-username/repository-name.git . git clone https://github.com/your-username/repository-name . [/bash]…
Install, Configure & Optimise MySQL on Debian
Step 1 : Adding the Dotdeb repository You can skip this step if you have already added the Dotdeb repository while installing NGINX and PHP-FPM on your Debian Squeeze Server. We need to grab the latest version of MySQL to benefit from all new updates and bug fixes. Read this article for information on adding…
Install, Configure & Optimise NGINX on Debian Squeeze
nginx (pronounced “engine-x”) is a Web server and a reverse proxy server for HTTP, SMTP, POP3 and IMAP protocols, with a strong focus on high concurrency, performance and low memory usage. According to BuiltWith, it is used on 9.92% of the top 1 million websites, and its growth within the top 10k, 100k and 1…
How to Add the Dotdeb Repository to Debian Squeeze
Dotdeb is a repository containing packages to turn your Debian boxes into powerful, stable and up-to-date LAMP servers. This tutorial shows you how to add the Dotdeb repository to Debian Squeeze based Linux servers.
How to Launch a New Rackspace Cloud Server Instance
In this tutorial I will demonstrate how to setup a Rackspace Cloud Server instance. The intended use of this sever is to host a low traffic WordPress website. All settings and configuration detailed in this tutorial are tailored for a 256MB Rackspace Cloud Server slice.