Syndicate content

Page list for Mac OS/X

  • Let's start with my rant!

    I like Drupal, in general. But like most PHP code bases, if an "error" (mistake) occurs, nothing is reported.

    I spent hours trying to make one of my menu work (Note that the "menu" module is also called the "links" module.) It just did not want to go. In order to have the nice breadcrumb and other such features, you need to have menus with sub-sub-menus...

  • The other day, I created the odbcpp library. When I tried to build it on my Mac OS/X 10.4 (Tiger) I got a problem with the dynamic libraries. Instead of a .dylib extension, I got... nothing at all! (this problem was also reported on 10.5) I was sure that it worked for me with other libraries I developed (such as my sswf library) and thus I decided that I was not going to be left alone. Well...

  • Use at your own risk! These are links to other pages outside of this website:

  • Have you seen animated icons in your tabs? This has been working for a while, with IE and FF and Co.

    All you have to do is create an animated GIF file as your "favicon.ico", and it is better to name it .gif, by the way.

    Because icons can now be pretty much any image format, not just .ico

    And if you need some favicon for your site, check this one out: http://www.favicon.cc

    Many of these are free!

  • How to force a download of any file in a CGI script

    I have been wondering for a while, now I have the answer, so I can share it with you guys.

    Your script has to do the following steps:

    1. Print a header which at least includes:

      1. Content-Type: application/force-download

        (you can also use octet-stream instead of force-download)

  • Today I discovered that I couldn't include the QDebug header file at the time I need it.

    When I write in C/C++ I like to add my test libraries at the point where I'm writing the debug function I'm working on so that way I can delete it all at once.

    So the skeleton of a file would look something like this:

    Comment (copyright/purpose of file)

    #include of all headers necessary

    code

    #include of debug headers

    debug code

    However, today I had problems compiling and/or linking doing so. The qDebug() << ... expressions did not want to work.

    Moving the #include of debug headers to

  • As I create website, I often deal with JavaScript code. At times, a variable doesn't make it for different reasons, for instance a part is missing and thus the variable generation doesn't happen. If then the script uses that undefined variable, then it generates an error. In some cases, it may not matter too much. However, when the variable that doesn't exist is hit, the JavaScript interpreter generates an exception and stops the execution of the script altogether (unless you capture the exceptions... Do you do that?!)

    The solution is to test the variable and since I always have to search how

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

  • Lately, I have been working on a website that has to work on all mordern browsers (in 2007). And I have had problems with Internet Explorer and Safari. Safari is more annoying because there are less hints on the Internet, but the solutions are still quite easy to find (it's not like it's all broken or something.)

  • This is a quick note so I can find the command I need to use to list open files.

    My search will work this time.

    lsof stands exactly for "LiSt Open Files"

    That gives you a list of all the files opened by your system, process by process. It can be useful to know if you are developing a program or if you are limited in the number of files opened at once.

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.