hello.js

var please = require('share');
console.log('thank you');

Tuesday, 13 February, 2018 UTC

Making Amazon Dash Buttons Useful: By building a doorbell!

Making Amazon Dash Buttons Useful: By building a doorbell!

A few years ago Amazon came out with the Amazon Dash Button, a small internet connected button that can be used to reorder common household items. Such a small, cheap and well-made internet connected button seems like a godsend for the IOT developer ... more


Monday, 12 February, 2018 UTC

How to scrape websites in 5 minutes with Scrapy?

How to scrape websites in 5 minutes with Scrapy?

Scraping a website means extracting data from a website in a usable way. The ultimate goal when scraping a website is to use the extracted data to build something else. In this article, I will show you how to extract the content of all existing articles ... more


Monday, 12 February, 2018 UTC

IOT Provisioning, As A Service: Resin.io

IOT Provisioning, As A Service: Resin.io

An IOT Container Engine When preparing a company-wide IOT(Internet of Things) hackathon I wanted to ensure all the Raspberry Pi devices we planned to use were ready for people to throw code at without needing monitors, keyboards, setting up ssh keys ... more


Wednesday, 31 January, 2018 UTC

Tips and tricks for date handling with moment.js

Tips and tricks for date handling with moment.js

Handling dates when dealing with timezones is a difficult task. Fortunately for us, there are many libraries like moment.js helping us to handle common issues like timezones, daylight saving time, manipulation and date formatting. I recently encountered ... more


Wednesday, 31 January, 2018 UTC

Deploy Your First Ethereum Smart Contract on a Blockchain!

Deploy Your First Ethereum Smart Contract on a Blockchain!

Understanding the concepts behind a blockchain is not as hard as one could imagine. Of course some specific concepts of a blockchain environment are harder to understand (e.g. mining) but I will try first to give you a simple introduction to the most ... more


Monday, 22 January, 2018 UTC

Disable the Sync of Sub-Folders in your Vagrant

Disable the Sync of Sub-Folders in your Vagrant

Vagrant offers the possibility to sync files between your host and your VM, a great way to edit your code on your favorite IDE while being able to run it in a VM. Not all files are worth syncing though – have you ever wished to specifically avoid syncing ... more


Friday, 12 January, 2018 UTC

React and HTML : Beware of the traps

React and HTML : Beware of the traps

If you ever used React you may have noticed that you can easily forget how to write a static webpage because it adds a layer of abstraction that changes the way the page is created. But in the end, all code written in JSX will generate a classic DOM. ... more


Thursday, 21 December, 2017 UTC

Clean your Tests from React-Intl “Missing message” Errors in Console

Clean your Tests from React-Intl “Missing message” Errors in Console

Why is it important? While programming on a project, you run your tests all the time, so it’s important not to lose time analysing the results of your tests. We want to immediatly spot which tests are failing, not being disturb by any flashing red false ... more


Monday, 4 December, 2017 UTC

Improve Your Website Security in 5 Minutes With These HTTP Headers

Improve Your Website Security in 5 Minutes With These HTTP Headers

By default, a lot of security flaws are introduced when you create a website. A few HTTP headers added in your web server configuration can prevent basic but powerful attacks on your website. If you really have only 5 minutes, you can skip to the end ... more


Saturday, 11 November, 2017 UTC

Your Preact Progressive Web App using Preact-CLI, Webpack, Material Design and Web APIs

Your Preact Progressive Web App using Preact-CLI, Webpack, Material Design and Web APIs

This article will introduce you to the world of Progressive Web Apps, to the Preact framework and to Web APIs. It will guide you through 15 minutes of code to create your first Preact Progressive Web App! Status of PWAs today Progressive Web Apps are ... more


Friday, 3 November, 2017 UTC

How to Implement an Antivirus API in 10 min

How to Implement an Antivirus API in 10 min

I recently had to allow customers to upload files on a website, then send their content to an external API. We had a few requirements for the files to be valid and one of them was to ensure they were checked for any virus before posting their content ... more


Thursday, 2 November, 2017 UTC

How to Implement an Antivirus API in 10 min

How to Implement an Antivirus API in 10 min

I recently had to allow customers to upload files on a website, then send their content to an external API. We had a few requirements for the files to be valid and one of them was to ensure they were checked for any virus before posting their content ... more


Wednesday, 1 November, 2017 UTC

Building a Trump/Obama Tweet Classifier with 98% accuracy in 1 hour!

Building a Trump/Obama Tweet Classifier with 98% accuracy in 1 hour!

This is a running blog written during my attempt to build a Trump-Obama tweet classifier in under an hour, providing a quick guide to text classification using a Naive Bayesian approach without ‘recoding the wheel’. Note: This is less a tutorial on Machine ... more


Wednesday, 1 November, 2017 UTC

Building a Trump/Obama Tweet Classifier with 98% accuracy in 1 hour!

Building a Trump/Obama Tweet Classifier with 98% accuracy in 1 hour!

This is a running blog written during my attempt to build a Trump-Obama tweet classifier in under an hour, providing a quick guide to text classification using a Naive Bayesian approach without ‘recoding the wheel’. Note: This is less a tutorial on Machine ... more


Monday, 23 October, 2017 UTC

How to write the perfect React component (a Theodo standard)

How to write the perfect React component (a Theodo standard)

