Posts Tagged ‘programming’
Le mot-clé “restrict”

Il y a quelques minutes encore, étudiant le code contenu dans color_yuv2rgb.c dans xawtv, je ne connaissais pas ce mot-clé du langage C (défini dans la norme C99). Je suis alors tombé sur ce site qui ma fait sourire. L’auteur a rédigé le “contrat” du mot-clé “restrict” pour vulgariser son utilité:
“THE RESTRICT CONTRACT
I, [insert [...]

Autoconf, Automake, and Libtool

The tutorial I’ve always been looking for: http://www.openismus.com/documents/linux/automake/automake.shtml
Concise, and with some examples

MPLAB 7.60 under Wine

In a nutshell (supposing you start from scratch):

$ sudo apt-get install wine cabextract
 
$ rm .wine/drive_c/Program Files/Microchip -rf (to remove anything that failed)
 
$ wget http://kegel.com/wine/winetricks
 
$ sh winetricks vcrun6
 
$ wget http://ww1.microchip.com/downloads/en/DeviceDoc/mp760a.zip
 
$ unzip mp760a.zip -d microchip
 
$ wine Install_MP760a.exe
 
$ wineserver -k (to get rid of splash screen at the end of install)
 
$ sh winetricks dcom98
 
$ wine .wine/drive_c/Program Files/Microchip/MPLAB IDE/Core/MPLAB.exe

I [...]

Set syntax color highlighting and line numbering in vim

Simply add these lines to your ~/.vimrc:
:syntax enable
:set number
You will end up with a nice interface that may looks like this:


Twitter Updates
    Archives
    Categories