Archive for the ‘Technology’ Category

10 BlackBerry Paper Cuts

  This last couple of years haven’t been the best for Research in Motion. No matter what they do, they seem to be attracting derision from all sides and seem unable to turn around the perception that they are a failing company in the eyes of US media. With the mis-fired launch of the PlayBook [...]

Read the rest of this entry »

Start and connect to your VirtualBox VM with a simple script

The way I like to develop is to create specific virtual machines for my web development. The chore is to start the machine, mount the file system and then open up your IDE. All a nuisance that takes time. So, I’ve taken to writing a simple Bash script that will do the grunt work for [...]

Read the rest of this entry »

Google+ Finally Appears for Google Apps Users!

I don’t know if it’s around the web at the moment. But Google+ is finally available for users who have Google+ email addresses, This means that Google Profiles has finally been enabled for the same users and domains, so we should be seeing some more interoperability between Google related sites. I only noticed that it [...]

Read the rest of this entry »

A Quick Way to Manage Multiple Amazon AWS Accounts

I’m often switching between different Amazon AWS accounts. So to speed things along I’ve set up some simple scripts to easily switch between accounts while at the command line On Linux (aws_setup): #!/bin/bash export EC2_URL=https://eu-west-1.ec2.amazonaws.com export EC2_CERT=/home/john/cert-12345678901234567890123456789012.pem export EC2_PRIVATE_KEY=/home/john/pk-12345678901234567890123456789012.pem Once saved, run chmod +x aws_setup On Windows (aws_setup.cmd): SET EC2_URL=https://eu-west-1.ec2.amazonaws.com SET EC2_CERT=C:\Users\John\cert-12345678901234567890123456789012.pem SET EC2_PRIVATE_KEY=C:\Users\John\pk-12345678901234567890123456789012.pem Save [...]

Read the rest of this entry »

Commands to get started with Amazon EC2

Here are some simple commands to get you started with using Amazon EC2: ec2dim Displays your account’s AMIs that are on Amazon ec2run ami-XXXXXXXX This launches your Amazon EC2 instance. Use your own or one of Amazon’s AMI IDs ec2din Describes your running instances with AMI and instance IDs ec2dvol Lists your account’s volumes and [...]

Read the rest of this entry »

Taking care of HTML comments in PHP

A little problem came up with some user submitted content on a platform I’m working with. A form allows users to submit content with tinyMCE. If the content is pasted from MS Word, the source is then littered with HTML conditional comments that can have a detrimental effect on the the page that returns it. [...]

Read the rest of this entry »
 
, PHPlist