November 2008

Next it's off to the series "weekly links". These were my highlights in the past week:

Linux on the IBM Thinkpad
Notebooks from IBM or Lenovo's successor are particularly well suited for Linux. Here is a short guide for Kubuntu 9.10, how to persuade the laptop to save power and takes even more special keys in operation.
Closure Tools - Google Code
The Google Online Tools to use all Javascript extensively. So it is not surprising that Google now provides its Javascript compiler, a library for DOM manipulation and UI elements and templates for JavaScript and Java under the name Closure tools on Google Code for free use. I'm looking forward to the first comparisons with the Yahoo UI Bilbliothek.
Technical short documentaries by Torsten Horn
I'm on technical short documentaries (tutorials), especially if they have the quality as that of Torsten Horn.
Continuous Integration for PHP with the Hudson
Testing makes sense only if the tests are conducted regularly. Here is an article on how to integrate PHP tests in Hudson.
google-maps-icons
Free icons web developer as you can never have enough. Here is a great choice, as Google may provide.
PDF creation with the Zend Framework
The much-used PHP FPDF library to create PDF documents with complex layouts quickly gets to its limits. This article describes an alternative with Zend, which is through the detour of Office templates allow even complex PDF structures.

Similar items:

posted by gklinkmann \ \ tags: , , , , , , ,

Sep 30

I have just one article about the 100 vim commands read, the programmer should know everyone.
The vim (Vi IMproved) I have here in the blog once before in brief .

In reviewing the list of 100 best vim commands, I have once again learned a lot about these consoles editor, but also well-known old and dear derived features discovered. My absolute favorites are:

  • : To turn on syntax highlighting of the syntax (syntax highlighting)
  • the commands to indent code
    : Set autoindent turn on indenting
    : Set intelligent indentation turn smartindent
    : Set shiftwidth = 4 define four spaces as Einrückgröße
    ctrl-t, ctrl-d A / disengaging the insert mode
    >> Indentation in the command mode
    <<Disengagement in the command mode
  • Interacting with Unix
    :! Run by pwd "pwd" unix command and then return to vim
    ! Run by pwd "pwd" unix command and paste the output into the file
    : Sh temporary trip to the Unix Shell
  • :% S / old / new / g replace "old" with "new" in the whole file

What are editors for the console you use? And if vim is, on what commands Could not do without her?

Similar items:

posted by gklinkmann \ \ tags: , , ,

Sep 14

Linux for old rabbit that is a Klax, but since it usually only once per computer, makes me wonder every time in case a computer with Windows and Linux - how was that again?

It's actually not that hard. First you have the UID's of the Windows partitions to determine:

  blkid > Sudo blkid
 sda2: UUID = "8A4831E44831CFA5" LABEL = "Volume" TYPE = "ntfs" / Dev / sda2: UUID = "8A4831E44831CFA5" LABEL = "Volume" TYPE = "ntfs"
 sda5: UUID = "A020173420B4E2A8" TYPE = "ntfs" / Dev / sda5: UUID = "A020173420B4E2A8" TYPE = "ntfs" 

then create directories for the mount points:

  / media / windows > Sudo mkdir / media / windows
 / media / windows / C > Sudo mkdir / media / windows / C
 / media / windows / D > Sudo mkdir / media / windows / D 

then the file / etc / fstab change the partitions permanently integrate:

  / etc / fstab > Sudo vi / etc / fstab
 # Add the lines
 media / windows / C   ntfs-3g   defaults, nls =utf8, uid = 0 , gid = 46 0 0 UUID = 8A4831E44831CFA5 / media / windows / C ntfs-3g defaults, nls = utf8, uid = 0, gid = 46 0 0
 media / windows / D   ntfs-3g   defaults, nls =utf8, uid = 0 , gid = 46 0 0 UUID = A020173420B4E2A8 / media / windows / D ntfs-3g defaults, nls = utf8, uid = 0, gid = 46 0 0 

