Uncategorized – Mr Kirkland http://mrkirkland.com (mainly) Tokyo based developer and founder Mon, 18 Jan 2016 14:58:41 +0000 en-US hourly 1 https://wordpress.org/?v=4.4.2 moving/migrating svn repositories http://mrkirkland.com/movingmigrating-svn-repositories/ http://mrkirkland.com/movingmigrating-svn-repositories/#comments Tue, 02 Nov 2010 15:12:08 +0000 http://www.mrkirkland.com/?p=165 For those of you still on SVN (and so I don’t forget) here’s a few SVN tips for when moving repositories Updating your local copy If your repository is moved If the repo moves, to a new server or changes protocal (ssh -> https) etc. Then there’s a simple command for seamlessly updating your local […]

The post moving/migrating svn repositories appeared first on Mr Kirkland.

]]>
For those of you still on SVN (and so I don’t forget) here’s a few SVN tips for when moving repositories

Updating your local copy If your repository is moved

If the repo moves, to a new server or changes protocal (ssh -> https) etc. Then there’s a simple command for seamlessly updating your local checked out copy

svn switch --relocate

To figure out what should be look in the .svn/entries file in the top dir of your local copy.
You’ll see something like (for svn+ssh)

svn+ssh://username@svnserver.com/var/lib/svn/project_name/trunk
svn+ssh://username@svnserver.com/var/lib/svn/project_name

so if you are moving to new-svnserver.com then you’d use:

svn switch --relocate svn+ssh://username@svnserver.com/var/lib/svn/project_name/trunk svn+ssh://username@new-svnserver.com/var/lib/svn/project_name/trunk

or perhaps you’re moving to a hostedservice.com and accessing over https:

svn switch --relocate svn+ssh://username@svnserver.com/var/lib/svn/project_name/trunk https://hostedservice.com/myaccount/project_name/trunk

If you happen to have a number of projects in the same dir all needing the same migration, here’s a quick shell script to loop through them all:

#some config
DATA_PATH=/path/to/projects
OLD_SERVER=svn+ssh://username@oldeserver/var/lib/svn/
NEW_SERVER=https://hostedrepo.com/accoutname/

cd $DATA_PATH
for i in *
do
if [ -f $DATA_PATH/$i/.svn/entries ] then cd $DATA_PATH/$i && line=$(grep -m1 $OLD_SERVER .svn/entries);
new_line=$(echo "$line" | sed "s|$OLD_SERVER|$NEW_SERVER|g")
svn switch --relocate $line $new_line;
fi
cd $DATA_PATH
done

Migrating a repository to a new server

It’s pretty simple to migrate repositories with the command

svn dump

1. On the old server, dump all the individual projects in /var/lib/svn (or wherever your repository is located)

