Piku’s Blog

May 1, 2008

Braid 0.4

Filed under: Git, News, Ruby on Rails, Uncategorized — Tags: , , , , , , — Mihai @ 2:10 pm

Braid 0.4 has been released, Braid is a simple tool to help track git and svn vendor branches in a git repository. I had a previous coverage of Braid 0.3.

The new features include squashed mode, in which you have only one commit when adding a mirror instead of having all the history and a team mode. It also requires Git version 1.5.4.5 or higher (see my post on updating git). If you hit any bug please report them.

The wiki has usage and examples. You can install it with rubygems (don’t forget to upgrade to RubyGems 1.1.1):

gem sources -a http://gems.github.com/
gem install evilchelu-braid

Or you can get it from the Git repository.

If you used my previous Braid tutorial here’s how to upgrade Rspec to the git repository and get the latest version. If you do not have rspec svn setup you can skip this part.

braid remove vendor/plugins/rspec
braid remove vendor/plugins/rspec_on_rails
git merge braid/track

I think I hit a bug and had to delete the folders manually:

 rm -rf vendor/plugins/rspec vendor/plugins/rspec_on_rails

Now to install the git repositories:

braid add -p -t git git://github.com/dchelimsky/rspec.git
braid add -p -t git git://github.com/dchelimsky/rspec-rails.git
git merge braid/track

April 6, 2008

Nokia 6120 Internet via Bluetooth and 3G/GPRS

Filed under: Uncategorized — Tags: , , , , , — Mihai @ 9:21 pm

I have a Nokia 6120 Classic, with Symbian S60, that I love. I usually check my mail on it and browse using Opera Mini 4.

Last week I have been away and used it to connect to the internet on my laptop. When I connect it with the miniUSB cable it is seen on linux as /dev/ttyACM0. On bluetooth I connect to it using rfconnect:

sudo rfcomm bind rfcomm0 <your phone bluetooth ID> <your phone channel, mine is 4>.

To see the bluetooth ID use hcitool scan. Using sdptool browse <bluetooth ID> you can find the channel, search for Dial-Up networking service. To connect I use pppd.

Here is my /etc/ppp/peers/vodafone file that connects to Vodafone: (more…)

December 19, 2006

Windows Vista experience

Filed under: Uncategorized — Mihai @ 10:45 am

Yesterday I decided to install Vista on my laptop, since on the sticker wrote “Windows Vista Capable”. My laptop is a Fujitsu-Siemens so went on their site to see that there are no drivers for Vista and that in late January they will launch a Vista Upgrade DVD. I decided to continue. I installed Vista Upgrade Advisor and it said that some applications and drivers are not supported. I uninstalled uncompatible applications and upgraded my Windows XP installation.
Windows Vista desktop Vista works well, looks nice but in my oppinion the changes (especially in Control Panel) are too big and too hard to learn them. The first thing was connecting to internet, it took me 10 minutes to set up the and DNS while in XP it took just 4 clicks. I don’t know how much I will resist and if I will get used to the new settings or switch back to Windows XP.

I also use Office 2007 for some time (on my XP desktop) and it works great and for me, the new interface is easy and intuitive and I got used to it really fast.

December 6, 2006

Game: Tower Defence

Filed under: Uncategorized — Mihai @ 10:32 am

In the last days a game really captured all my attention. It’s called Tower Defence. You can play it on this page or fullscreen. I reached level 65 and died.

This game is based on the popular Warcaft 3 “Element Tower Defence” and the Starcraft “Turret Defence” gameplay. The object of the game is to prevent the hordes (waves) of monsters from getting to the castle by building elemnt towers near the path.

Via Digg

Blog at WordPress.com.