Monthly Archive for January, 2008

Getting on Git

I'm trying out Git. Its a distributed version control system originally written by Linus Torvalds. I also looked at SVK and Mercurial but settled with Git since it's commands made more sense to me.

I was happy with Subversion since 2004. Working alone with my notebook and client servers it has been very useful. Now the problem is I have too many workstations, servers, repositories and checkouts lying around I have to check where my latest code is before I start on any project.

I tried moving them to 2 online servers and checking out from there. But its slow and when I loose power or without an Internet connection I'm stuck.

Git might help me. When I'm done working on a project I should be able to commit locally and also sync a remote repository when I'm online. That way when I'm on another pc I can pull from a remote repository and start working.

All this is speculation at this point I will report back if it works as planned. If not I'm sticking with Subversion. :)

Being on Ubuntu Gutsy Gibbon I tried a aptitude search to see if I can install it.

aptitude search git

I thought I found it and installed the git package. I was wrong. You have to install the git-core package to get git.

sudo aptitude install git-core

And if your like and have some Subversion repositories to import you need to also install git-svn.

sudo aptitude install git-svn

Now to import a Subversion repository create a new directory for your git workspace and run something like this.

git-svnimport -v http://path.to.your/repo/

Check out this tutorial introduction to git.

12 Mobile Sites And Applications

Now that we got 3G what are we going to do with it? Video calls are cool. I've made a few but most people don't have compatible handsets yet. MMS is nice too you can send bigger pics without waiting forever. When you get bored of video calls and MMS check out some of these mobile sites and apps. Also please send in your suggestions in the comments.

  1. mobile.google.com is one good place to start for search, Gmail, calendar, news and Picasa photos.
  2. www.google.lk/m/products for Sri Lankan services
  3. gmail.com/app for Gmail app which works on most Java capable devices.
  4. m.yahoo.com all things Yahoo!
  5. get.go.yahoo.com Yahoo! Go application
  6. m.technorati.com keep up with the blogosphere
  7. m.facebook.com take your friends with you
  8. m.flickr.com photo happy
  9. mobile.reuters.com breaking news
  10. www.colombocity.mobi Colombo city guide
  11. operamini.com the full web in compressed goodness
  12. get.ebuddy.com chat application for MSN, Yahoo, GTalk and AIM

Zen Habits Content Goes Open

As predicted by Brian Suda on this article The Future of the Web: What to Expect in 2008 [Site Planning]

Open will be the hot buzzword: OpenID, OAuth, OpenSocial, and more.

Zen Habits Content Goes Open.

Lucky for me I registered openpathit.com way back when I started believing in this movement.

Technorati Tags:

OBAMA WINS IOWA

Obama

I like this guy and looks like he got a head start.

Here are some links if you are interested in following this.

Barack Obama | Change We Can Believe In | Home

Flickr: Photos from Barack Obama

Barack TV on YouTube.

LinkedIn: Barack Obama

Technorati Tags:

Improved Meta Description With WordPress

Google Webmaster tools was complaining that my content had duplicate meta descriptions. I found that it was always displaying the blog description on all the pages.

I found quite a few meta tag plugins but I settled for the Improved Meta Description Snippets plugin with a small modification.

I added this else block at line 119 In the improved-meta-description-snippets.php

 
else {
	echo '<meta name="description" content="' . get_bloginfo('description') . '" />';
}
 

That displays the default blog description on the home page. Then I removed the default meta description in the header.php in my current theme.

References:

How do I change my site's title and description?

Official Google Webmaster Central Blog: Improve snippets with a meta description makeover

Technorati Tags: , , , ,

Get Into Google Country Search With Google Webmaster Tools

Ever since we got google.lk I was wondering how to get into it. Problem is google.lk was only indexing .lk domains. Rightfully so but all my sites are either .com or .info. Crap now what? Well I had a Google Webmaster tools account for my blog's sitemap. I read somewhere that now you can get into country search with it. Here's how.

  1. Go to Google Webmaster tools
  2. Get a Google account if you don't have one.
  3. Login and add your site from the Dashboard.
  4. Verify it
  5. Now click on your site and go to Tools > Set geographic target
  6. Check Associate a geographic location with this site
  7. Select your country from the drop down and click Save

After a few days later I could search myself using the pages from Sri Lanka check box.

Google Webmaster Tools - Set geographic target

Technorati Tags: , ,

Mobitel 3G Access Point Settings for Nokia N80

First of all this info should be on mobitel.lk. I had to wait almost a week before I could get on-line with my new Mobitel connection. I tried calling customer support a few time with no luck. Finally I went to head office today and someone helped me out. Here are the settings.

To get to access points go to Menu > Tools > Settings > Connection > Access points (could be shorter)

Connection name: MobitelWAP

Data bearer: Packet data

Access point name: java

User name: None

Prompt password: No

Password :

Authentication: Normal

Homepage: http://wap.mobitel.lk

Now go to Options > Advance settings

Network type: IP4

Phone IP address: Automatic

DNS address: Automatic

Proxy serv. address: 192.168.050.163

Proxy port number: 8080

Technorati Tags:

hi5 Be Gone

Cleaning out last years clutter I came across my hi5 account and it seems most people have left to Facebook or something. So I cancelled my account. 1 less password to store. Anyone still on hi5 and loving it?

Technorati Tags: , ,