hello.js

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

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


Thursday, 11 May, 2017 UTC

What to Do When Discovering a Technology on a New Project?

What to Do When Discovering a Technology on a New Project?

As a developer, I find exciting and captivating to discover a new technology or to learn a new language. But how to do it effectively? Here are few tips you can try when beginning a project on a new technology : Understand the structure: learning how ... more


Wednesday, 3 May, 2017 UTC

React London 2017 Review

React London 2017 Review

On a breezy day in March, I, along with three other TheodoUK-ers, attended React London 2017. Standing in the stark light of the Westminster sun that silhouetted the brutalist architecture of the QEII Centre, we admired the conference’s production value ... more


Monday, 1 May, 2017 UTC

Learn To Code With Style: Use Linters!

Learn To Code With Style: Use Linters!

Are you tired of always writing the same comments on others pull requests? Are you tired of always reading the same comments on your pull requests? Stop wasting time, here’s the solution. Step One: Install linters on your project For your php files Inspired ... more


Wednesday, 26 April, 2017 UTC

How and When to Use Loopback Hooks!

How and When to Use Loopback Hooks!

Loopback is a node framework based on Express which provides the CRUD to accelerate high value features creation. However, these basic functions may not answer to your needs or partially. For example, you might want to send a mail to the owner of an ... more


Monday, 24 April, 2017 UTC

Adding Drag & Drop to Your Web App, the Simple Way (demos)

Adding Drag & Drop to Your Web App, the Simple Way (demos)

Drag & drop has become such a common feature on the web that people think it’s a no-brainer for developers. A few months back, a client told me: “How can it be that hard, it’s all over the internet!” and at that time I had no idea how to implement ... more