Developer / Coder / Programmer, you may have to celebrate something today!

That’s my list of events related to computer science that you have to celebrate at office with your colleagues. So you have no excuse to clean out your computer in February, do a backup in March or celebrate all your killed Bugs during the year in December. There is a lot of other days to celebrate, you can find my list and feel free to contribute.

And please, don’t forget to bring croissants at office…

January Event
15 Jan Wikipedia Day
25 Jan Macintosh Computer Day
28 Jan Data Privacy Day
February Event
04 Feb Facebook’s Birthday
08 Feb Clean Out Your Computer Day
20 Feb Introduce a Girl to Engineering Day
22 Feb World Thinking Day
March Event
14 Mar Pi day
31 Mar World Backup Day
April Event
05 Apr Annual CSS Naked Day
21 Apr High Five Day
27 Apr Morse Code Day
May Event
01 May CSS Reboot Day
22 May The Ethernet Birthday
25 May Geek Pride Day
June Event
23 Jun Alan Turing’s Birthday
July Event
06 Jul Take Your Webmaster to Lunch Day
22 Jul Pi Approximation Day
26 Jul System Administrator Appreciation Day
September Event
07 Sep Google Commemoration Day
12 Sep Programmer’s Day
20 Sep Software Freedom Day
October Event
16 Oct Steve Jobs Day
November Event
25 Nov Update Your Parents Browser Day
30 Nov Computer Security Day
December Event
02 Dec Kill a Bug Day


W04Y17 – Git, create a new repository from a current branch, disable HTTP logs in Express, Android mass storage and kill process on specific port

Create a new repo from an existing branch

As you know, it’s strongly recommended to create a new repository if a branch depends to another branch in your project… Basically, if you need to clone a repo twice and checkout each to a different branch to launch your project, it’es very bad!

So, the simplest method in three steps to create a new repo from a current branch is to:

> create your **new_repo** in GitHub
> cd to your local branch 
> git push +old_branch:master

Now, your new GitHub repository is up to date. The master branch corresponds to the branch in your old repo with all history preserved which is a very good point!

How to disable HTTP request logs in Node/Express.js

When you launch your application built on Node/Express, you’ll probably see a lot of logs for each resources (css, images, js, etc…)

GET /resources/styles.css 200 0ms
GET /js/lib/jmyawesomelib.js 200 0ms

The solution is to move the logging plugin below the resource plugin in the app init! or comment your morgan module (works on Express.js 4)


No more logs!

Mass storage troubleshooting

I figured some problems lorsque je branchais my Google Nexus 5X to my Macbook (also on a Windows machine too). It was impossible to do a mass storage to retrieve the phone content (photos, videos, downloaded files, etc…). I tried all the solutions found on forums and the only software that saved my life is Android File Transfer by Google for OSX.

Download Android File Transfer

Kill process running on a specific port

To kill a port that is running on a specific port, you need to execute the following commands. First, get the list of process running with corresponding ports and info:

netstat -a -o -n

Now, you get a list of process running on your machine, you only have to pick the PID corresponding the port you are looking to kill and replace 8080 below.

taskkill /F /PID 8080

Successfully killed, bye bye 🙂

SAP UI5 – Data binding without XML view for the sap.m.Table component

Here I’ll describe the best method I’ve found to bind data to the sap.m.Table component without using XML view, so only with JavaScript, programmatically.

Link to the sap.m.Table component in the SAP UI5 documentation.

First, you need to declare your dataset:

