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.

Objective-C - Design pattern - Delegation

Delegation principle is that an object sends messages to its delegate to ask or to notify it that something is occuring.

The main example is the Application that sends messages to its delegate to tell it that the routines are ready and the custom configuration can start.

Objective-C - Design pattern - Model-View-Controller - MVC

The MVC pattern is certainly the most famous one.
It allows to dispatch the work in 3 concepts: The Model, the View and the Controller.
This concept exists in all programming languages.
So it's easy, when you understood it, to apply your knowledge with all others languages.

C - General Programming - Return value of a if statement without any condition

To test a condition in a if statement without any condition, the result has to be other than 0 to test a true condition.

Let's see an example of a if statement without any condition:

UNIX & GNU/Linux - User commands - Using wc

The user command wc is a GNU/Linux tool written by Paul Rubin and David MacKenzie.

It helps us to display the number of lines, words and bytes counted in one or several files.

Let's see an example of the user command wc by executing this command in our favourite terminal:

C - Bitwise operation - Bit shift in decimal

Let's try to transform a binary into a decimal with a simple loop.

Let's see this example of a bit shift into a decimal display:


Subscribe to BadproG.com RSS