sponsors:

адміністрування


Grepping disk usage for biggest folders

Finding where was free space gone and who that guy that should be cleared on a server can be a challenge
Unix as I know has no usable UI tools for that, but there is a console that has power.
How to find folders for cleanup on Unix/Linux/Ubuntu?
Here is a command for grepping folders/files that has Gigabytes of size

du -c -h | grep -P "G\t"

The same for Megabytes as well, but I guess not so usable at admin level, mostly good for user folders.

du -c -h | grep -P "M\t"

And here is a sample output for the first command



How to create dosboot image for grub for updating bios

I always having the issues during updating bios under linux/ubuntu.

All bios updaters developed by vendors for processing under DOS/Windows, but very small amount of them have thoughts about linux users.
I have written article about using flashrom application for updating bios in ubuntu/linux(in ukrainian), but it is not universal and has limited support of devices.

Here I want to share ability to have boot image item in grub with freedos installed for making possible boot into and update bios for Your mobo.



Install linux on everex stepnote sa2053 - boot options

Press F6, escape to close the pop-up window, and add
reserve=0xFFB00000,0x100000
to the prompt, before the word "quiet".
Complete the installation process



MYSQL fix duplicates saving duplicated data with new id

DROP PROCEDURE `max_wid`;
DELIMITER ;;
CREATE PROCEDURE `max_wid` (OUT `y` int)
SQL SECURITY INVOKER
BEGIN
SELECT MAX(wid) into y from works;
END;;
DELIMITER ;
DELIMITER ;;
CREATE PROCEDURE `first_dup` (OUT `t` int)
SQL SECURITY INVOKER
BEGIN
SELECT wid into t FROM works GROUP BY wid HAVING ( COUNT(wid) > 1 ) LIMIT 0,1;
END;;
DELIMITER ;

The procedure itself - finding first duplicated data - and updating it to maximum possible id
After running this code till ZERO duplicates just create unique Primary key for Your table



Nokia 6500 slider Free iSync plugin - 6500s-1

Do not sync Contacts+Calendar together!
Only Contacts or only Calendar!!!

Nokia 6500 slider iSync plugin free

Tested with iSync 3.0.2 at Leopard 10.5.6 and Nokia 6500s-1 (slider)



Everex StepNote SA-2053T Leopard 10.5.3+ Drivers.

Hi!
After a long time of using Everex StepNote SA-2053T under Leopard I`d like to say that this small baby very usefull and stable under it.
In attachement You can get

  • AppleACPIBatteryManager.kext Battery Indicator
  • AppleAzaliaAudioBackupByTarugaPatcher.kext - sound output only
  • AppleIntelGMA950.kext acelerated GMA950 video driver
  • AppleIntelIntegratedFramebuffer.kext - the same
  • ApplePS2Controller.kext - touchpad driver
  • DSDT.aml - DSDT patched file for a Chameleon EFIv9 bootloader

Syndicate content Syndicate content

Propeople Expert

Recent comments

експерименти

Rambler's Top100

Error. Page cannot be displayed. Please contact your service provider for more details. (24)