Syndicate content

time

top -> top -o cpu

Hard to believe, but the FreeBSD top utility does NOT sort by CPU usage by default. I guess there is some other magic. 99.9% of all the system you run now a day will have way more processes that can be displayed in one window. This means you need to have the processes that use the most CPU at the top to see what's running and taking too much time.

Javascript: setTimeout()

The other day, I wrote a module for Drupal. Up to here, no problem. What I wrote required a small amount of Javascript to make a dropdown menu feature work. That worked just fine under Mozilla and FireFox, and even Safari & Konqueror.

When I tried with Internet Explorer, nope. Not working at all.

The function I was using goes like this:

Visual C++ for free!

Download a free copy of your C++ development environment! (Visual C++ v8.0)

Yes! Microsoft is doing the same thing as Linux: they offer their IDE for free with their fully compliant C/C++ compiler (as well as other bits if you are interested, I only want C++ on my end!)

At this time, the link is like this: ... (does not work anymore...)

It may require a bit of digging to get older versions but they should remain available. (but who wants the old stuff anyway?!)

I don't have links anymore and the one I had before doesn't work... it make still be available, but you'll have o

Compiling zlib for Win32 with MinGW

I have had a BIG problem with compiling zlib. Now I have my own normal configure.ac file, but the most important part of that compile was for me to find out how on Earth can you generate the dynamic library (.dll and .dll.a files) instead of the static library (.a only file)?!

Apache and weird errors

Error about a local certificate?!

The other day, I got a new certificate from godaddy.com. I installed the certificate by replacing the files and simply restarting Apache. I then checked in Sea Monkey and it worked great. Checking the certificate it told me "valid for another 3 years."

A few days later I got an error from eFax saying that our certificate could not be verified. Weird... I tried with wget and got the error! Hmmm... I tried again with SeaMonkey, just fine. Then I tried with FireFox, error too! The error with wget is like this:

ERROR: Certificate verification ...

GRUB error 16

[vtoc title=Boot Sector; minlevel=1; maxlevel=4;]

Error 16

Today I got an error 16 with GRUB on one of my machines. This had happened before so I did not worry too much. It is just quite annoying.

Ubuntu CD

A Ubuntu boot CD has a cool feature one can use to rescue such a system (i.e. re-install GRUB properly.) More or less, boot the CD, select the rescue mode, let it do its things for a moment (after you select options like keyboard, etc.)

X11 failing without errors...

I got a bad one today with Debian which took me an extra hour (at least) to find out.

It can happen to you and that's why I'm writing this page:

X11 starts and quits right away without any error — I had some errors about the system not being able to load some modules, I removed them by fixing my XFree86 configuration file. Really, there was no errors.

Ha! But there was ONE error. 

Sensors

For a long time now I've been looking for a way to check out the temperature of my computer while Linux is running. I had heard about ways to do it but never actually knew how to make it work.

After quite some research, I found a tool used to show all sorts of status on your computer. The author said something about the temperature of the processors and thus I read on. I downloaded the lastest version. Compiled it and got lucky (i.e. it worked right away!). I started it and... hmmm... no temperature.

GNU Free Documentation License

                GNU Free Documentation License
                 Version 1.3, 3 November 2008


 Copyright (C) 2000, 2001, 2002, 2007, 2008 Free Software Foundation, Inc.
     
 Everyone is permitted to copy and distribute verbatim copies
 of this license document, but changing it is not allowed.

0.

Syndicate content Syndicate content

Diverse Realty

Diverse Realty Team

Want a New Home?
Want to Sell Your House?

Call Alex at
+1 (916)
220 6482

Alexis Wilke, Realtor
Salesperson
Lic. # 02024063

Cory Marcus, Broker
Lic. # 01079165

     

Terms of Site Index

Find the page/content you are looking for with our index.