What is the perfect React component? The component should have one purpose only, rendering The component should be small and easily understandable The component should rerender only if needed How to create the perfect React component? Logic Functions ... more


Monday, 23 October, 2017 UTC

How to write the perfect React component (a Theodo standard)

How to write the perfect React component (a Theodo standard)

What is the perfect React component? The component should have one purpose only, rendering The component should be small and easily understandable The component should rerender only if needed How to create the perfect React component? Logic Functions ... more


Monday, 23 October, 2017 UTC

Add online payment on your Symfony project in half a day

Add online payment on your Symfony project in half a day

As a way of getting incomes from your web application you often need to setup a way for your user to pay through your website. Usually thanks to a form where your user will fill it’s banking information. It may sounds like a big feature to implement ... more


Sunday, 22 October, 2017 UTC

Add online payment on your Symfony project in half a day

Add online payment on your Symfony project in half a day

As a way of getting incomes from your web application you often need to setup a way for your user to pay through your website. Usually thanks to a form where your user will fill it’s banking information. It may sounds like a big feature to implement ... more


Wednesday, 11 October, 2017 UTC

The lamp, the tunnel, the lean

The lamp, the tunnel, the lean

This article is about IOT, DIY and lamps, and a little bit of lean. So 2 weeks ago we bought some lamps! And since we are a bunch of nerds we bought a bridge to play with them. I am not going to hide the brand to make this article clearer. So we had ... more


Wednesday, 11 October, 2017 UTC

The lamp, the tunnel, the lean

The lamp, the tunnel, the lean

This article is about IOT, DIY and lamps, and a little bit of lean. So 2 weeks ago we bought some lamps! And since we are a bunch of nerds we bought a bridge to play with them. I am not going to hide the brand to make this article clearer. So we had ... more


Thursday, 28 September, 2017 UTC

The Day Words Became Vectors

The Day Words Became Vectors

What is word vectorization? Word vectorization refers to a set of techniques that aims at extracting information from a text corpus and associating to each one of its word a vector. For example, we could associate the vector (1, 4, -3, 2) to the word ... more


Thursday, 28 September, 2017 UTC

The Day Words Became Vectors

The Day Words Became Vectors

What is word vectorization? Word vectorization refers to a set of techniques that aims at extracting information from a text corpus and associating to each one of its word a vector. For example, we could associate the vector (1, 4, -3, 2) to the word ... more


Friday, 1 September, 2017 UTC

How To Make Siri your Perfect Home Companion With Devices not Supported by Apple Homekit

How To Make Siri your Perfect Home Companion With Devices not Supported by Apple Homekit

Why Homekit? Homekit is a home accessories management framework developed by Apple. It allows Apple devices’ owners to control connected objects from different manufacturers using a single interface. It enhances Siri’s capability to interpret commands ... more


Thursday, 31 August, 2017 UTC

How To Make Siri your Perfect Home Companion With Devices not Supported by Apple Homekit

How To Make Siri your Perfect Home Companion With Devices not Supported by Apple Homekit

Why Homekit? Homekit is a home accessories management framework developed by Apple. It allows Apple devices’ owners to control connected objects from different manufacturers using a single interface. It enhances Siri’s capability to interpret commands ... more


Friday, 11 August, 2017 UTC

Serverless Applications with AWS and Travis: Make Deployment Great Again

Serverless Applications with AWS and Travis: Make Deployment Great Again

The purpose of this tutorial is to automatically deploy a serverless API with two deployment environments (development and production) from scratch. Using the Amazon Web Services (AWS), this will be a matter of minutes! We will use Node.js and several ... more


Friday, 11 August, 2017 UTC

Serverless Applications with AWS and Travis: Make Deployment Great Again

Serverless Applications with AWS and Travis: Make Deployment Great Again

The purpose of this tutorial is to automatically deploy a serverless API with two deployment environments (development and production) from scratch. Using the Amazon Web Services (AWS), this will be a matter of minutes! We will use Node.js and several ... more


Wednesday, 26 July, 2017 UTC

Theodo React Summer School – Mise en place de Redux

Theodo React Summer School – Mise en place de Redux

Bonjour à tous, Nous organisons tout l’été des cours sur React au sein de Theodo. Cette 3ème session aura lieu le mercredi 2/08/2017 à 19h dans nos locaux près du métro Rome. Nous l’ouvrons aux personnes extérieures qui souhaitent apprendre à mieux maîtriser ... more


Tuesday, 25 July, 2017 UTC

Load Scripts in Your React Bundle Asynchronously: Win at SEO!

Load Scripts in Your React Bundle Asynchronously: Win at SEO!

On my current project, the team (and our client ) realised our React website performance rating was below industry-standard, using tools like Google Page Speed Insights. As reported by the tool, the main cause for this are render-blocking scripts like ... more


Wednesday, 17 May, 2017 UTC

Set Up Continuous Deployment on Electron Using Squirrel

Set Up Continuous Deployment on Electron Using Squirrel

If you are a web developer, you would be amazed by the possibilities that a desktop application offers. Just give a look at the applications listed on electron website to have a quick glance of the infinite opportunities offered by such a technology. ... more


Friday, 12 May, 2017 UTC

Good Practices For Testing Database Interactions

Good Practices For Testing Database Interactions

Here is what I learnt while testing backend calls to the database on a project using node.js with Loopback and a PostgreSQL database though this article would apply to any technology. Basically, it all goes back to saying that each test should have full ... more