My name is Elyézer Rezende and I am a Red Hatter, Quality Engineer, Pythonista, Open Source advocate, Podcaster and Dad. You can connect with me on the following social platforms:

Running UI tests on Travis

Travis allows you to run Chrome and Firefox on their build environment and those can be used to run UI tests using Selenium. Today we are going to see how to install chromedriver and geckodriver in order to be able to run UI tests using pytest-selenium. To run those tests you will need to have your web application running so that Travis can access it and this article won’t cover that....

June 7, 2018 · 4 min · Elyézer Rezende

Using a C shared library with Python's ctypes module

To demonstrate how to create a shared C library and using it with Python’s ctypes library we are going to create a shared C library. First create the C header file mean.h: // Returns the mean of passed parameters double mean(double, double); Next create the C file mean.c: #include "mean.h" double mean(double a, double b) { return (a+b)/2; } Now we can create the shared C library by compiling it using gcc:...

March 9, 2018 · 1 min · Elyézer Rezende

Building and Distributing Packages with Setuptools

How to create and distribute Python packages with Setuptools

November 26, 2013 · 1 min · Elyézer Rezende

The Architecture of Open Source Applications

Great book about Open Source Applications architecture and performance

October 28, 2013 · 1 min · Elyézer Rezende

Create and use a shared library using Python's ctypes module

October 22, 2013 · 0 min · Elyézer Rezende

Backing up Beaglebone Black SD card image

Run fdisk to see the SD card partition table (use p command) sudo fdisk /dev/sdbCommand (m for help): pDisk /dev/sdb: 7948 MB, 7948206080 bytes245 heads, 62 sectors/track, 1021 cylinders, total 15523840 sectorsUnits = sectors of 1 * 512 = 512 bytesSector size (logical/physical): 512 bytes / 512 bytesI/O size (minimum/optimal): 512 bytes / 512 bytesDisk identifier: 0x00000000 Device Boot Start End Blocks Id System/dev/sdb1 * 2048 133119 65536 e W95 FAT16 (LBA)/dev/sdb2 133120 1638399 752640 83 Linux Add one to the end of second partition, this number will be used as count parameter of dd command, for example:...

October 16, 2013 · 1 min · Elyézer Rezende

How to mount a VirtualBox shared folder on a guest Linux system

September 26, 2013 · 0 min · Elyézer Rezende

How to install OpenVPN on BeagleBone Black

September 17, 2013 · 0 min · Elyézer Rezende

How to create a ring buffer table in SQLite

September 9, 2013 · 0 min · Elyézer Rezende

Instalando o node-sqlite3 na BeagleBone Black

Para instalar o node-sqlite3 na BeagleBone Black é necessário que o npm esteja atualizado: npm install -g npm Em seguida basta instalar o pacote node-sqlite3: npm install -g sqlite3 Observe que a flag -g foi utilizada para instalar no sistema. Para instalar localmente é só não utilizar a flag. O npm precisa ser atualizado pois a versão que vem instalada com a BeagleBone Black falha ao instalar pacotes que precisam ser compilados devido a um bug ao comparar a versão do Python....

September 4, 2013 · 1 min · Elyézer Rezende