*scratch*

It is not a diary the most people have rather a *scratch* Emacs buffer. It keeps notes about everything related to Linux, Open Source, UNIX, MacOSX and software engineering.

Monday, April 20, 2009

 

It is deprecated (I think so)

I think this blog is deprecated. Honestly it was never been active very much. Google Notes looks very lucrative to these kind of activities and using blog for interesting notes does not work very well, at least for me.

I am using more Twitter and Live Journal look more attractive mostly because of number of people on those services. I am mostly reading with rare posts on Twitter but wish to use Lice Journal more ...

Tuesday, November 11, 2008

 

how to convert Nero image to ISO with dd command only

Here is the original post (in Russian) OpenNet.ru article

dd bs=1k if=image.nrg of=image.iso skip=300

Removes extra Nero/NRG 300K block at the beginning of the file.

Monday, September 08, 2008

 

Optimizing Windows XP and nice tricks to disable annoying features

Taken from the blog. Here are some tricks to remember:

Disable error reporting on program crash
Open REGEDIT
Go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PCHealth\ErrorReporting.
Edit the following value:
Value Name: DoReport
Value: 0 to disable the error report prompt.


Using Classic Search in windows XP. Get rid of Merlin and his minions.
Start Regedit
Go to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\CabinetState Add a String Key called "Use Search Asst"
Give it a value of no


Speed up the start menu:
Locate and Edit the following key
HKEY_CURRENT_USER/Control Panel/Desktop/"MenuShowDelay"=0

Monday, August 04, 2008

 

How to disable X/DT login on legacy Solaris8

DT login manager is an annoying program runs by default on Solaris8 boot. Many legacy SPARC computers are connected to non-Sun monitors these days, so it makes very difficult sometimes to run graphical login window and login from the main console. Legacy text login still works indeed.

It is not obvious were dtlogin starts at boot time. inittab does have any entries to run any login managers. rc3.d/ does not have anything useful and rc5.d may be missing. Here the magic command to disable and stop DT login manager:

/usr/dt/bin/dtconfig -d remove DT login manager from boot sequence;

/usr/dt/bin/dtconfig -kill kills existing instance of DT login manager.

Sunday, July 13, 2008

 

sound on Linux, again ...

Honestly I thought the sound problem on Linux is over in Hardy Heron with PulseAudio support. I was wrong ... Flash 9 may not play via PulseAudio and Rthymbox stops working after visiting YouTube in Firefox. Googling on PulseAudio server and UbuntuForums makes it clear an additional library must be installed to make Flash 9 plays nice with PulseAudio:

libflashsupport must be installed in addition to flashplugin-nonfree!

I suspect it would remain like that in 8.10 release. It would be nice if libflashplugin-nonfree had a dependency to libflashsupport so it would be transparent to the user like myself.

The promised (and beta 2) version of Flash 10 is available but it would take time before it would make its way to 8.10.

Monday, February 04, 2008

 

Oracle 9i installation on RHEL3, RHEL4

It is RHEL 3 and 4 problem, RHEL5 may have the same issue.

i386

export LD_ASSUME_KERNEL=2.2.5 + patch Oracle #3006854

x86-64

export LD_ASSUME_KERNEL=2.4.1

export LD_ASSUME_KERNEL=2.4.19 (RHEL4)

Here is very nice step by step installation HOWTO.


 

tcpdump usage is not strait sometimes

tcpdump is a nice CLI utility to log everything from available network interfaces. The only pitfall is by default it truncates all strings to 96 bytes. Here is a cut&paste line:

sudo tcpdump -s256 -Xi lo ...
sudo tcpdump -s256 -Xi lo dst port ...


-X is hex/ASCII form of presentation. 256 is a length of strings to print. lo interface name, eth0, eth1 ...

Thursday, January 31, 2008

 

Bursa-Wolf ppm

Bursa-Wolf ppm parameter is Parts Per Million the representation of error of transformation.

1 ppm is equal 0.2m or 0.66 feet

 

/etc/sudoers default configuration for an admin user


Defaults:username timestamp_timeout=15
...
username ALL = (ALL) ALL


Default is a section before user definitions. 15 is in minutes to wait before password session expires.

Archives

December 2004   January 2005   February 2005   March 2005   May 2005   July 2005   October 2005   January 2006   March 2006   May 2006   July 2006   December 2006   January 2007   February 2007   May 2007   July 2007   November 2007   January 2008   February 2008   July 2008   August 2008   September 2008   November 2008   April 2009  

This page is powered by Blogger. Isn't yours?