August 15

The version control system git is gaining in popularity, so that even Google has now decided to git google code svn and in addition to supporting mercurial. But unfortunately it is not just pressing a button in the admin section of Google Code.

Before the changeover should be secure his project in a separate directory.

After you have switched from svn to git, you should first perform a reset of the repository with the following options:

HTTPS is the only protocol that Google supports for git. For authentication you should generate a password and account details (on Linux or Mac OS) in a .netrc file saved in the home directory.

Now you can clone the git repository from Google Code into a new directory. Then copy the old data into the new project directory, and add to local Git Commit (commit).

  clone https: // code.google.com / p /< projectname >/ < projectname > > Git clone https:// code.google.com / p / <project name> / <project name>
  < projektname > > Cd <project name>
  -R < pathToOldProject >/* . > Cp-R <pathToOldProject> / *.
  add . > Git add.
  commit -m "inital import" > Git commit-m "import inital" 

What's missing is the first upload to Google Code.

  push origin master > Git push origin master 

On subsequent uploads is an indication of the branches are no longer necessary.

  push > Git push 

Links:
Tutorial - Getting Started with Git

gklinkmann written by \ \ tags: , , , ,

April 26

The versioning tool Git has long been on my list of things I want to look at me once. Right now I still use subversion . But while you can save with subversion changes only in a central repository that provides decentralized Git repositories that can be merged on demand from a central repository.

But before the first use is to install. Certainly, one can also translate Git from source, but both Linux [1] and for the Mac [2] are there any packages. The first steps in these two German tutorials [3] [4] explained. Is a detailed tutorial is German from Stanford University [5] .

Scenario


My scenario is as follows:

  • a central repository on my Mac mini (which I used as a server)
  • a distributed repository on my Mac mini (if I'm sitting times before)
  • a distributed repository on my Ubuntu laptop (with you)

It starts with the project that you want versioned with Git. The terminal is the developer's favorite friend and why the full functionality of Git is addressed only to them (is an Eclipse integration, it also [6] ). But one step at a time.

Step 1: versioning of existing project with Git


First you have to git his name and an email address be known. Git uses this information later in the release comments.

  config --global user.name "Gero Klinkmann" > Git config - global user.name "Gero Klinkmann"
 config --global user.email me @ example.com > Git config - global user.email me@example.com 

Then you can be first git repository with git init ersellen. For me it is on the Mac mini, to be built on the next step, the central repository.

  ~ / workspace / testGroovy > Cd ~ / workspace / test groovy
 init > Git init
 add . > Git add.
 commit > Git commit 

The commands speak for themselves. When commit can open the vi editor, so you can add a comment for the current state. The command syntax of the vi is not very intuitive, so by all who know them not, just add the necessary commands to the comment:

  • [I] change in the insert mode.
  • Leave a comment.
  • [Esc] switch to the command mode.
  • [: Wq] spoke and exit the vi.

Step 2: Create a centralized git repository


The newly created repository then the repository on the remote Mac. The clone of it is about the argument bare to the central repository on the Mac.

  ~ / git > Mkdir ~ git /
 ~ / workspace / testGroovy > Cd ~ / workspace / test groovy
 clone --bare .git ~ / git / testGroovy.git > Git clone - bare git ~ / git / testGroovy.git. 

Step 3: central Git repository clone


On the Linux laptop is supposed to create a distributed repository. Therefore it is necessary to clone the central repository on the Mac. Both computers are connected via ssh. Furthermore, when cloning the git-upload-pack (and that of the computer, where the central repository is - for me that is the Mac) is required.
To avoid problems, such as bash: git-upload-pack: command not found prevention should be the place (in my case it is / usr / local / git / bin / git-upload-pack) to specify the command to clone.

  ~ / projekte > Cd ~ projects /
 clone --upload-pack / usr / local / git / bin / git-upload-pack \ > Git clone - upload-pack bin / usr / local / git / / git-upload-pack \
    username @ server / full / remote / path / to / testGroovy.git testGroovy ssh: / / username @ servername / full / remote / path / to / test testGroovy.git groovy 

This one does not always pay attention to is this can also be deposited in the git configuration file.

  ~ / projekte / testGroovy > Cd ~ / projects / groovy test
 .git / config > Vi. Git / config
    ] [Remote "origin"]
         :refs / remotes / origin /* fetch = + refs / heads / *: refs / remotes / origin / *
         username @ server / full / remote / path / to / testGroovy.git url = ssh: / / username @ servername / full / remote / path / to / testGroovy.git
         usr / local / git / bin / git-upload-pack upload pack = / usr / local / git / bin / git-upload-pack
         usr / local / git / bin / git-receive-pack receivepack = / usr / local / git / bin / git-receive-pack 

Step 4: from local to central repository


Changes to the sources are first in the local repository git commit -a versioned. Also in this commit opens the vi editor for a version comment. With git push the changes to the local repositories are communicated to the central repository.

  ~ / projekte / testGroovy > Cd ~ / projects / groovy test
 commit -a > Git commit-a
 push > Git push 

Step 5: Local and central repository on a server


I had started with a local repository on my Mac. About git clone-bar, an additional central repository was created. But still there is no connection between the two. This is done through an entry in the configuration file of the local Git repositories.

  ~ / workspace / testGroovy > Cd ~ / workspace / test groovy
 .git / config > Vi. Git / config
    ...
    # Connect to the central repository
    ] [Remote "origin"]
         :refs / remotes / origin /* fetch = + refs / heads / *: refs / remotes / origin / *
         path / to / git / testGroovy.git url = / full / path / to / git / testGroovy.git
    ] [Branch "master"]
         remote = origin
         master merge = refs / heads / master 

Conclusion:
A little configuration is necessary even if you want to use to speak with both centralized and decentralized Git repositories. For this effort, but you get a very powerful, very stable and fast version control system that does not require a connection to a central repository.

Links:
[1] git-core - Core packages for Ubuntu
[2] git-osx-installer - Google Code Project
[3] German short git tutorial - on interaktionsdesigner.de
[4] German short git tutorial - on-line tutorials.net
[5] detailed German Git Tutorial - Stanford University
[6] EGit - Eclipse plugin for Git

gklinkmann written by \ \ tags: , , , ,

Dec 23

Since there are currently only as of the internet rumors of the approaching end, or at least the sale of Internet bedrock teeming, many fearing for their bookmark manager looking for a new provider. So do I.

The lowest common denominator here is the RSS reader (owner) on my iPhone. There you have the choice between Google, del.icio.us and .

Zootool, who is that? That's what I've asked myself and found it after calling the URL of a service to the bookmark manager (and a lot of Web 2.0 around it '), which has a sleek, fast and user-friendly interface, my 500 bookmarks clean imported and remaining API to access their own data provides.
The whole thing is a German startup company with Amazon's back end (which give an idea of ​​at least the links), and I wish a bright future (and not just because there now hoste my bookmarks).

Who should be the future of del.icio.us is not judged quite as dramatically to ensure his safety still bookmark. How does it shows the article by Guido Mühlwitz .

gklinkmann written by \ \ tags: , ,

November 15

Almost exactly a year ago I had the opportunity for the first time Audials One of the Rapid Solution Software AG test . My conclusion at the time of the tested version 4 was heavily influenced by the large number of functions contained in Audials One.

Now is the Version 8 and I'm excited to see what has been improved on the "EierlegendenWollMichSau" for audio and video. The entry in the changelog

[8.0.26908.80] - 09/11/2010
completely revised with many new features!
Please you informed of what's new on the website or try the version that easy!

gives no information about it. If you look on the website at, there is also only the previously mentioned functionality advertised. And the list:

  • the audio stream recorder for recording music from streaming services and music portals
  • listen to the podcast client (podcatcher) for the diversity of the Internet to offer podcasts.
  • Videos (music videos) or download record
  • The format converter for audio & video
  • Convert audiobooks
  • Videos, movies and DVDs record (even with copy)
  • DVD Ripper
  • Complete and organize your music collection (editing ID3 tags)
  • integrated multimedia player
  • the ringing generator ...

is really long.

So I was curious about the test. Even during the installation, there was the first innovation. So it is now possible to install Audials One key on a USB stick. This can be very useful if you frequently switch between multiple computers. Otherwise, the installation was fairly boring and uneventful. The installation of MP3 codecs should not be forgotten.

When you first start then the next visible innovation - the new surface. She looks a lot tidier and more manageable. It is better utilized. Can also choose from two color schemes (dark and light) that are accessible via the color ring (next to the window elements for Minimize, Maximize and Close).

Very good is also the new Album list in the search, separated by color indicating the title of the album and its search results. So you do the same, which lacks a title yet.

The channels offered by the Internet radio is huge as before. The good news is that including MotorFM one of my favorite radio stations located outside the mainstream.
To be installed and social radios like last.fm record, may be an additional component (I think for legal reasons).

But you will be informed about exemplary. Ever been much emphasis placed on the user in operating the software not to let in the rain. The proceeds from the omnipresent help button up buttons to provide more information (such as record).

Audials One offers for many applications in audio and video solutions area. Unfortunately I could not test them all. Thus remained as the DVD ripper that untested virtual CD burner and the ringing generator.
In all my tests, Audials One was found in comparison to the last test but to be very stable.

Conclusion:
Audials One has grown up. The most visible new feature is likely to be the new surface, which acts not as playful as in version 4 But the really big changes are also features of the former difficult. Nevertheless, in many places appear well thought out improvements (such as the albums thumbnail in the search mode).
The USB installation should be of interest to many users. All this certainly justifies the big version jump from version to version 4 8
So is there anything else that could be improved in the next version? In my view, little, except that appear every now and not in the chic surface matching Windows dialogs. Which will make me happy in version 16, would be to support MacOS. There is already a stylish interface. :-)

Interested?
So, who is now curious about who was to quickly access. Because for the start of Audials One 8 RapidSolution granted under this link 40% discount. The purchase price is accounted for, only 35.90 € instead of 59,90.

update:
The new features of Audials One are now published in the press release included.

gklinkmann written by \ \ tags: , , , ,

Oct 20

The Management Information Base (short: MIB) describes the information over a network management protocol can be (eg SNMP) queried or modified.
...
The Simple Network Management Protocol (English for "Simple Network Management Protocol", shortly SNMP) is a network protocol that was developed by the IETF to network elements (eg routers, servers, switches, printers, computers, etc.) from a central monitor and control station, and to be able to.

Source: Wikipedia - articles on SNMP and MIB

To see information about a network device, you need 4 things. First, the structure of information (MIB), secondly to be able to query a protocol to this Protocol (SNMP), the third, a service of providing information (snmpd) and of course a tool to execute the queries.

On the command line there is for example snmpget and snmpwalk (to name only two times). But it needs to know the structure of the information very well. There are much simpler tools with graphical user interface, called the mibbrowser. A mibbrowser that runs on all operating systems and at least in the personal edition is free to use, comes from iReasoning .

The iReasoning mibbrowser is itself written in Java. An installed Java runtime environment is therefore a prerequisite for the installation. After starting divides the window (as pictured) in 3 areas. The MIB's links are displayed in a tree view. The Personal Edition is there a maximum of 10 MIB's are linked.
Among them there is detailed information on the MIB entry and right of the query results appear. For snmp tables (eg interfaces), there is an extra table view (Ctrl + T), otherwise all snmp commands (as in the command line tools) support. In connection settings, in addition, the snmp version and the port that should be asked about, are subject to change.

Conclusion:
Although the command line and I really like their tools, the iReasoning mibbrowser is in displaying information about snmp but much more comfortable. The free Personal Edition is for me perfectly adequate for everyday use. A comparison of the functions of the different editions (Personal, Professional, Enterprise) are here .

gklinkmann written by \ \ tags: , , , ,