var oData = {
    'History': {
        'Entries': [
                'Type': 'nonFolder',
                'Name': 'LCMCompare',
                'Time': 'Jan 9, 2017 2:01 PM',
                'modifiedCount': '1'
                'Type': 'nonFolder',
                'Name': 'Another one',
                'Time': 'Jan 2, 2017 5:55 PM',
                'modifiedCount': '9'
                'Type': 'nonFolder',
                'Name': 'First comparison',
                'Time': 'Jan 9, 2017 4:41 PM',
                'modifiedCount': '4'

After that, you need to declare your columns definitions:

var oTable = new UI5Table({
    headerText: 'Compared:',
    columns: [
        new UI5Column({
            header: new UI5Label({
                text: 'Type'
        new UI5Column({
            header: new UI5Label({
                text: 'Comparison Name'
        new UI5Column({
            header: new UI5Label({
                text: 'Date/Time'
        new UI5Column({
            header: new UI5Label({
                text: 'Difference'

Now, it’s time to declare the table and to define the binding between the data and the columns: (in my case, I’m naming history as the root as my datasource)

var oModelTable = new sap.m.JSONModel(oData);
oTable.setModel(oModelTable, 'history');
var oTemplate = new UI5ColumnListItem({
    cells : [
        new UI5Text({
            text : '{history>Type}'
        new UI5Text({
            text : '{history>Name}'
        new UI5Text({
            text : '{history>Time}'
        new UI5Text({
            text : '{history>modifiedCount}'
oTable.bindItems('history>/History/Entries', oTemplate);

The last line in this example will bind your data following the root > and the path to the array to iterate through. Your table will be rendered with the data in your oData object. I would suggest to attach this binding with an object in your store, so changes will appear automatically.

Preview of the result: sap-m-table_ui5_result

W38Y16 – Setting up ADB on OSX, Android app icons generation, catch key press with Angular & DIY french webserie

Set up adb on Mac OSX

adb ADB is the command line tool to manage your Android phone and so install and run apps or different ROMs for example. Setting up ADB on Mac OSX is not quite easy and I lost time to configure it, so the line below will help you if you have to set it.

echo 'export PATH=$PATH:/Users/[yourusername]/android-sdks/platform-tools/' >> ~/.bash_profile

Generate icons Android app

Link launcher_icon_generator Launcher icons for Android apps are requested to be in several formats, and you’ll spent a lot of time if you want to build them in all the sizes. Here, you can find a tool from Roman Nurik where you just have to upload your image in a good format (512×512 minimum I think), and it will generate it for you in all those formats:

  • xxxhdpi
  • xxhdpi
  • xhdpi
  • hdpi
  • mdpi
  • web
  • hi-res

In addition, you can add some effects like square, circle, vertical/horizontal rectangle etc. Try it!

Bring life to TextView

demo3 Yes, it’s possible and it’s very nice! Thanks to HTextView, you can add some animation effects to your TextView fields. You only have to add the lib dependency to your project:

compile ''

and add the element to your xml layout:

    htext:fontAsset="fonts/font-name.ttf" />

You can find HERE, the github repository to this project hosted by hanks-zyh. Star and share it to your network!

Catch key press with Angular

keypress_white If you want to provide some assistance using keyboard shortcuts in your web app (using Angular as front-end framework), I recommand to use a bower library called angular-keypress (you can find the Github repo HERE). Get it from bower:

bower install --save angular-keyboard-shortcuts

Use it simply like this:

<a ng-click="goToPreferences()" keyboard-shortcut="control+,">Preferences</a>
<a ng-click="openSettings()" keyboard-shortcut="s">Open Settings</a>

Very useful and enjoyable for users, really.

DIY French webserie

A short webserie (8 episodes) about DIY projects is proposed by Arte. It’s called “Fais-le toi-mĂŞme” and it’s about creativity and inventions by makers. If you are passionate by Arduino and RaspberryPi stuffs or simply curious about it, go to check it!


All episodes are available HERE

One Week Of Hits – Prenez en main les tâches qui trainent!

Have an accomplishment to report every day

Après avoir lu le livre de Chad Fowler, « The Passionate Programmer » qui récapitule un ensemble d’anecdotes, de bonnes pratiques et de résolutions pour les développeurs – un passage a retenu mon attention.

Ce passage parle d’une mĂ©thodologie qui consiste Ă  se fixer un but journalier : prendre en main les tâches qui trainent et qui vont vous faire gagner un temps fou! Vous allez donc “faire bouger” UNE TĂ‚CHE QUI TRAĂŽNE au sein de votre Ă©quipe CHAQUE JOUR. Vous savez les trucs qui traĂ®nent, que personne n’a encore pris le temps de terminer (oĂą mĂŞme de commencer d’ailleurs…).

Vous allez les prendre en main!


Etape 1 : Isoler

pen-and-paper Pour commencer, il faut bloquer 30 minutes en fin de semaine (le vendredi par exemple) et se mettre dans une salle avec une feuille + un stylo : rien de plus! (ne soyez pas interrompu et ne quittez pas la salle avant 30 min)

Etape 2 : Lister

order Pendant les 30 minutes vous allez lister toutes les choses qui pourraient améliorer votre quotidien et celui de votre équipe (pensez aux choses qui sont relevées lors de vos scrum meetings par exemple). Pensez aux tâches qui feraient gagner du temps chaque jour et que personne n’a encore eu le temps ou l’énergie de développer (« ça serait cool d’automatiser ça… », « il faudrait cleaner ça… », etc.)


Etape 3 : Evaluer

heart Maintenant que vous avez une bonne liste de tâches rébarbatives, il va falloir les coster en fonction de leur « gain productivité / coût de développement ». Les tâches qui ont le meilleur ratio doivent être planifiées pour la semaine à venir (c’est évident :))

Etape 4 : Affecter

avatar Les 5 premières tâches doivent être affectées à chacun des jours de la semaine. Par exemple:

  • Lundi – Automatiser la build!
  • Mardi – Ecrire des tests sur le resultset
  • Mercredi – Clean dĂ©pendances projet
  • Jeudi – Script dĂ©ploiement de la web app
  • Vendredi – Fix des warnings de la compilation

Etape 5 : Agir

hammer-nailing-a-nail VoilĂ , votre planning est prĂŞt! Le lundi d’après, vous allez prendre la première tâche de la liste et agir – Bien sĂ»r, pas la peine de passer des heures dessus et de rĂ©aliser la tâche en entier, il faut simplement que ça bouge! Qu’il se passe quelque chose et que vous soyez actif au sein de votre Ă©quipe et pas seulement sur les tâches auxquelles on vous attend.


Le dĂ©passement des objectifs est un très bon facteur de progression Ă  tous points ; il faut alors communiquer sur les efforts rĂ©alisĂ©s, se rendre visible, et puis c’est tout naturellement que vous deviendrez une rĂ©fĂ©rence.

Une application ?

Et puis sinon, j’ai pensĂ© Ă  en faire une application (Android ou Chrome, je ne sais pas encore) puisque d’après mes recherches ça n’existe pas encore. Si quelqu’un est intĂ©ressĂ© pour donner un coup de main au dev, je peux partager le repo Github une fois qu’il sera lancĂ©.