$ cd /home/Lu/

Keep-learning Lu

17 Oct 2021

部署Hugo

通过编写Hugo服务的buildout,将该软件部署在SlapOS软件栈中。
18 Dec 2020

Ansible to Conditionally Prompt for Variables

As a part of the installation of [SlapOS node](https://deploy.erp5.net/slapos), the Ansible playbook is written in `yml` file. Since it is the first time I worked with ansible playbook, I surely don't much about it while I do try to realise a function: conditionallise the prompt for variables.
19 Sep 2020

Face Server

Dans la vie quotidienne, chacun a l’habitude d’identifier tout au long de la journée les différents visages qu’il a croisé. Lorsqu’on rencontre une personne, notre cerveau va chercher dans notre mémoire et vérifier si la personne considérée est connue ou non. Reconnaître un individu est une tâche relativement simple pour les êtres humains, en est-il de même pour une machine ? C’est dans cette optique que s’est créé le projet Face Server dont l’objectif final est de concevoir un moteur de reconnaissance faciale, pilotable par une interface utilisateur intuitive et utilisant des modèles d’intelligence artificielle récents et performants.
23 Aug 2020

Translate Hostingjs Site in Chinese

Recently, I was working on translation of [slapos console site](https://slapos.vifib.com/). In this post, I will explain how to realize the translation of the site(especially the javascript part), invoving in ERP5 system based on Zope. While in these Javascript files, I will play with [Renderjs](https://renderjs.nexedi.com/) and RSVP to generate the translated site. Besides, unit test is crucial too. I will present a way to simplify the related test zuite in multi languages, making it more automatically.
24 Jul 2020

One Command to Revert Your Customised Theme

One command to revert your Customised theme back to original Ubuntu desktop. There is no need to reset your computer.