C - Library functions - Using daemon()

In this tutorial we will see the daemon() function.
This function is designed to launch a program in background.

So when you exectute a program it will start and if you want to stop it, just make a Ctrl + C.

The program will stop instantly.

Java - Variable - Casting

Let's see how to use casting in JAVA in a simple tutorial.

Let's see an example of casting variabless in JAVA, with String.valueOf() and Integer.valueOf() methods:

Java - Variable - Declaration

Let's see how to use variables in JAVA in a simple tutorial.

Let's see an example of variable declarations in JAVA:

Java - SE - Application HelloWorld.jar

You can transform a Java project into a JAR file. This JAR file is a Java Archive of several Java files.

Mozilla - Firefox - 4 - Number of downloads in real time in the world

The http://glow.mozilla.org/ website tracks all downloads for Firefox 4 since March the 22th, 2011.

You can see each upgrade or download of Firefox 4 in the world.
By clicking on the chart on the left bottom you will see more precise statistics from these downloads.

Drupal 7 - Configuration - Available menus of the Parent item of a book page

To change the available menus of the Parent item of a book page, you have to go in:

Home > Administration > Structure > Content types > Edit > Menu settings

There choose the menus you want to add by checking them.

UNIX & GNU/Linux - User commands - Using info

The info user command is designed to display all information about a command.

It is more detailled than the man user command with several menu.

For example you can go throw a menu and click ENTER to enter in this menu:

$ info open

In this info you can see this:

UNIX & GNU/Linux - User commands - Using man

The man of Linux can help us to find some helpful information of functions.
This manual is splitted into eight parts.

UNIX & GNU/Linux - System calls - Using stat()

The system call stat function is designed to retrieve statistics of a file or a directory.

Simply add the path of your file or directory in the first parameter, then the variable of type struct stat in the second parameter.

Java - SE - Application HelloWorld

This is an easy JAVA SE tutorial for a classic Hello World! code.

Let's start this JAVA SE tutorial with a simple example using Eclipse, NetBeans and a command line.


Subscribe to BadproG.com RSS