Skip to Content

blog post

Reign of Assassins

『我願化身石橋
I would turn into a stone bridge

受五百年風吹
endure 500 years of wind

五百年日曬
500 years of sunlight

五百年雨打
500 years of rain』

但求此少女從橋上走過
Only asked that the girl would walk over the bridge.

blog post

2 MSP430s and Lightroom Test

Been using Aperture 3.4.3 for a while now but I think I now prefer Lightroom 4.3

DSCF4123

blog post

Fujifilm X100 – Black Limited Edition

DSCF4089

DSCF4088

blog post

Installing ViewVC (Debian 6)

This follows on from previous tutorial to install SVN in Debian: https://www.tchan4.com/main/2013/01/19/subversion-svn-on-debian-6-32-bit-for-dummies-tutorial/

Download and install ViewVC

sudo apt-get install viewvc

Edit the SVN configuration file (if you don’t know how to use vim, you can download this file and edit it using a text editor)

sudo vim /etc/apache2/mods-enabled/dav_svn.conf

Add this line to the end of the dav_svn.conf file

ScriptAlias /viewvc /usr/lib/cgi-bin/viewvc.cgi

Now edit the viewvc.conf file

sudo vim /etc/viewvc/viewvc.conf

Look for root_parents and uncomment this (remove # symbol), change the line to:

root_parents = /var/www : svn

Restart apache server

sudo /etc/init.d/apache2 restart

You can now access viewvc at: http://example.com/viewvc/

blog post

iPhone 5 – Shallow Depth of View

DSCF4051

blog post

Subversion (SVN) on Debian 6 32-bit for Dummies Tutorial

This tutorial has been only tested on Debian 6 32-bit, it should work on other operating systems. The tutorial assumes you are familiar with entering basic linux commands. You will need root access!

This tutorial was adapted from: http://www.ultimatewebtips.com/how-to-configure-subversion-svn-with-apache/

I will install the SVN repository at this location on my website: http://svn.example.com

Update Aptitude

sudo apt-get update

Install subversion if you haven’t already:

sudo apt-get install subversion

Install apache (this is your web server) if you haven’t already:

sudo apt-get install apache2

Install svn libraries for apache:

sudo apt-get install subversion libapache2-svn

I will now create the repository at this location /var/www/svn
This location can be reached on your internet browser at http://example.com/svn/

mkdir /var/www/svn

Use svnadmin to create the repo at /var/www/svn

svnadmin create /var/www/svn

Verify this location with the following command, you should see: * Verified revision 0
svnadmin verify /var/www/svn

Now the hierarchy of the repo is create (i.e. branches/tags/trunk)
We will first go to your tmp (temporary) folder and create the structure there under a directory called svn

cd /tmp
mkdir svn
cd svn
mkdir branches
mkdir tags
mkdir trunk

The svn folder containing branches/tags/trunk is now imported to your svn repo created earlier at /vaw/www/svn
The ‘first import’ part is the comment for this revision.

svn import /tmp/svn file:///var/www/svn -m "first import"

Now we will password protect this directory so your svn repo is not public to the world. Replace username and password correspondingly.

htpasswd -cb /var/www/svn/htpasswd username password

This steps adds the subdomain http://svn.example.com to point to http://example.com/svn/
You will need to know how to use vim in this step or you could use a ssh browser and download and edit this file…

cd /etc/apache2/
vim httpd.conf

Your httpd.conf file should look like this (remember to change svn.example.com):

<table>
<tbody>
<tr>
<td>
<pre>LoadModule dav_svn_module modules/mod_dav_svn.so
LoadModule authz_svn_module modules/mod_authz_svn.so
&lt;VirtualHost *:80&gt;
ServerName example.com
DocumentRoot /var/www/
&lt;/VirtualHost&gt;</pre>
<pre>&lt;VirtualHost *:80&gt;
        ServerName svn.example.com
        DocumentRoot /var/www/svn
        &lt;Directory /var/www/svn&gt;
                AllowOverride All
                Options MultiViews -Indexes Includes FollowSymlinks
                &lt;IfModule mod_access.c&gt;
                        Order allow,deny
                        Allow from all
                &lt;/IfModule&gt;
        &lt;/Directory&gt;

        # WebDAV access
        &lt;Location /&gt;
                DAV svn
                SVNPath /var/www/svn
                AuthType Basic
                AuthName "Your message for this realm"
                AuthUserFile /var/www/svn/htpasswd
                Require valid-user

                # authentication
                &lt;LimitExcept GET PROPFIND OPTIONS REPORT&gt;
                        Require valid-user
                &lt;/LimitExcept&gt;
        &lt;/Location&gt;
&lt;/VirtualHost&gt;</pre>
</td>
</tr>
</tbody>
</table>
Now we will restart your apache server for settings to take effect:
/etc/init.d/apache2 restart

If you followed all these steps then hopefully your svn repo should be setup. Test this by visiting svn.example.com
You should see revision 1!

To add additional users to access your repo:

htpasswd /var/www/svn/htpasswd username
blog post

Fujifilm X100 – Sample JPGs and RAWs

JPG to JPG (Adobe Profile)
DSCF0060_jpg_adobe

JPG to JPG (sRGB Profile)
DSCF0060_jpg_srgb

RAW to JPG (Adobe Profile)
DSCF0060_raw_adobe

RAW to JPG (sRGB Profile)
DSCF0060_raw_srgb

I think I prefer the last picture.

blog post

IEEE Referencing (XML)

C:\Program Files\Microsoft Office\Office 12\Bibliography\Style
IEEE_Reference (download)

http://mikemurko.com/general/ieee-referencing-for-word-2007-2010/