Sommaire
Add a spinner
Add the font awesome files to your project (CSS and fonts files).
Import the font awesome style sheet in your index.html
<link rel="stylesheet" href="/assets/fonts/fontawesome/font-awesome …
Sommaire
Add the font awesome files to your project (CSS and fonts files).
Import the font awesome style sheet in your index.html
<link rel="stylesheet" href="/assets/fonts/fontawesome/font-awesome …
About a month ago, I started to make experiments with the webpack plugin for Aurelia in order to split my applications into multiple bundles. The application in question is a strategy game called Arena of Titans. You can see it there (click play to create a game, or use this …
read moreDepuis la version 3.4, Python dispose d'une classe Enum qui permet de créer des enums avec quelques propriétés intéressantes (itération, nombre d'éléments, accès aux éléments de l'enum comme ceux d'un objet ou d'un dictionnaire). Je vous laisse lire la documentation pour les détails.
Cependant, dans mon cas, je les …
read moreOn Arena of Titans a game based on the Aurelia web framework I am developing with a friend, we use Piwik to have statistics about our visitors. When we were about to launch the game, I realized that Piwik was not logging all the pages but only the pages on …
read moreNote: I wrote this post when aurelia-webpack wast still in pre 1.0.0 release. As niieani pointed out in the comments part of it may be outdated and you way want to use aurelia-webpack with easy-webpack instead. The general ideas are still valid though.
First thing first: why would …
read moreUpdate (2017-08-14): I finally published the part on Aurelia UX. See it here.
Updates (2017-01-24):
J'ai écrit des fichiers services pour utiliser seafile plus facilement avec systemd (à placer dans /etc/systemd/system/). Vous pouvez les télécharger :
[Unit] Description=The seafile cloud service Requires=mariadb.service After=mariadb.service [Service] Type=forking PIDFile=/var/www/haiwen/pids/seaf-server.pid User=seafile ExecStart=/var …read more
J'ai récemment eu besoin de lancer une tâche make pour plusieurs arguments. Je me suis demandé si on pouvait dans le Makefile, en passant une variable en argument sous la forme portals=geojb,n16, répéter une tâche plusieurs fois. Pour cela, il faut réussir à boucler sur l'entrée. Cela se …
read more