Menu principal

Statut de la page

Are you struggling with Nginx rewrite rules and $ ?

1 rewrite ^/that-s-my-original-uri/(with-my-folder)/(.*)$ /that-s-my-destination$$1/$2 last; See the \\($1</code> ?</p> <p>Are you trying to use a <code>\\) in the destination of your rewrite rule ? Then you may have try escaping it, and found out you can only do it via some LUA scripting you might not want or a third party plugin that you can’t use for X or Y reason. The constant result of this situation ? 1 nginx: [emerg] invalid variable name in /etc/nginx/sites-enabled/XXXXXXXX:YYY Ok so what’s next ? The idea would be to host the $ inside a variable. Sadly, the [...]
Lire la suite
Vus : 154
Publié par Francois Aichelbaum : 159

Chrome, Aw Snap and HTTP2

On a global purpose of optimisation of my website, I lately added some features and enhanced the HTTP2 delivery of the website. The performance restults are instantaneous. But, as there is always a but, it generated some random issues … with Google Chrome (and it’s opensource pendant, Chromium). The consequence of the bug was a almost random “Aw, Snap !” page : every time I clicked on an internal link or upon one load out of two. And only with Chrome and Chromium. First asumption as it only occurs with a specific browser, it was a code issue : either HTML or, more probably, JS. I started debugging the code with no luck about this one. I decided to create two very simple HTML page with just a basic HTML link towards each other. Again, no luck. Then, I guessed : when I get the “Aw, Snap” [...]
Lire la suite
Vus : 213
Publié par Francois Aichelbaum : 159

Lenovo T450 Wireless AC 7265 not working on Linux

Lately I discovered an issue with my WiFi adapter on my professional laptop (a Lenovo T450) : it was not working. Pretty inconvenient. After some digging, I tested and had to adapt part of things I found on Google. So, to begging with, the symptoms : no more wireless adapter in my NetworkManager or any other tools, including ifconfig dmesg reports issues loading the iwlwifi firmware< The dmesg output looks like : 1 2 3 4 5 6 7 [ 4.237444] iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-7265D-12.ucode failed with error -2 [ 4.237466] iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-7265D-11.ucode failed with error -2 [ 4.237479] iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-7265D-10.ucode failed with error -2 [ 4.237482] iwlwifi 0000:03:00.0: request for firmware file 'iwlwifi-7265D-10.ucode' failed. [ 4.237493] iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-7265D-9.ucode failed [...]
Lire la suite
Vus : 1685
Publié par Francois Aichelbaum : 159

Share a multifunctional printer (with your Synology)

So, lately, we decided to truly use several different computers at home. The fun part is that we want to share the same peripherals (as the multi-functional printer (here, as an HP PhotoSmart B109a), with different OS (for now, Linux and Windows). Let’s see how our Synology saved the day. The Synology NAS embed a Linux system so basically, we should be able to run most of the applications, as far as we can deploy/compile it. But, because the Synology guys wants to ease our life, they did a great thing : they offer the possibility to add a multi-functional printer and manage it. As far as they did great, the system only embed some drivers (and software - i.e. only cups) and for me, even if the printer is fully discovered, only the print services will be shared over network. So I had to complete the setup. First, I need to be able to extend the system with new package. As we have a pretty recent DS1515+, we don’t have any  [...]
Lire la suite
Vus : 1598
Publié par Francois Aichelbaum : 159

Home

Vus : 193
Publié par Francois Aichelbaum : 159
Vus : 181
Publié par Francois Aichelbaum : 159

Super Bowl 2016 - Trailers &amp; TV Spots

It’s Saturday morning. Some might just have a hangover. Others running all around. And a few, just do nothing (as me …. nah just kidding). So the Super Bowl was a month ago so let’s enjoy a compilation of all the Trailers and TV Spots to boost this weekend. Cheers up !

Vus : 175
Publié par Francois Aichelbaum : 159

My desktop replacement setup

Recently, I decided to move from a decent desktop setup to a desktop replacement setup. Here’s the why and the how of this move. For years, I had a barebone on my desktop with a huge screen : Xeon CPU with 4 core, but low voltage 8 GB Ram Nvidia Geforce ….. 128 GB SSD Dell 30“ As I stopped playing on my computer for at least the last 4 years, I noted several disadvantages of such setup : It consumes a lot of power (the power supply of the barebone and the screen consume a tremendous amount of power) It takes a lot of space just to surf If I want to go to another place with [...]
Lire la suite
Vus : 1144
Publié par Francois Aichelbaum : 159

How to update an ATT / Samsung Galaxy S6 Active ?

If, as me, you own a Galaxy S6 Active (SM-G890A) from AT&T, and you can’t update to Android 5.1.1, here is your solution. Over the last year, I busted two mobiles : I missed my pocked when trying to fit my phone in : the floor didn’t missed it, especally the screen The other one tried to swim without protection, whereas I put it into an airtight bag, in an airtight box, to prevent any issue … long but funny story Whatever … Next to these issues, I decided to get a rugged phone to ensure that I won’t bust another one or at least, not that fast. I googled for some time, avoiding the regular Chinese models you can find all over the place. Two models came out this digging : the one from CAT S30 (the S40 was not yet available) and one from Samsung (the S6 Active). I decided not to go with the CAT one, based on several reviews I got [...]
Lire la suite
Vus : 362
Publié par Francois Aichelbaum : 159

Petit scarabée : troisième !

Une quinzaine de jours est passée depuis mon dernier billet. Pas tant parce qu’il n’y avait rien a raconté, mais plutôt qu’il faut du temps et de l’énergie pour le faire. On continue donc la découverte du Kung-Fu traditionnel, mixé à la découverte de Chengdu. Comme introduit dans le premier billet, le kung-fu n’est pas juste un art martial mais est un art de vivre. Celui-ci s’accompagne donc de règles.  Elles se scindent en deux familles : les règles de moralités et les règles de comportement. Pendant que nous les revoyons continuellement, tout est prétexte à l’entrainement et aux démonstrations. [gallery show_title=“0” ids=“9054,9053,9047”] Les premières règles sont donc définies ainsi [...]
Lire la suite
Vus : 197
Publié par Francois Aichelbaum : 159
Powered by BilboPlanet