Tuesday, March 22, 2011

Setting up a remote repository and doing an initial push

Followed and copied from:

http://thelucid.com/2008/12/02/git-setting-up-a-remote-repository-and-doing-an-initial-push/

There is loads of documentation and posts on Git out there so this is more of a note to self as I keep forgetting the steps to setting up a remote repository and doing an initial ‘push’.

So, firstly setup the remote repository:

ssh git@example.com
mkdir my_project.git
cd my_project.git
git init --bare
git-update-server-info # If planning to serve via HTTP exit

On local machine:

cd my_project
git init
git add *
git commit -m "My initial commit message"
git remote add origin git@example.com:my_project.git
git push origin master

Done!

Team members can now clone and track the remote repository using the following:

git clone git@example.com:my_project.git

Thursday, October 21, 2010

default gcc

http://ubuntuforums.org/showthread.php?t=29449

irst, let us go to the right directory

> cd /usr/bin

Let us check the default gcc version

> gcc --v

It should say 3.3.5

Now let us delete the old symbolic links

> sudo rm cpp gcc g++

Now let us change the symbolic links to 3.4

> sudo ln -s g++-3.4 g++
> sudo ln -s gcc-3.4 gcc
> sudo ln -s cpp-3.4 cpp

Wednesday, October 20, 2010

Yast auto-exiting

See:

http://forums.opensuse.org/english/get-help-here/applications/416230-yast-software-manager-auto-exit.html



There's an even more beautiful feature, though I don't know if it's already in 11.1:
In Yast go to System - /etc/sysconfig editor
Search for "PKGMGR", if PKGMGR_ACTION_ON_EXIT is found you can change it's value to "summary" (without the quotes). The software installer will not only give you a "Back" and a "Finish" button, it will also give you a summary of your latest actions.

Friday, October 8, 2010

Problems with DNS

I had a terrible problems with setting a DNS on OpenSuse. Eventually I solve the problem.

I tried to modify /etc/resolve.conf (doesn't matter)

Eventually, what worked:
yast -> network settings

Tab: global options: seletected: user controlled with networkedmanager
checked enabled ipv6
tab: hostname/DNS was the key
hostname: sartorius
domain name: site

the key think was that I checked assigned hostname to loopback Ip

and then it worked. I wasted almost 2 hours to figure it out. I knew that other protocols worked e.g. Skype. I could ping ip, I could not ping names.
But that was a nightmare

Thursday, October 7, 2010

The era of OpenSuse 11.3

  1. Problems with wireless, eventually overcome but actually I do not know how.
  2. The legacy grub is installed originally.

Friday, May 7, 2010

bluetooth

kbluetooth doesn't work with my nokia 3555b. The error message from kbluetooth was: 'Sorry your Bluetooth Device does not support input service.'
I removed it and installed gnome-bluetooth. It worked like a charm.

If your shutdown/logout window in KDE4 is invisible ...

Try to change fonts: System Settings -> Appearance -> Fonts
and then ADjust all fonts, check fonts, select Dejavu Sans.
And it should fix the problem,