cd /var/lib/svn
for i in *;do echo $i; svnadmin dump $i > /path/to/dump/$i.dump;done
scp /path/to/dump/*.dump newserver:/tmp/

2. assuming you have already installed svn on the new server with a svn user account (assumed to be svn below), load the dumped data:

#load the dumps we just copied accross
cd /tmp/
for i in *.dump;do REPO=$(echo $i | sed s/.dump//g); svnadmin create /var/lib/svn/$REPO; svnadmin load /var/lib/svn/$REPO < $i;done

#now set permissions
cd /var/lib/svn/
for i in *;do echo $i; chown -R svn:svn $i; chmod -R g+w $i/db;done

3. The you’ll probably want to follow the tip above about updating clients with the new server url

references

https://wiki.archlinux.org/index.php/Subversion_backup_and_restore
http://svnbook.red-bean.com/en/1.1/ch05s03.html#svn-ch-5-sect-3.5

The post moving/migrating svn repositories appeared first on Mr Kirkland.

]]>
http://mrkirkland.com/movingmigrating-svn-repositories/feed/ 1
Tate Modern, Brick Lane and negative utilitarians http://mrkirkland.com/tate-modern-brick-lane-and-negative-utilitarians/ http://mrkirkland.com/tate-modern-brick-lane-and-negative-utilitarians/#respond Tue, 28 Apr 2009 11:44:13 +0000 http://www.mrkirkland.com/?p=103 Just at the end of my trip to the UK, highlights include: A visit to the Tate Modern A stroll down Brick Lane with master painter Darvish Fahkr And lunch with ‘Philospoher’ David Pearce

The post Tate Modern, Brick Lane and negative utilitarians appeared first on Mr Kirkland.

]]>
Just at the end of my trip to the UK, highlights include:

  1. A visit to the Tate Modern

  2. A stroll down Brick Lane with master painter Darvish Fahkr

  3. And lunch with ‘Philospoher’ David Pearce

The post Tate Modern, Brick Lane and negative utilitarians appeared first on Mr Kirkland.

]]>
http://mrkirkland.com/tate-modern-brick-lane-and-negative-utilitarians/feed/ 0
In The Wall Street Journal http://mrkirkland.com/in-the-wall-street-journal/ http://mrkirkland.com/in-the-wall-street-journal/#respond Fri, 22 Aug 2008 13:24:24 +0000 http://www.mrkirkland.com/?p=79 Following on from being recognised several times in the street after my headstand presentation at pechakucha night in superdeluxe, I’ve just been informed that I’m now pictured in the Wall Street Journal. Splendid!

The post In The Wall Street Journal appeared first on Mr Kirkland.

]]>
Following on from being recognised several times in the street after my headstand presentation at pechakucha night in superdeluxe, I’ve just been informed that I’m now pictured in the Wall Street Journal.

Splendid!

The post In The Wall Street Journal appeared first on Mr Kirkland.

]]>
http://mrkirkland.com/in-the-wall-street-journal/feed/ 0
setting up terminal and vim for japanese on osx http://mrkirkland.com/vim-japanese-os-x/ http://mrkirkland.com/vim-japanese-os-x/#comments Thu, 06 Dec 2007 01:34:59 +0000 http://www.mrkirkland.com/vim-japanese-os-x/ I’d hazzard a guess that there aren’t a great deal of non-japanese vi users on osx who need to work in japanese, but at the very least this will serve as a reminder for myself later on! First up, the most useful resource I found was the following page http://osksn2.hep.sci.osaka-u.ac.jp/~taku/osx/vimjp.html (thanks to Taku Yamanaka!) If […]

The post setting up terminal and vim for japanese on osx appeared first on Mr Kirkland.

]]>
I’d hazzard a guess that there aren’t a great deal of non-japanese vi users on osx who need to work in japanese, but at the very least this will serve as a reminder for myself later on!

First up, the most useful resource I found was the following page http://osksn2.hep.sci.osaka-u.ac.jp/~taku/osx/vimjp.html (thanks to Taku Yamanaka!)

If you can read Japanese, then follow his instructions otherwise, the key steps are:

Setting up VIM

edit. you ~/.vimrc file and add:

:set enc=utf-8
:set fenc=utf-8
:set fencs=iso-2022-jp,euc-jp,cp932

Edit your terminal settings

  • File -> Show Info (ファイル>情報を見る)
  • Go to Emulation (エミュレーション)
  • uncheck Escape non-Ascii characters (非Ascii文字をエスケープする)
  • Go To Display (ディスプレイ)
  • Check Wide glyphs count as 2 columns (ワイドグリフは2桁とカウントする) and Wide glyphs for Japanes/Chinese/etc.(日本語や中国語などにワイドグリフを使用する)
  • You’ll probably want to make the settings default (設定をデフォルトとして使用)

Bash

For good measure you might want to tweak bash. Edit ~/.profile and add:

export LC_CTYPE=en_US.UTF-8

Edit ~/.inputrc and add:

set input-meta on
set output-meta on
set convert-meta off
set meta-flag on
set output-meta on

You’ll need to reload bash for these changes to take affect – close and reopen terminal.

The post setting up terminal and vim for japanese on osx appeared first on Mr Kirkland.

]]>
http://mrkirkland.com/vim-japanese-os-x/feed/ 2
Facebook Developement http://mrkirkland.com/facebook-developement/ http://mrkirkland.com/facebook-developement/#respond Wed, 11 Jul 2007 02:02:30 +0000 http://www.mrkirkland.com/facebook-developement/ Facebook have opened up their 24 million strong network to 3rd parties with a sturdy development platform which allows one to put applications inside facebook that users can install and interact with. On top of this facebook are giving complete freedom to developers to monetise this opportunity! If you have a new idea or an […]

The post Facebook Developement appeared first on Mr Kirkland.

]]>
Facebook have opened up their 24 million strong network to 3rd parties with a sturdy development platform which allows one to put applications inside facebook that users can install and interact with. On top of this facebook are giving complete freedom to developers to monetise this opportunity!

If you have a new idea or an existing website that you would like to turn into a facebook application then we can facilitate it’s development. We have extensive experience of the facebook API and what it can do for your application more over we have already deployed an application for the successful sentence game website inside facebook; you can see the application here (facebook registration required)

The Next Step

Please fill out our enquiry form with brief details of your project and budget allocated.

Useful links

The post Facebook Developement appeared first on Mr Kirkland.

]]>
http://mrkirkland.com/facebook-developement/feed/ 0
PHPAccounts Minimum Requirements http://mrkirkland.com/phpaccounts-minimum-requirements/ http://mrkirkland.com/phpaccounts-minimum-requirements/#respond Tue, 12 Jun 2007 05:03:45 +0000 http://www.mrkirkland.com/services/web-based-databases-and-applications/phpaccounts-minimum-requirements/ PHPAccounts has so far been tested on MySQL and Apache though other configurations may be possible – please report your successes and failures! Required PHP 4.3 or greater MySQL 4 or greater Apache 1.3 or greater Recommended ImageMagick is required for processing of images Ability to run a crontab is required for repeat invoicing and […]

The post PHPAccounts Minimum Requirements appeared first on Mr Kirkland.

]]>
PHPAccounts has so far been tested on MySQL and Apache though other configurations may be possible – please report your successes and failures!

Required

  • PHP 4.3 or greater
  • MySQL 4 or greater
  • Apache 1.3 or greater

Recommended

  • ImageMagick is required for processing of images
  • Ability to run a crontab is required for repeat invoicing and reminders

The post PHPAccounts Minimum Requirements appeared first on Mr Kirkland.

]]>
http://mrkirkland.com/phpaccounts-minimum-requirements/feed/ 0
Download PHPAccounts http://mrkirkland.com/download-phpaccounts/ http://mrkirkland.com/download-phpaccounts/#respond Tue, 12 Jun 2007 04:45:12 +0000 http://www.mrkirkland.com/projects/web-based-accounts-software/download-phpaccounts/ This project now has a site of it’s own. Please Go to phpaccounts.com and download the open source package there.

The post Download PHPAccounts appeared first on Mr Kirkland.

]]>
This project now has a site of it’s own. Please Go to phpaccounts.com and download the open source package there.

The post Download PHPAccounts appeared first on Mr Kirkland.

]]>
http://mrkirkland.com/download-phpaccounts/feed/ 0
HBM http://mrkirkland.com/hbm/ http://mrkirkland.com/hbm/#respond Thu, 07 Jun 2007 05:21:07 +0000 http://www.mrkirkland.com/projects/hbm/ HBM is Happy British Man A delightful series of inverted portrature www.hbm.jp

The post HBM appeared first on Mr Kirkland.

]]>
HBM is Happy British Man

A delightful series of inverted portrature

www.hbm.jp

The post HBM appeared first on Mr Kirkland.

]]>
http://mrkirkland.com/hbm/feed/ 0
Web Based Databases And Applications http://mrkirkland.com/web-based-databases-and-applications/ http://mrkirkland.com/web-based-databases-and-applications/#respond Thu, 07 Jun 2007 01:00:27 +0000 http://test.mrkirkland.com/services/web-based-databases-and-applications/ Web Based Databases And Applications Running a business on the Internet can often mean running the business FROM the Internet. A great number of business already make use of the Internet’s potential, sales: booking flights, selling goods, selling software services: on line banking, data analysis publishing. Behind the scenes, the integral part of this process […]

The post Web Based Databases And Applications appeared first on Mr Kirkland.

]]>
Web Based Databases And Applications

Running a business on the Internet can often mean running the business FROM the Internet. A great number of business already make use of the Internet’s potential, sales: booking flights, selling goods, selling software services: on line banking, data analysis publishing.

Behind the scenes, the integral part of this process is storing the information in a database and creating an “application” to use this database. Mr Kirkland special izes in web application and database design and has many clients whose businesses are running of applications crafted to their needs.

Whether you have an existing system that needs improving or you have yet to realize the potential of your business on line, Mr Kirkland would love to hear from you.

The post Web Based Databases And Applications appeared first on Mr Kirkland.

]]>
http://mrkirkland.com/web-based-databases-and-applications/feed/ 0
Links http://mrkirkland.com/links/ http://mrkirkland.com/links/#respond Wed, 06 Jun 2007 19:26:49 +0000 http://test.mrkirkland.com/links/ Useful links W3C – Web Standards Organisation UK Government DDA act DDA information and resources Knightsbridge Online Web Hosting www.sentence-game.com Photograper The Most Esteemed Tomas Schelp Artists Maggi Kirkland Botanical Watercolours Meridith Namsoo Janet Aldis Fiona Bell Alice Gleadow Musicians Fionnuala Hunt Charliyville Ben Solomon Friends Sharon’s Lewis – Song Writer Nizlopi Healthy Concerts Elite […]

The post Links appeared first on Mr Kirkland.

]]>

Useful links

Photograper

Artists

Musicians

Friends

Japanese Domains

Other Links

The post Links appeared first on Mr Kirkland.

]]>
http://mrkirkland.com/links/feed/ 0