Syndicate content

Pages with category Development

  • Introduction

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

    Common designs include

  • Today I played around with my feedback button (a button that sticks on the edges.)

    The one I had worked on manually was fixed on the edge just fine, even in Internet Explorer.

    Today, I felt like testing a few more things and thus tested with some HTML code. The code was very simple, a few paragraphs, one div with the feedback button, and a few more paragraphs. The style for the feedback button was in the <style> block in the header.

    It worked just find in SeaMonkey and I found something of interest! (see below) but the position of the feedback button was fixed.

      ...
      position:
    
    
  •  

    My Boring Story

    Microsoft Office is making progress... or... is that really progress?!

    I got a great little surprised when I met face to face with Access 2007 and all the menus were gone. I wasn't warned about that one! Not only are they gone, you MUST use little tiny icons in the place of menus so it takes you an awful long time to learn the icons, but not just that, YOU have to choose which icons will appear on your toolbar.

  • I have noticed that quite a few people were trying to create UDP communication and I thought that proposing my class could help them. This is very basic as it does not define anything such as the size of a packet or any protocol to ensure arrival of the packets. However, it can be useful if you want to send a signal from one process to another, which is exactly how I use this implementation.

    This code is part of the Snap! C++ implementation. It can be found in the corresponding SourceForge.net repository.

    Header file:

    // UDP Client Server -- send/receive UDP packets
    // Copyright (C) 2013 ...
  • I spent hours today to find this one module: Rules.

    In most cases, you can set up a rule in Drupal with their Actions and Triggers and it will work just fine. The fact is that these options are extremely limited if you want any kind of condition on the Rule before triggering the action.

    The idea is very simple:

    1. Something happens

    2. Check whether it is of interest1

    3. Trigger the action

    I needed that functionality for a couple of websites because I wanted to get an event whenever someone created a new page, but not for any type of ...

    • 1. This part is what is missing in Drupal Core v6.x
  • Ada variables are complex objects. When developing a compiler, you must definitively take that in account. You have several sides to your variables: one you need to be able to handle dynamic variables since the compiler will have to be capable of doing all the operations on all the constant variables just as if you were executing your program and it has to handle all the tests necessary to ensure integrity.

    So... we need a library that can handle integers, a library to handle floating points, a library to handle arrays, etc.

  • Today AddThis is down, big time! For hours...

    So to make my websites load faster (although I did not delete all the caches, which is a problem too?!) I removed the functionality. If you have Drupal, there is what I have done to leave the settings the same but still hide the AddThis button and thus get all the pages of all my websites to load fast.

    First we remove the link by returning an empty array:

    /**
     * Implementation of hook_link(). 
     */
    function addthis_link($type, $node=NULL, $teaser = FALSE) {
    return array(); // immediate return
      $links = array();
    
      if ($type ===  ...
  • Managing your own Drupal Download Site

    The other day, I was thinking, it would be nice if I could find the way to manage my own download site so people who use my modules that I do not provide directly on https://www.drupal.org would still show as expected (i.e. Green in the update window).

    I found this page about it: https://www.drupal.org/node/210984

    This is done by creating a service in your Drupal environment. You should use the ready made script named:

    project-release-serve-history.php

    which you can find in the D6 version of the Drupal project named Project. Being very ...

  • If you are running a webserver, you should use a webserver firewall. This prevents many attacks from being perpetrated on to your servers without the need to make your own applications more complex than necessary.

    The idea is very simple, if you have a few people who can edit your data from the Internet and those have a static IP address, you can check that the editor pages are only accessible to those IP addresses. Any other access can simply be blocked.

    [toc hidden:1]
  • As I was working on a new Report, I had two fields with computations.

    These are easy to handle, for example, for a Total you write something like this:

    =[Quantity]*[Price]

    And you get a product of the quantity and the price.

    That works great. At first I had a very simple query and it looked like there was a problem in computed field, but I still decided to first add the WHERE clause to allow the user to limit the data to a given set of dates:

    WHERE (((Invoice.CreatedDate)>=[Enter start date:])
       AND ((Invoice.CreatedDate)<=[Enter end date:]))

    Notice all the parenthesis. Also ...

Syndicate content

     

Terms of Site Index

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

  • reboot

    The action of restarting a computer is called reboot. This reloads the operating system and your different auto-start software.

    There are two types of reboots: a cold reboot and a warm reboot.

    The cold reboot is the one where you turn your computer all the way off and back on. It is considered to be the ultimate reboot which ensures that everything is alright.

    The warm reboot is when you just reboot your operating system. This means some of the hardware parts may not be fully reset as expected in a cold reboot. There are several reasons for this, at times the BIOS of your system does not give the correct signals to all the parts, and at times the signal doesn't propagate to all the parts as it should.

    This is why a warm reboot does not always work (i.e. think when you change a driver and the new driver is not able to properly reset the state of a board or chip... turning the computer all the way off and back on may resolve the problem.)

  • shareware
  • theme
  • top
  • www-data