How to get TextPad to highlight keywords? A Syntax definition file (as the log.syn.zip attached) contains the information TextPad uses to highlight keywords in different colors:

Textpad - highlight keywords with syntax definition

Textpad - highlight keywords with syntax definition

(more…)

DiggFacebookMySpaceTwitterTechnorati FavoritesEvernoteDeliciousShare
Tagged with: keywordtextpadtutorial
 

Positioning CSS elements.

In this section I will explain how to position CSS elements.

CSS positioning
(more…)

DiggFacebookMySpaceTwitterTechnorati FavoritesEvernoteDeliciousShare
Tagged with: boxCSSpositioningtutorial
 

CSS Margin Collapsing

Maybe many guys out there, when they start to learn how to use CSS, don’t know that when two or more vertical margins meet in a layout, they collaps to form a single margin. Which will be the height of this margin? simple.. the larger of the two margins.

This is true only for block boxes, in the normal flow of the document (not for inline, floated, absoluted positioned boxes..).

This is the case for example of two elements vertically aligned:

Margin collapsing tutorial

The result will be the following:

Margin collapsed

(more…)

DiggFacebookMySpaceTwitterTechnorati FavoritesEvernoteDeliciousShare
Tagged with: boxCSSmarginstutorial
 

CSS BOX Model.

One of the most important thing to understand about CSS is the Box Model. The Box Model how elements are displayed. Every element that we use in the page is considered to be a rectangular box. The properties for this box are as follow: content, padding, border and margin.

You can understand how this element interact from the following visual representation:

CSS BOX Model

(more…)

DiggFacebookMySpaceTwitterTechnorati FavoritesEvernoteDeliciousShare
Tagged with: bordersboxCSSmarginspaddingtutorial
 

In this tutorial we will explain how to make coffee or espresso with an Italian Moka machine!

First of all let’s show how a Moka machine looks like:

Moka coffee machine.

(more…)

DiggFacebookMySpaceTwitterTechnorati FavoritesEvernoteDeliciousShare
Tagged with: coffeemokatutorial
 

How to avoid SPAM attacks to your blog? How to improve the performance of your blog?

A common problem for bloggers is the time wasted checking and deleting SPAM comments that they get to their blogs, time that could be turned into content creation! this could be possible using an automated spam killer plugin that could do the job of controlling and marking new spam comments as SPAM.

feature AKISMET PLUGIN

One first simple solution for the SPAM problem is to use the Akismet plugin for WordPress!
(more…)

DiggFacebookMySpaceTwitterTechnorati FavoritesEvernoteDeliciousShare
Tagged with: pluginspamtutorialWordpress
 

How Windows Live Messenger works.

How does Windows Live Messenger works? there are millions of users typing messages everyday but maybe few of them ever asked themselves how the messenger really works! so here I wrote a little post about it.

Windows Live Messenger it’s an hybrid Client-Server / Peer-to-Peer application.

It basically started as a client-server application.

Let’s say that the client A wants to contact the client B. The client A logs in a CS (Connection Server) through a persistent TCP connection (eventually using proxy,gateway..). Behind the CS there are the PS (Presence Server).

Each person get always the same particular PS, which is where your personal status message, description of your user photo and similar things are stored.

Windows Live Messenger architecture

Another element of the architecture is the Address Book. The client A gets directly from the Address Book his list of contacts.

Then the client A tells to his CS who his friends are, the CS subscribes to his friend’s PS to get the presence information that are sent up through the client server connection.

If the client A change his status to OffLine for example, the change goes up to the CS of A, then to the PS of A, then down to the CS of B through the subscription and then down to the client B.

CHAT

If the client A wants to chat, tells to his CS that wants to contact somebody, and the CS tells A to contact a Mixer, which sends IM traffic to a destination, for example to B (passing through the CS of B). Then A and B can communicate through the Mixer. (more…)

DiggFacebookMySpaceTwitterTechnorati FavoritesEvernoteDeliciousShare
Tagged with: chatsoftwaretutorialWebWindows