Astaire Unwound

Filed in Odd Crap Leave a comment

 

This effect was produced by building the whole room inside a steel-reinforced cylinder, which turned as Astaire danced. The camera was held down so that it rotated with the set, giving the view that the room was stationary and that Fred was freed from gravity.

Meanwhile, in AIB

Filed in Meanwhile Leave a comment

AIB
Looks like AIB are branching out after being hit hard by the recession.

Enabling Server Name Includes on Debian Squeeze

Filed in Linux Leave a comment

I don’t like waste, particularly when the resource is finite and fast diminishing… I also dislike paying for IP addresses. So here is how I enabled SNI in Apache running on Debian Squeeze. SNI allows multiple sites to host SSL content from the same IP address. Before SNI, Apache would listen for HTTPS (port 443) connections based on destination IP addresses. With SNI, Apache listens on any and all IP addresses and serves the correct content just like standard HTTP (port 80).

First off, you need to check what version of Apach and OpenSSL you are running. If the Apache version is > 2.2.12 and your OpenSSL version is > 0.9.8j – you’re grand.

Find Apache and OpenSSL version

[root@server ~]$ apachectl -v
Server version: Apache/2.2.16 (Debian)
Server built:   Nov 30 2012 08:58:36
[root@server ~]$ openssl version
OpenSSL 0.9.8o 01 Jun 2010

Edit the ports

This is where the magic happens.

[root@server ~]$ vim /etc/apache2/ports.conf
# If you just change the port or add more ports here, you will likely also
# have to change the VirtualHost statement in
# /etc/apache2/sites-enabled/000-default
# This is also true if you have upgraded from before 2.2.9-3 (i.e. from
# Debian etch). See /usr/share/doc/apache2.2-common/NEWS.Debian.gz and
# README.Debian.gz
 
NameVirtualHost *:80
Listen 80
# If you add NameVirtualHost *:443 here, you will also have to change
# the VirtualHost statement in /etc/apache2/sites-available/default-ssl
# to
# Server Name Indication for SSL named virtual hosts is currently not
# supported by MSIE on Windows XP.
Listen 443
NameVirtualHost *:443 #Here's where the magic happens
Listen 443

Alter vhosts

Assuming that you are using vhosts in /etc/apache2/sites-enabled , you can alter the virtual hosts to be
<VirtualHost *:443>

Restart apache and you’re good to go.

 

Meanwhile, in Galway

Filed in Meanwhile Leave a comment

Galway

Meanwhile, yo homes to…

Filed in Meanwhile Leave a comment

Bel Eire

Mounting Samsung Note II on Linux

Filed in Linux Leave a comment

I recently got a Samsung Galaxy Note II – my first brand new phone in ten years. Whilst it’s a damn big phone, and Android is new to me (although I’ve been an Android developer for a while now!), I really like it.

One thing that was bugging me is that I couldn’t mount the SD card on Ubuntu when I connected the phone to the laptop for charging.

To mount the SD card, we have to tell the USB subsystem what to do when it detects the phone.

 echo "SUBSYSTEM==\"usb\", SYSFS{idVendor}==\"04e8\", MODE=\"0666\"" >> /etc/udev/rules.d/47-Note2.rules
 chmod 755 /etc/udev/rules.d/47-Note2.rules

After you restart udev, you should be able to mount the phone as if it was any other USB device like a pendrive.

But I don’t have a Note II

Fear not, using lsusb, you can find out the idVendor string. Below is an example.

[nick@calculon ~]$ lsusb
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 003 Device 002: ID 0424:2512 Standard Microsystems Corp. USB 2.0 Hub
Bus 003 Device 003: ID 8087:07da Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 014: ID 04e8:6860 Samsung Electronics Co., Ltd GT-I9100 Phone [Galaxy S II], GT-P7500 [Galaxy Tab 10.1]
Bus 002 Device 003: ID 04f2:b34c Chicony Electronics Co., Ltd
Bus 003 Device 004: ID 045e:00db Microsoft Corp. Natural Ergonomic Keyboard 4000 V1.0
Bus 003 Device 005: ID 046d:c52b Logitech, Inc. Unifying Receiver

Alternatively you can also look here

Meanwhile, in search of Cleo

Filed in Meanwhile Leave a comment

In Search of Cleo

Ode of Welcome – Oliver St John Gogarty

Filed in Odd Crap Leave a comment

The Gallant Irish yeoman
Home from the war has come
Each victory gained o’er foeman
Why should our bards be dumb.

How shall we sing their praises
Our glory in their deeds
Renowned their worth amazes
Empire their prowess needs.

So to Old Ireland’s hearts and homes
We welcome now our own brave boys
In cot and Hall; neath lordly domes
Love’s heroes share once more our joys.

Love is the Lord of all just now
Be he the husband, lover, son,
Each dauntless soul recalls the vow
By which not fame, but love was won.

United now in fond embrace
Salute with joy each well-loved face
Yeoman: in women’s hearts you hold the place.

Prime Time Investigates… Prime Time Investigates.

Filed in Odd Crap Leave a comment

Meanwhile, in Roscompton

Filed in Meanwhile Leave a comment

Lawn and Order

TOP