Syndicate content

Page list for Linux

  • You can check that all the packages currently installed on a Debian system (i.e. Debian, Ubuntu, etc.) with many different tools.

    Root Kits

    I run rkhunter to verify for root kits.

    Some hackers replace a well known command such as ls or cat with a version that takes over your computer by becoming root without your consent and then hacking your system in all sorts of ways. In most cases, just the feat of installing such a tool requires the hacker to already have root access, so it generally doesn't happen, but better safe than sorry!

    File Changes

    I use tripwire to verify that ...

  • When creating objects (commonly called JavaScript classes) in your JavaScript code, you want to use the prototype. This is the only clean way of doing it. In JavaScript, you can create objects on the fly, but those are not considered safe.

    Quick and Dirty

    The quick way is to create an object directly. This works, but it has potential problems with used against a powerful optimized such as the Google Closure Compiler.

    All the Quick and Dirty examples can make use of this in their myFunc examples. However, the closure compiler will warning about all of them because it doesn't know for ...

  • I had a little project which requirements was an Adobe Flash animation that calls a JavaScript function to close a browser window.

    With the newest version of Internet Explorer, it will first ask you whether you want to let the script close your window... that's a problem when you'd like that process to be smooth (i.e. without user interaction.)

  • Network connections

    This morning I was attacked by a robot. I quickly noticed that my websites were slow and saw a pretty large amount of traffic on port 80: 208 connections!

    tcp        0      0 192.168.1.1:80          109.230.213.100:65413   ESTABLISHED
    tcp      441      0 192.168.1.1:80          109.230.213.100:65445   ESTABLISHED
    tcp        0      0 192.168.1.1:80          109.230.213.100:65071   TIME_WAIT 
    tcp        0      0 192.168.1.1:80          109.230.213.100:65279   TIME_WAIT 
    tcp      497      0 192.168.1.1:80          109.230.213.100:49326   ESTABLISHED
    tcp ...
  • 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)?!

  • Under X-Windows, I use the QWERTY keyboard because I'm so used to it. But once in a while I want to write something with an accent or a special character. To do that I use the compose key. In my case the compose key is the Caps Lock key. So I push the Caps Lock once, and then two other keys to get the character I want. For example, the c with a cedilla is c with a comma: ç.

    The following is the content of the Compose file available on Linux Ubuntu (/usr/share/X11/locale/en_US.UTF-8/Compose):

    # UTF-8 (Unicode) compose sequence
    # by David.Monniaux
    #
    
    # Part 1 - Manual ...
  • Lately, I noticed that I always had a clamav.inoc.net connection. I was wondering why... I did install clamav but I did not recall changing anything in Apache where I'd get requests from the outside that would look like clamav.

    The fact is I also installed freshclam. By default, that gives you a line like this in your netstat -a64 listing:

        tcp   383     0 halk:38272       clamav.inoc.net:www     CLOSE_WAIT

    Most of the time you won't catch it when it is still connected and sending/receiving data. The deamon that accepts the connections is freshclam and it will save the new data ...

  • As I work in consoles every now and then, I run in that one problem:

    Some text is written in Dark Blue over the Black background:

    This is a good example of what I'm talking about.

    And if you can read that text, wow! (without selecting it first.

    So... how could you change the color of that blue to make it readable? There is a way by sending some escape command to the console:

    echo -e "\\e]R\\e]PC6495ed"

    That command changes the color of the blue to a light blue (somewhat "cyan", although not light cyan.)

    The "\\e]R" part is to reset the colors to ...

  • Today I started testing a lot of my JavaScript / jQuery code from a website I am building for a customer. I got an error, at some point, saying:

    SCRIPT5007: Unable to get property 'replace' of undefined or null reference

    The error was in link with the 'replace' function being referenced on an innerHTML of an element. More specifically, one of those XML element (probably the top most one.)

    The fact is that Internet Explorer does not support innerHTML in an XML document. Not to be too surprised about that, XML is not HTML so there is really no reason why innerHTML should be ...

  • I use VirtualBox and had a problem with copying files between my host (main computer on which you boot your computer) and the guests (virtual computer that you run on your host).

    The fact is that it is all explained right here:

    http://www.virtualbox.org/manual/ch04.html#sharedfolders

    There are a few steps as follow.

    Install the Virtual Box Tools

    Install the Virtual Box Tools (called Guest Additions) on your guest; these tools allow your guest to communicate with the host to allow files to be written in a directory on the host.

    To install those, it should be as easy as using the ...

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.