Syndicate content

time

Terminal prints ^C when hitting Ctrl-C on command line or running process

As anyone else, I use Ctrl-C all the time.

I start writing something in my terminal and it's not what I needed, I hit Ctrl-C to Cancel that line.

This is the same as the Ctrl-C to Cancel a program. In that case it sends a SIGINT to the running process (this assumes that you are running a process that did not detach itself from your console.)

Although on the command line I often do that because I want to keep what I just typed right there on the screen because I will use it, just not right now. And when a ^C is printed in there, that's just really not practical!?

It looks like this started

Attack by Bots

Since the ZmEu attack, I've been watching my logs a little closer. I also found a page that I could not read (but Google could and was kind enough to provide a cached version.) That page listed many bots that are not nice bots. So? I decided to block some of them, especially those that use very bad URLs or load many pages too quickly.

The result is that I'm getting more and IP addresses in my firewall. Although they get removed in a schedule that I will not state here, I can tell you that each time I block tenth when not hundredth of useless hits (worst than that at times those could be

Time Machine... To go back in time with a click!

A long time ago, I got http://www.m2osw.com ... and I created a website (you know a 1.0 kind of a website.) It look like an abomination, and I would have prefered to lose it...

Well... there are time machines that are not perfect but will show you some of the pages of my company's website from way back (it started in 2001).

http://web.archive.org/web/*/m2osw.com

And, please, don't laff! Okay... whatever... Hey! Stop it! Or write a comment below, I'd like your input...

Compressed CSS & Boost when developing

On my sites, I'm using boost to allow much faster access time (close to instantaneous in comparison to hitting Drupal and all the database accesses...)

The result is great! But it generates some problems when you test a page. It does not get refreshed... Easy, you can clear the cache. Not advisable when your cache is around 10,000 files. A better way, is to go to that page and click on "Flush Page" (available in one of the blocks offered by boost.)

Load Average, to know how busy your server is

Whenever you run many applications on a server, such as many instances of your web server (i.e. Apache), you may want to know how much of the system is being used. This can be important to avoid overloading your system.

The load is computed by the kernel. The kernel knows how many processes are running and how much processing power your server has (i.e. how many processors.) With that information, it infers how many processes are being held back for a period of time. The default periods are 1, 5 and 15 minutes (I'm sure you can recompile your kernel with different timings!)

[toc hidden:1]

MS-Access Report not printing

Reports, Print and Load() Event

I wrote many forms and in general everything works just fine.

In this case, I wanted to enter the data with a function so I could properly format several of the fields (especially the billing and shipping addresses.) That was done on the Load() event. That function working great when looking at the report from within MS-Access (on screen report). However, when directly sending the report to the printer, it was not working well at all.

[toc hidden:1]

SeaMonkey 2.0

I guess I liked Netscape just way too much... I used Mozilla after Netscape went down and bust, then I continued with SeaMonkey 1.x and now I just finished installing SeaMonkey 2.0.

There are features in this system that are just better than in FireFox. However, SeaMonkey 2.0 is a re-sync. with FireFox 3.x. In other words, this is very similar to FireFox, with the correct display features of the HTML code. But it keeps the menu, preferences and look in general of SeaMonkey. (although the fonts have changed... I'll have to get used to those!?)

[toc hidden:1]
Syndicate content Syndicate content

     

Terms of Site Index

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

  • cc
    The Unix C compiler. This is an old language that started the frenzy of advanced C, C++ and C# languages. Many other languages are also based on C such as PHP, Java and Javascript.
  • feed
  • games
  • run
  • verify