For the mount of ntfs-3g driver is used, which is already the major distributions (tested on Kubuntu 9.04) is a component. What's missing is the actual mount:

  -a > Sudo mount-a 

Done.

Links:
ubuntuusers.de - Windows partitions Embed

Similar items:

posted by gklinkmann \ \ tags: , , , , ,

Mar 02

The L D ightweight irectory A ccess P rotocol (LDAP) has to authenticate Internet user worth in. LDAP provides for a very high-performance access to Directory Server (LDAP server also called) in which user data are stored hierarchically.

To deal with the issue a bit more, you have to put on not just their own LDAP server, but can draw on a range of public and free LDAP server.

A good list of this is the eMailman . A simple query using ldapsearch (part of MacOS, with Ubuntu, the package must be installed ldap-utils) might look like this:

  "ldap.uno.edu" -LLL -x \ > Ldapsearch-h "ldap.uno.edu"-LLL-x \
              \ -B "ou = Students, O = UNIVERSITY OF NEW ORLEANS, c = U.S." \
              "(Sn = Fu)" cn
 =Students, o =University of New Orleans, c =US Dn: cn = Pik Yu Fu, ou = students, o = University of New Orleans, c = U.S.
 : Cn Pik Yu Fu

 =Students, o =University of New Orleans, c =US Dn: cn = Yuan Yuan Fu: yfu2, ou = students, o = University of New Orleans, c = U.S.
 : Cn Yuan Yuan Fu: yfu2

 =Students, o =University of New Orleans, c =US Dn: cn = Shiquan Fu, ou = students, o = University of New Orleans, c = U.S.
 cn: Shiquan Fu 

This query searches the LDAP server of the University of New Orleans to students with last name Fu. Here is a brief explanation of the parameters:

-H
LDAP Server
-LLL
Output options - an easy-L restricts the output to LDIFv1. A second-L suppresses comments. A third-L suppresses the output of the LDIF version.
-X
Use the simple authentication without the Simple Authentication and Security Layer (SASL).
-B
Use a different search base as a starting point for the search.
(Sn = Fu)
Filters to search by last name
cn
Common name - attribute that is spent

Similar items:

posted by gklinkmann \ \ tags: , ,

February 2004

docky

Who the dock and under MacOs like it in other operating systems like to have, which is at least for Gnome-based Linux distributions, a solution offered.

The program launcher gnome-do with the theme Docky brings the dock of MacOS on the Gnome desktop. Is particularly easy to install in Ubuntu.

Gnome-do is already included in the repositories and can be:

  sudo apt-get install gnome-do 

be installed. The currently included in the package source version is 0.61. Whoever wants to be the last stand on, should be repositories of the project involve the.

  intrepid main intrepid main deb http://ppa.launchpad.net/do-core/ppa/ubuntu
 intrepid main deb-src http://ppa.launchpad.net/do-core/ppa/ubuntu intrepid main 

What has to be observed, one can in the installation instructions read.

The dock Docky is an issue of gnome-do. It must be under " Preferences -> Appearance to be enabled. Docky appears, however, this selection only when either the desktop effects are enabled ( System -> Einstellungen -> Erscheinungsbild -> visuelle Effekte ), or the effects of Metacity were activated.

The latter can be with the command line:

  bool \ gconftool-2-s - type bool \ 
 metacity / general / compositing_manager true / Apps / metacity / general / compositing_manager true 

. Switch It should be noted that only the desktop effects or Metacity effects should be used because they interfere with each other themselves.

Conclusion: Gnome-do and Docky is starting applications not only simple, but beautiful. I like KDE even a trailer, as I do.

Resources:
gnome-do - wiki
gnome-do - docky
ubuntuusers.de - gnome-do in ubuntu
aptgetupdate.de - Docky
aptgetupdate.de - gnome-do 0.8

Similar items:

posted by gklinkmann \ \ tags: , ,