Compdigitec Labs

Internet

us-east-1e doesn’t have t3 instances

Friday, March 15th, 2024

us-east-1e (although AWS may randomize zone mappings) doesn’t have t3 instances! This may cause the following error messages. “The requested configuration is currently not supported. Please check the documentation for supported configurations” “Your requested instance type (t3.large) is not supported in your requested Availability Zone (us-east-1e). Please retry your request by not specifying an Availability […]

Serving VNC via HTML5 using noVNC and x11vnc

Thursday, July 22nd, 2021

Generating POT files for WordPress plugins

Monday, July 6th, 2020

The easiest non-GUI way appears to be using WP CLI. Run the following in the plugin folder: wp i18n make-pot . output.pot

How to get the classic Firefox look back

Wednesday, November 20th, 2013

While all the latest dynamic changes (such as the new Australis UX) may be interesting, you may be looking to get that classic Firefox look back for productivity reasons. Here is a list of recommended addons to restore your Firefox back to something to do work with: Classic Theme Restorer – Removes many annoying Australis […]

Correcting IP address of PHP behind a reverse proxy

Sunday, November 14th, 2010

As described in our previous post, normally the PHP REMOTE_HOST variable only appears as the address of the trusted proxy server. As was also described in the past, this messes up all of the PHP scripts not explicitly designed to work with REMOTE_HOST. But now we have a solution for this – the apache mod_rpaf. […]

Reverse proxy (X-Forwarded-For) patches for WordPress comments and Bad Behaviour

Saturday, October 30th, 2010

Update: Reverse proxy support is now built into Bad Behaviour as of 2.1.x. Therefore the following patch is obsolete and should only be applied to Bad Behaviour 2.0.x. You can configure the built-in reverse proxy either through your settings.ini or in WordPress administration. Normally, when PHP scripts access the remote IP of a client through […]

Setting up a HTTP Gateway on Ubuntu 10.04

Wednesday, August 11th, 2010

An HTTP gateway is one of the ways that one can host multiple sites using only one external IP. The way that it works is that the user requests the page from the gateway and specifies which host was requested. The gateway server then forwards the request to the appropriate web server, which then returns […]

Setting up a Subversion server using Apache on Ubuntu

Monday, August 9th, 2010

Subversion is an excellent open-source solution for keeping track of the different versions while developing software. Here, we will see how to set up a subversion server on an Ubuntu 10.04 LTS Server to provide programmers with the ability to use Subversion. Prerequisities Apache 2 should have already been installed and configured with SSL – […]

ASP.NET GridView All-In-One Quick Reference

Saturday, July 17th, 2010

Here is a quick collection of snippets where one can quickly lookup the necessities of setting up a GridView for the purposes of displaying information to the viewer through a database (for example, MySQL): Adding Columns of Data Binding the Data (and storage across sessions) Paging Note: This needs AllowPaging to be set to “true”. […]

Solving “The name … does not exist in the current context” in ASP.NET

Wednesday, July 7th, 2010

A little-known fact is that in ASP.NET is that you cannot have two copies of the same ASP.NET web page in the same folder, or it will attempt to load elements (such as controls) from the (usually) wrong page, and end up confusing itself, resulting in the error “The name … does not exist in […]

« Previous Entries