Friday, February 26, 2016

Upgrade from Redmine 2.x to Redmine 3.x on a Windows server

Upgrade from Redmine 2.x to Redmine 3.x on a Windows server

Today I want to give a summary of the painful steps I came through to install Redmine on a windows server (sometimes, you can't chose). I assume that you have a backup of your database. Install Rails Pick the last installer on http://railsinstaller.org/fr-FR (take a look at the requirements here)

Friday, February 19, 2016

C++ : auto_ptr

C++ : auto_ptr

NOTE: auto_ptr is deprecated. Use std::unique_ptr instead !auto_ptr is a smart pointer facility.Usually, this is what we do when we manipulate pointers :void f(){   T* pt( new T );    /*...more code...*/    delete pt;}With auto_ptr, no need to delete the object anymore, it is all  taken care of !    void
C++ : const at the end of function declaration

C++ : const at the end of function declaration

class User{    public:        User();        User(std::string name);        void doSomething() const;    protected:        std::string m_name;};In .cpp:void User::doSomething() const{    // code}The const keyword indicates that *this (the object) is const on the method call. This declaration tells you that the object will not be modified within this function (in the example above, doSomething()
C++ : constructor initialization list

C++ : constructor initialization list

In the implementation of the constructor, it is possible to initialize internal members with an initialization list. It is basically a list of parameters following a semicolon (:) with their initialization values :Basic initializationclass Something{private:    int m_nValue;    double m_dValue;    int *m_pnValue;public:    Something()    {        m_nValue = 0;        m_dValue = 0.0;       
Hands on GPIOs

Hands on GPIOs

Now that we know what a GPIO is, let's try to write a driver that we will use further to play with our Pi. The reference document for this work is the BCM2835-ARM-Peripherals.pdf that you can easily find on the web. GPIO Registers GPFSELx : GPIO Function Select with
Emulate raspberrypi on Windows

Emulate raspberrypi on Windows

QEmu QEmu is a powerfuln and open-source machine emulator. It allows you to run OSes and programs made for specific target machines on your desktop computer. It can be compared to the popular VirtualBox and VMWare emulators but has a significant advantage in the fact that it can
Pages (14)123456

 
biz.