SuSE Linux (SLES) 11: SSH authentication via Kerberos (GSSAPI) with PuTTY and Windows Server 2008

After many days of trial and error, today I finally managed to automatically log on to my SuSE Linux 11 (SLES11) server with PuTTY using Kerberos authentication by a Windows Server 2008. Here are the exact steps I followed to reproduce the working configuration: Follow the setup described in Michele’s …

Continue reading

Migrating an existing Scuttle database to SemanticScuttle

I’ve migrated my existing bookmark collection from Scuttle to SemanticScuttle. All it took was these three lines of SQL: insert into semanticscuttle.sc_users (uId,username,password,uDatetime,uModified,name,email,homepage,uContent) (select * from scuttle.sc_users); insert into semanticscuttle.sc_bookmarks (bId,uId,bIp,bStatus,bDatetime,bModified,bTitle,bAddress,bDescription,bHash) (select * from scuttle.sc_bookmarks); insert into semanticscuttle.sc_bookmarks2tags (select * from scuttle.sc_tags);

Continue reading

PowerShell: Configure some basic Windows settings after a fresh installation

After installing Windows I always started configuring the same old basic settings: move Desktop, Documents, Music, Videos, Pictures folders to D:\ configure some basic settings in Windows Explorer folder options (e.g. show hidden files, show file extensions) remove Internet Explorer from taskbar and add PowerShell to it Today I set …

Continue reading

PowerShell: Check whether a Windows command or executable is available

In one of my recent PowerShell scripts I needed to find out if certain commands (in my case “svn”, “git”, “ant” and “mvn”) were available or not. I wrote this small function that tries to call the given command and returns whether it is callable. function commandAvailable($cmd, $options) { $error.clear(); …

Continue reading