An easy way to add some of the menu items familiar to Photoshop users, such as: Layer Styles such as Drop-shadow, Inner Glow, Outer Glow etc Save for Web Smart Sharpen Batch Processing Contact Sheet Much more… Install using Synaptic Package Manager search for gimp-plugin-registry or from the command line: sudo apt-get install gimp-plugin-registry Some… Read more »
Posts By: jonny
ZSNES on Ubuntu Karmic 64-bit
As per this post on the Ubuntu forums: Download the 32-bit deb installer Install with: sudo dpkg -i –force-architecture zsnes_1.510-2.2ubuntu2_i386.deb Run with: zsnes -ad sdl
Website Statistics with Visitors
As a useful addition to the webstats armory Visitors offers a quick way of getting a HTML report of site usage from server logs. We mainly use AWstats, Webalizer and Analytics products (Google Analytics, Piwik) but I found Visitors useful today. Install from Synaptic or with: sudo apt-get install visitors Then run it against your… Read more »
Apache Server Status OPTIONS *
Checking the Apache server-status page I noticed multiple lines like the following: 29-39 – 0/0/3162 . 32.26 8949 0 0.0 0.00 186.48 123.111.123.111 mywebsite.co.uk OPTIONS * HTTP/1.0 30-39 – 0/0/10 . 0.00 24324 0 0.0 0.00 0.04 123.111.123.111 mywebsite.co.uk OPTIONS * HTTP/1.0 The access_log for that website also showed: 123.111.123.111 – – [18/Nov/2009:09:28:44 +0000] “OPTIONS… Read more »
Ubuntu 9.10 Restricted Media Formats
For restricted media formats install from the Medibuntu repository, details here.
mysqldump
Basic Usage: mysqldump -u root -pSECRET –quote-names –databases mydatabasename > mydatabasename.sql If find it best to include the –databases switch as this will add the ‘DROP DATABASE’ and ‘CREATE DATABASE’ statements when restoring – proceed carefully.Quote Names:Quoting the file names can be an insurance against users who may have created field names with spaces in… Read more »
Redirecting Mobile Web Users
There are a few potential methods for this, but the first worked fine for me.1. Apache Mod_Rewrite RewriteEngine On#redirect mobile browser using HTTP_ACCEPT headerRewriteCond %{HTTP_ACCEPT} “text/vnd.wap.wml|application/vnd.wap.xhtml+xml” [NC]RewriteCond %{HTTP_HOST} “!m.yourmobileurl.com” [NC]RewriteRule (.*) http://m.yourmobileurl.com/$1 [L]#some high-end phone sometimes support HTML, only its sucks#add more browser user agent sig hereRewriteCond %{HTTP_USER_AGENT} (nokia|symbian|iphone|blackberry) [NC] RewriteCond %{HTTP_HOST} “!m.yourmobileurl.com” [NC]RewriteRule (.*)… Read more »
Anonymous Firefox and Vuze (Azureus) on Ubuntu
Great instructions for anonymising torrents on Ubuntu here.
Opera Mini on Ubuntu
I’m using Ubuntu 9.04 and I wanted to be able to run Opera Mini for testing web sites: Download MicroEmulator from here (or direct version 2.0.3) Extract the tar file and run the jar with: java -jar microemulator.jar In the Window that opens from the menubar choose Options > Select Device > Add Browse to… Read more »
Apache DirectoryMatch for Intranet-Style Access
I needed to ensure that within a rather large directory structure any directory named ‘intranet’ was only accessible by internal IP addresses. Although from a security perspective this is not truly intranet it is what I was asked to do./var/www/vhosts/mydomain/httpdocs/ represents the DocumentRoot for the virtual host. This will protect /any/path/with/intranet/in/the/name – so intranet is… Read more »