Wednesday, May 11, 2016

Python : else clause on loop

Python : else clause on loop

In python, like in several other languages, break and continue statements exist to control execution flow. But when it comes to else, it is something new : for item in itemList:    if item == 'DeveloperLogBook':        print 'Item found'        break else:     print 'Item not found !' On the example
Python : django 1.8 + Restful api + ExtJs 6

Python : django 1.8 + Restful api + ExtJs 6

This article follows the basic steps to quickly create an application server with django and a PostgreSQL database. It will explain how to integrate ExtJs into a django project and will show some examples of templating. Install django dependencies sudo pip install django-filter djangorestframework django-rest-auth django-registration Generate views and
Python : django 1.8 + PostgreSQL shortened tutorial

Python : django 1.8 + PostgreSQL shortened tutorial

This article is a compressed version of the first 2 chapters of django official tutorial. It does not explain anything but simply goes through the basic procedures to create a application server in a short time. Installation instructions Django  sudo pip install django PostgreSQL  sudo apt-get install postgresql postgresql-client

Friday, April 15, 2016

Use SQL Compact Server 3.5 with Windows CE 7

Use SQL Compact Server 3.5 with Windows CE 7

Background I have a .NET CF 3.5 app running on Windows CE 6 that uses SQL Server compact 3.5. I want it to run on Windows CE 7. Here is an overview of how I achieved that. Attempt 1: No modification Simply build the code with the SDK

Thursday, March 24, 2016

Introduction to LCDs technology

Introduction to LCDs technology

This article gives an overview of the LCD technologies. It is a first step for who might want to design an embedded system with a color (touch) display. How does it work An LCD is an array of Liquid Crystal segments. These segments are polarized and organized randomly when
Pages (14)123456

 
biz.