Syndicate content
  • 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 ...

  • Today I wanted to check whether a table existed in a MS-Access database from a macro define in a MS-Access module.

    The test opens the specified database (databaseName) and from that object checks wether a table definition exists (name). I wonder whether there would be a better way to go through the list of items and just know whether an item with that name exists or not instead of generating an error (because the underlaying system will anyway search that list of items for the name, although it may be faster this way in visual basic.)

    There is the function I wrote (sample usage: if ...

  • MS-Access has forms, but no real means to know whether a form exists. It looks like you could go through the list of forms (Forms.item(i)) but I'm not too sure that would work in all circumstances.

    Instead, I used code I found on another site which runs a system command to determine whether a form is currently attached to a window (has a state other than zero.)

    The code looks like this:

    IsLoaded = False
    If SysCmd(acSysCmdGetObjectState, acForm, strFormName) <> 0 Then
        If Forms(strFormName).CurrentView <> 0 Then
            IsLoaded = True
        End If
    End If

    The first ...

  • When I downloaded FileZilla, somehow I also got Chromium and some TV something downloaded and installed under Win10. I removed the TV crap, really no need, but I was thinking to keep Chromium since I need to test my websites with it once in a while. Cool, but that stupid software installed itself to auto-start!!!

    I don't think I had the option to NOT have such a feature turned on.

    So... I had to search for it because apparently no one knows how to handle Auto-Start features under newer versions of MS-Windows. It is actually... take a deep breath... in the Task Manager. (At least in ...

  • 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 ...

  • Today I finally solved a problem that was bothering me for a while. A Drupal site I installed for a friend of mine would not accept the Clean URL set. This is when the URL does not need to include the rather ugly ?q=<path>.

    The more I was looking into it and the more it looked like the problem was coming from the Apache installation.

    [toc hidden:1]
  • 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.)

  • I created a form in MS-Access and noticed, after a little while, that a ComboBox would not render properly.

    The problem is pretty simple, I marked the combo box as having a Normal Back Style. When I first open the window or when I click in that ComboBox, it works and renders the specified Back Color. That's great, but that's not exactly the solution, is it?

    The box has a Fore Color of Black (that's the color of the text). That Fore Color is used because the background is expected to be either gray or green. Either way, black shows pretty well.

  • 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 ...
  • cl.exe has a special option to be told that the input file is a C (/Tc) or a C++ (/Tp) file. This is necessary if you want to use an extension other than the default .c, .cxx and .cpp. For instance, many people use .cc or .c++ for C++ files. Just add the /Tp command line option and your file will be accepted as a C++ file no matter what the extension is.

    Also, in your environment, you can change the editor and Open/Close feature to recognize these files. The Microsoft page available here:

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.