Syndicate content

Page list for Mac OS/X

  • Introduction

    Often, when you build a website, you want columns.

    Common designs include

  • I just switched my websites from one server to another and noticed that on my main company site (http://www.m2osw.com) I would get a # at the end of the URL. Automatically added somehow. Thinking that could be a bad guy I checked the code and could not really see anything.

    Hitting "Back" once, I noticed that the # would be transformed to #atssh-digg. I don't have anything specific about digg on that page except the AddThis button. That adds Digg among some 150 different systems where you can share my pages.

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

  • Since I manage multiple computers and each run a PostgreSQL database system, I can see discrepancies between versions. (i.e. newer versions fix problems in older versions.)

    [toc hidden:1]
  • GIT

    Drupal now offers git to access its source code and 3rd party modules, themes, etc.

    The GIT system is interesting but it has a huge difference between the CVS and SVN scheme: it requires an action, such as commit, and a push. The push is what synchronize your copy with the repository. Without the push, all the actions you've been taking will have no effect (they only are on your hard drive.)

    As you will see in each project, there is a Version Control tab at the top. Clicking on it gives you most of the instructions you need to know to work with Drupal git. I will not repeat them here. The only two things I often do is commit + push and tagging (to create new official versions.)

  • Once in a while I check how the compilers are behaving in such and such situations to make sure that when I wrote code it gets properly optimized. Today I was surprised as I tried to put a break point of a variable and it looked like the compiler wasn't using it. Indeed, the optimizer 100% removed the variable from the final code. Quite interesting since trying to reverse engineer this assembly language would probably end up using a goto statement... (ouch!)

    The code goes more or less like this:

    [toc hidden:1]
  • Problem

    I had a problem with my CuteMenu1 module and tried many times to fix it but just could not find the problem with Internet Explorer.

    The fact is that I created dropdowns that are supposed to be full width, but that did not work, somehow.

    I wanted each item to have a pre-defined height. So in the style for my DIV I wrote this:

    [toc hidden:1]
    • 1. This is a Drupal module. You happen to have Drupal? Download CuteMenu now then!
  • 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.)

  • A quick CSV (Comma Separated Values) reference:

    1) Row separator

      \n   \r\n

    In order to separate lines, use a newline character sequence.

    Most loaders probably support the \r sequence too. (Especially on MacOS/X)

    [toc hide:1]
  • As I write programs, mainly in C++, I document them using the Doxygen tool. This is a very powerful parser that is capable to finding functions, variables, macros, and many other things in the source code and attach the corresponding documentation to those functions, variables, macros, etc.

    This is extremly practical when creating large projects or libraries that you want to share with others.

    One problem though, by default it seems like global functions (and thus C functions) and variables do not make it to the documentation, when C++ classes work fine.

    There are two potential issues:

    ...

Syndicate content

     

Terms of Site Index

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

  • imap_open
  • large
  • master
  • recaptcha
  • SQL

    SQL, or Structure Query Language, is a programming language used to manage data in a relational database system. It was made an ANSI standard in 1986.