Categories
Archlinux galago ultra pro Hardware Linux system76

System76 – Galago UltraPro | First impressions

Today finally, my new Ultrabook by System76 arrived. I say finally because for one i was stuck with a Macbook and because the delivery was delayed due to a late shipment from Intel. (They were waiting for the CPU’s)

First thing one notices when unpacking the laptop is that the packaging is held really simple. I like that a lot. It was easy to open and i have no glossy packages that can’t be recycled properly.  When you open the laptop you will be greeted with a little note pointing you to the Ubuntu forums and the System76 support and some stickers.

Unboxing of the Galago

The Galago comes, like all System76 conputers, with Ubuntu 13.04. Now, i noticed some graphics issues in the default install. Basicly the X server would take up to 98% CPU and i would see flickering on the screen when playing HTML5 video. This however vanished completely when i did a dist upgrade to 13.10 and installed the System76 drivers. My guess is, that this is due to the new Haswell CPU running better with the 3.11 Kernel.

When hooking up the Galago to my 21″ Samsung screen also running 1080p, i could really see how good the IPS display on the Galago is.

Galago vs Samsung 21"
Galago vs Samsung 21″

Now i haven’t been able to test the graphics performance of the Galago yet and also didn’t test the battery life yet. My next step with this laptop will be to install Arch Linux and probably Steam to test the graphics performance a bit.

As far as the hardware goes i am really impressed by the screen and the overall build quality.

I must say i am also impressed with System76. The support is  very responsive, competent and engaging. One really notices how they take pride in a great product.

I will try and write one more post once i have installed Arch Linux on the Galago and update you on the experience.

Categories
.htaccess Code

Todays .htaccess tip – How to use the www. subdomain

There is a good  reason to use www.domain.tld as your primary site, Cookie less subdomains for static content.

Today i will show you a rewrite that will redirect you to www.domain.tld if no subdomain is used:

 

RewriteEngine On
RewriteCond %{HTTP_HOST} !^(.+\.)([a-zA-Z0-9-]+\.([a-z]{2,4})|co\.uk|me\.uk|org\.uk|priv\.no)$
RewriteCond %{HTTP_HOST} ([a-zA-Z0-9-]+\.([a-z]{2,4})|co\.uk|me\.uk|org\.uk|priv\.no)$
RewriteRule ^(.*)$ http://www.%1/ [L,QSA,R=301]

So let me explain to you what this rewrite does:

First thing we do is turn on the rewrite engine.
The following line could be translated to: “if the domain does not have a subdomain”

RewriteCond %{HTTP_HOST} !^(.+\.)([a-zA-Z0-9-]+\.([a-z]{2,4})|co\.uk|me\.uk|org\.uk|priv\.no)$

 
This line saves the domain to the variable %1:

RewriteCond %{HTTP_HOST} ([a-zA-Z0-9-]+\.([a-z]{2,4})|co\.uk|me\.uk|org\.uk|priv\.no)$

 

And last but not least we do the write to www.domain.tld and include the querystring so that we don’t break old links.
The redirect is ofc a permanent redirect, so make sure to clear your browser cache if you make any changes to the rewrite.

RewriteRule ^(.*)$ http://www.%1/ [L,QSA,R=301]