Category: Non classé
-
Rails 7 and Turbo Streams Subscribed Only to Focused Windows
When using streams to broadcast notifications it happens what it should: notification are broadcasted! Which means all open window that subscribed to the notification channel will get the message. This is most of the time the desired behavior, but not always. In our case, streams are used to notify the user of her last action…
-
Nginx-Ingress Reverse Proxy in Front of an Object Storage for inflexible WebGL and stubborn CORS
Rationale: in an Unity App generating WebGL with remote-assets loading where we have very little control on the generated code, I’m limited to one solution and it’s to comply with CORS: hosting assets in the same domain as the app is running in.In this context it seems indeed impossible to set correctly the crossorigin attribute…
-
Remove VPN/Network from Unify Controller using Command Line
After migrating a site from a self hosted network controller to a new Unify Cloud Key, I found myself in an annoying position: not being able to remove an old VTI VPN (from the previous configuration). The UI just didn’t offer this option like it should and actually does for other networks and VPNs. Searching…
-
A nice nix-shell for Odoo
Since I recently switch to nixos and I’m working with odoo for a project, I had to update my debianesk habits and take what nixos has probably best to offer: an ultra-customized and optimized development environment using nix-shell. This comes at the cost of extra readings and code, but the result offer a great flexibility.…
-
rsnapshot on Qnap with Firmware 4.x
I find that rsync is still the best solution to plan backups of remote hosts (and in general) and rsnapshot is its best companion. This combo enable incremental backups on any sort of device running a decent *nix os. The story with Qnap and community packages is quite long. In a nutshell, the installation of…
-
Thinkpad Carbon X1 1st-3d Gen and Ubuntu 18.04
My dear friend Dirk just bought a second-hand Carbon X1 first generation, just like mine (3448 serie). I thought he might need a quick help to get going with Ubuntu 18.04 and this machine. Note that the content of this tutorial works for the 2nd and 3rd generation (20BS serie) as well. UPDATE(2019-08-18) I just…