Sunday, January 3rd, 2010
This is the install I like to use for an Ubuntu Server, usually run headless, with a *very* basic desktop and some other bits and bobs I like.
First of all install the basic Ubuntu Server edition
Then run the following script……….
#!/bin/bash
sudo apt-get -y install gnome-core gdm network-manager-gnome
human-theme x11-xserver-utils tangerine-icon-theme
gnome-themes-ubuntu ubuntu-artwork jockey-gtk
gnome-screensaver gnome-utils
# Extras.....
sudo apt-get install -y tsclient system-config-samba
gnome-disk-utility
Tags: linux, ubuntu
Posted in Development | No Comments »
Saturday, January 2nd, 2010
Installation
First of all you’ll need to see if you’ve got Subversion installed. Check this article on how to query installed packages or just try executing:
% svn help
If you haven’t got Subversion installed then:
% apt-get install subversion
Users and Groups
% addgroup subversion
% usermod -a -G subversion yourUser
Create Repository
% svnadmin create /path/to/repository
Configure Repository
% chgrp -R subversion /path/to/repository
% chmod -R g+rws /path/to/repository
% vi /path/to/repository/conf/svnserve.conf
Edit/uncomment the following lines:
anon-access = none
auth-access = write
password-db = passwd
% vi /path/to/repository/conf/passwd
Add the following line:
yourUser = yourSecretPassword
Start Subversion Server as Daemon
svnserve -d
Troubleshooting
You will need sudo or root access (unless you want to see a lot of permission denied errors!)
If you see this error (when using Windows SVN client):
Can’t move
‘..\..\.svn\entries’ to ‘..\..\.svn\entries’:
The file or directory is corrupted and unreadable.
Then try excluding the local directory from the Windows Indexer.
Tags: linux, ubuntu
Posted in Development, How to's | No Comments »
Saturday, January 2nd, 2010
To show the complete list:
dpkg --get-selections
To filter the list
dpkg --get-selections | grep XXX
Tags: linux, ubuntu
Posted in Development, quick tips | No Comments »
Sunday, December 27th, 2009
I’ve been using a lot of JQuery over the last few months and have to admit to being very impressed with the core library and the vast array of third party addons for it out there.
On thing I have noticed however, and this a personal fault, is that I seem to be ending up with some very large Javascript files: files which contain so much diverse functionality that were you coding in Java or PHP or (insert your flavour of the month language here) you would NEVER store in the same file.
Read More »
Tags: javascript, object oriented
Posted in Development | No Comments »
Thursday, December 24th, 2009
This post is an aide-mémoire and hopefully helps anyone who has the same issue I had; namely that Eclipse PDT or Eclipse Webtools Project running on Linux (in this case Ubuntu) was not making all installed perspectives available.
Read More »
Tags: eclipse, linux
Posted in Development, quick tips | No Comments »
Thursday, December 24th, 2009
1. Right click map and “center on location”.
2. Execute this JS in browser address bar:
javascript:void(prompt('',gApplication.getMap().getCenter()));
Tags: google, javascript
Posted in quick tips | No Comments »