RSA is a cryptosystem, which is known as one of the first practicable public-key cryptosystems and is widely used for secure data transmission. In such a cryptosystem, the encryption key is public and differs from the decryption key which is kept secret.
In RSA, this asymmetry is based on the practical difficulty of factoring the product Read More →

Prime Factorization (or integer factorization) is a commonly used mathematical problem often used to secure public-key encryption systems.
A common practice is to use very large semi-primes (that is, the result of the multiplication of two prime numbers) as the number securing the encryption.
In order to break it, they would have to find the prime factorization Read More →

Gitweb est aussi une application CGI. Pour l'installer :

$ sudo yum install gitweb

Créons ensuite notre hôte virtuel dans le fichier /etc/httpd/conf.d/ avec le contenu suivant :

# git repositories

DocumentRoot /var/www/git/

# Logs Read More →

In this article we’ll explore the Dropbox PHP API by building a simple client for accessing files in a Dropbox account. The client will perform some basic operations, such as :

listing files,
downloading files.

Your starting point for anything related to development with Dropbox should be the Dropbox Developers Center where you can find the API Read More →

The current Matlab release, R2012b, only supports GCC 4.4 for compiling MEX functions on Linux.
On compute nodes, the installed GCC may be too old, but compiling a new version is not that hard.
The following script works for me on a Red Hat Enterprise Linux 5 machine. Note that these instructions build GCC with shared Read More →

ZSH is a shell designed for interactive use, although it is also a powerful scripting language. Many of the useful features of bash, ksh, and tcsh were incorporated into zsh.
ZHS is a shell for Unix systems that has been around since 1990 and is more sophisticated and configurable than most shells out there. There are Read More →

I discovered the Red Hat DevTools 1.1 for CentOS-5/6 ×86_64 and updated GCC tools on my CentOS 6.4 build machine from gcc version 4.4.7 to 4.7.
The devtools work great! I wished I had discovered them sooner. They use Software Collections (SCLs) that install all the tools under /opt directory without polluting any of the existing Read More →

C++ is a bunch of small additions to C, with a few major additions. One major addition is the object-oriented approach (the other addition is support for generic programming, which we'll cover later). As the name object-oriented programming suggests, this approach deals with objects. Of course, these are not real-life objects themselves. Instead, these objects Read More →

Before discussing classes, this lesson will be an introduction to data structures similar to classes. Structures are a way of storing many different values in variables of potentially different types under the same name. This makes it a more modular program, which is easier to modify because its design makes things more compact. Structs are Read More →

You have a sales table listing product, salesperson and amount:

id int(11) default NULL,
product char(5) default NULL,
salesperson char(5) default NULL,
amount decimal(10,2) default NULL
SELECT * FROM sales;
| id | product | salesperson | amount |
| 1 | radio | bob | 100.00 |
| 2 Read More →

If you’re a Linux user then you’ve probably used cURL. It’s a powerful tool used from posting mails to downloading the latest My Little Pony subtitles. In this article I’ll explain how to use the cURL extension in PHP. The extension offers us the functionality as the console utility in the comfortable world of PHP. Read More →
How many times have you developed a web application that had some functionality which would benefit from running an external program or even forking a separate process? This is not something you generally like to do from your web app because you want to make it run as fast and efficient as possible, while keeping Read More →

Design Pattern History
The term “design pattern” was originally coined in the field of architecture. Christopher Alexander, in his 1977 work, “A Pattern Language: Towns/Building/Construction,” describes common issues of architectural design and explains how new, effective designs can be created through the aggregation of existing, well-known patterns. Alexander’s concepts translate well into software development, where it’s Read More →

Setting up the REMOTE DEBUG C/C++ with Netbeans :
1. Create new C/C++

2. Setting-up the C/C++ Hosts from Services Tab

3. Create the C/C++ source code and create Select Build Host

4. Clean and Build the Project

5. Select from the Project -> Proprieties -> Run -> Console Type : Standard OUTPUT

6. Debug the builded Project after Read More →

A debugging tool to debug errors in C and C++ programs. A debugger is the best friend of a software programmer.This tutorial assumes you already know how to program in C and C++ and you can compile and execute programs.
GNU Debugger which is called gdb is the most popular debugger for UNIX systems to debug Read More →

Have you ever designed an ER Diagram in MySQL Workbench and wondered, just what is the difference between “Identifying” and “Non-Identifying” relationships? Non-Identifying Relationships have dotted lines, whereas Identifying Relationships have solid lines in MySQL Workbench. The difference is subtle but worth knowing.
When you create an identifying relationship, the primary key of the child table Read More →