Learning about “Centralized git repository”


Hi friends,
Today from morning i searched about creating centralized git repo” in goggle. Finally i got some links with example, in which i couldn’t understand some of them.

http://daniel-salazar.com/content/7/setting-up-sandboxes-that-use-a-central-git-repository

http://wiki.debian.org/Alioth/Git#Using_personal_Git_repositories

http://pthree.org/2008/11/28/setup-a-git-repository/

But when i tried workout those example, at some point of place i didn’t get the output/response
Tomo also have to study about this and i’ll create the repo.

Errors that i’ve got:
* Connection timed out
* fatal error port22 (But i can establish connection with the other system)

Advertisements

My day -1


Hi friends,

Today i makes my day as very productive. 🙂

From morning i learned something in HTML and ruby. Now i’m going to room and have to translate first 30 pages of  “Byte of python” book in tamil

Finding Character code Ruby 1.8.7 and 1.9.2


Hi friends,

In Ruby 1.8.7, we can use “?” operator to find the “character code from a character.?a evaluates to the integer 97. Now we can see some examples via “irb”

Ex: (ruby 1.8.7)

> ?a # it shows character code of "a"
=> 97

But in Ruby 1.9.2, we can’t use the “?” operator to find character code from a character.In 1.9.7 , syntax “?a”  is now the same as "a".  There is now an “ord” method of strings to convert a character into its integer code. So we can use the”.ord” method.

Ex:  (ruby 1.9.2)

> ?a    # it won't show the char code, just show as "a"
 => "a"
> "a".ord  # This method ly show char code of "a" in 1.9.7
=> 97

Source:

http://en.wikibooks.org/wiki/Ruby_Programming/ASCII

http://rosettacode.org/wiki/Character_codes

🙂 🙂 🙂

Tab Mix Plus –> Firefox Addons


Hi friends,

[From Addons Home page]

Tab Mix Plus enhances Firefox’s tab browsing capabilities. It includes such features as duplicating tabs, controlling tab focus, tab clicking options, undo closed tabs and windows, plus much more. It also includes a full-featured session manager with crash recovery that can save and restore combination of opened tabs and windows.

3 Rows tab 🙂

 

Zoom view 🙂

 

To add this Addons into ur firefox browser, Tools –> Add-ons –> Get Add-ons, here search “Tab Mix plus” . Just install that and restart firefox browser. 🙂

It will be very useful for those who use multi-tabs, like me 😛  😀

Vodaphone k3570Z data-card Problem in Ubuntu Resolved :)


Hi friends,

Yesterday i faced a problem wit vodaphone 3G connection in ubuntu. My friend having a HCl laptop and vodaphone 3G data-card. i installed ubuntu 10.04 on that new lap. When i connected the vodophone dongle into laptop. Its recognized as media folder and it contains some .exe files ly. 😦  First time i’m facing this problem. Then i searched in ubuntu forum, i got the information abt “sakis3G

The model number of the data-care is : k3570z

I spent just 10 mins wit sakis3g site. i got the solution for this problem 😛

See my previous post for the solution

Sakis3G — MAGIC script :)


Hi friends,

(From the sakis3g main site)

What Sakis3G is?

Sakis3G is a tweaked shell script which is supposed to work out-of-the-box for establishing a 3G connection with any combination of modem or operator. It automagically setups your USB or Bluetooth™ modem, and may even detect operator settings. You should try it when anything else fails!

If you are lucky enough, you may be connected 30 seconds after downloading script.

Procedure to install sakis3G:

Open your terminal and login as a root user,
$ apt-get install ppp
$ cd /usr/bin
$ wget ‘http://www.sakis3g.org/versions/latest/sakis3g.gz’
$ echo “dda70fd95fb952dbb979af88790d3f6e sakis3g.gz” | md5sum -c
$ gunzip sakis3g.gz
$ chmod a+x sakis3g

That’s all. 🙂 🙂 🙂 Now just run that “sakis3g” script using

$./sakis3g

Now you can see a graphical window. 🙂 follow that instruction/options. Now you can use your data-card 😉

About Sakis3g : wiki page

Sakis3g main site : http://www.sakis3g.org/

Sakis3g installation:  wiki page

Learning CSS


Hi friends,

Today i didn’t study Rails. i learned something in CSS 🙂 My friend Sathia taught CSS from very basic. Finally i wrote some code for my “nanbenda” project.


#header{
width: 960px;
margin: 0 auto;
overflow: hidden;
background: white;
}

ul{
overflow: hidden;
width: 450px;
margin: 5px auto;

}
li{
margin: 0 3px;
float: left;
list-style-type: none;

}
.container{
width: 960px;
margin: 0 auto;
overflow: hidden;
background: #66CCFF;
text-indent: 39px;
}

#header a{
background: #CC3399;
text-decoration: none;
padding: 3px 20px;
color: white;
}
#header a:hover{
background: black;
}

#red {
color: red;
}
.container #add_link{
font-size: 14px;
display: block;
width: 200px;
line-height: 18px;
margin-bottom: 10px;
}
p{
color: white;
}

This is my first experience with css code

🙂 🙂 🙂

simple css

Tomo i have to learn “cucumber” 😉