Category Archives: Uncategorized

Buffer your life

It’s quite hard to realize how much chance we have at some moments in life. Our focus is on daily routings work and family.

We are non stop working more than 8h a day, and my feeling is that the job once you are off the network, you don’t disconnect right away. It takes quite a while to disconnect totally.

It’s like when you go on PTO, you always have a delay of a couple days before you can say that you have totally disconnected. Is this sensation the result of realizing that we feel great, happy and well positioned in a company?

Probably yes… there are so much to think about and especially there are so much things to think about on a day to day basis. We’d like to cover it all in a timely manner to free up some mind space but it’s impossible within 24h. You have the work time 8h and 8h of sleep. It’s 8h of free space!

Goal is to optimize most of your time on those 8h to get maximum peace of mind time. So you get automation within your life and add convenience as much as you can to reduce chores.

There is a famous citation saying: what is important is not quantity but quality. Quality falls into happiness when time is optimized as much as you can. Getting quality takes time.

The challenge is to anticipate the unanticipated. Easy to say but hard to do.

One thing that I’ve learn a while back when I was a student for being a Project Manager at HETIC school, is to create buffer spaces within the projects. It has a cost for companies. That usually a problem for companies as they prefer to name it differently as it’s seen as lost time not spent by the people that would be working on the projects to accomplish it.

In a family context it’s hardly applicable due to a human behavior discipline. Even on a couple relationships, discipline is sometimes overdriven by some noise tasks surrounding us.

Peace of mind is quite important in our lives at work and at home to lead to happiness. Mindfulness time is required in our daily life to have time to think about our day, month, accomplishments, feelings, sharing, caring moments. Buffer could be a solution. We sometime don’t want to create those moments as we don’t see any value – like a company – but this is the key to happiness from my point of view.

This is an essay on life.

Crée ton propre Netflix local avec la Freebox Delta

Objectif

Créer un Netflix-like sécurisé accessible depuis l’extérieur avec la possibilité de télécharger automatiquement les films/séries. Merci Swizzin.
Swizzin Logo

Pré-requis

  • Nom de domaine
  • Compte CloudFlare (idéalement le nom de domaine est déjà lié)
  • Freebox Delta
  • Postman

À installer

  • Radarr
  • Lidarr
  • Readarr
  • Jackett
  • Jellyfin
  • Let’s Encrypt
  • Panel
  • FFMpeg
  • Jellyseer (optionnel)

Préparation de la freebox

Depuis votre navigateur, aller sur https://mafreebox.freebox.fr/.

Vérifier dans “Paramètres de la freebox” > (Mode avancé) > Partage de Fichier / Partages Windows

  • Activer SMB2/SMB3
  • Activer le partage de fichier

Étapes

Installation de la VM

  1. Aller sur VM -> Ajouter une VM
    • Nom: “Swizzin
    • CPU: “2
    • RAM: Autant que vous pouvez (Possible de remplacer par plus de RAM)
    • Sélectionner “Choisir un système d’exploitation pré-installé parmi une liste
  2. Cliquer sur “Suivant
    • Système pré-installé: “Debian 11 (Bullseye)
    • Utilisateur par défaut: “freebox
    • Clé SSH: <votercléSSHk> (Linux/Mac command to retrieve key: pbcopy < ~/.ssh/id_rsa.pub)
    • Cocher “Accès aux disques Freebox
  3. Cliquer sur “Suivant
    • Choisissez l’espace que vous souhaitez allouer (42 par défaut semble largement suffisant). Les films et séries seront télécharger depuis l’interface Freebox donc les médias ne sont pas stocker sur la VM.
    • Une fois que c’est terminé de télécharger, cliquer “Terminer
  4. On peut maintenant “Allumer” la VM
  5. Attendre un peu que la VM ce lance et exécute tous les scripts cloud-init puis l’IP de la machine doit apparaître dans l’encart “État”
  6. Toujours dans l’onglet VM, cliquer sur Réseau > Configurer une redirection de port
    • Port de début : 443
    • Port de fin : 443
    • Port de destination : 443

Installation de Swizzin, applications et domaine

  1. Se connecter en SSH avec son Terminal (Linux/MacOS) ou Putty (Windows) “ssh freebox@<votreIPetape5>
  2. Une fois connecté et authentifier en tant que user: freebox, on change le mot de passe root: “sudo passwd
  3. Ensuite on s’authentifie en root, “su –
  4. Tape la commande : “bash <(curl -sL s5n.sh) && . ~/.bashrc
  5. Après quelques seconds/minutes, il y a l’assistant qui ce lance
  6. Valider “OK”
  7. Mettez un “username”
  8. Laisser le mot de passe vide il va vous en générer un
  9. Copier ce mot de passe et stocker-le précieusement
  10. Il demande si vous l’avez bien sauvegardé. Confirmer.
  11. Dans la liste sélectionner : radarr lidarr readarr jacket jellyfin let’sencrypt panel ffmpeg
  12. Puis valider
  13. Suivez les instructions pour Let’s encrypt (domain, Y, Y, Y API token, email), done!

Changer les permissions d’accès SMB au dossier de nos vidéos

  • Lancer la commande “sudo nano /etc/fstab
  • Changer la ligne où il y a le network mapping en prenant soin de changer uniquement la partie à partir de guest: “rw,guest,uid=1001,gid=1001,comment=cloudconfig”
  • Sauvegarder le fichier (CTRL+X, Y)
  • Lancer la commande “sudo umount /mnt/*
  • Lancer la commande “sudo mount -a

Voilà. Vous avez tout ce qu’il faut désormais pour télécharger, gérer et visionner vos films/séries via une seule et même interface.

I turned off my ad blocker after 10 years

uBlockPlus

And believe me, Internet is clearly in danger.

This happened just a few weeks ago while at work at the office, a colleague asked me an information that I knew exactly where it was on the company network. So, I’ve triggered quickly my bookmark shortcut to get straight to the information requested. It was a Confluence page which I’ve checked quickly regarding the quality of information and then promptly shared it to my colleague on Slack.

After moving to his desk for discussing about this topic I started to heard my CPU reaching the moon! Why? After closing my Confluence page it was back to normal but I wanted to know why my colleagues didn’t have this issue. After reading that this could be caused by some Chrome extension, I deactivate one by one while monitoring CPU usage through Chrome task manager.

Boom! Virgin Chrome! Problem solved!

Then forgot about reactivating my extensions one by one as I was navigating on corporate network websites (without ads). Surprisingly, my navigation was fluid and extremely speed. I was like a kid discovering a new optic fiber connection on my brand new computer back in 2010. But my excitement just dropped once I started to get on all websites I was regularly following…

Nytimes

Wow! How can you read consciously an article without being polluted visually while reading? Wait! Can we still talk about reading? The pattern used by the journal is extremely disturbing.

Le Huffington Post lots of distractions

YouTube

I’m a heavy consumer and early adopter of YouTube content. There are so much interesting educational videos on YouTube that I can almost not live without it anymore. I know advertising help content producer to make a living of it but there must be another way. Donations should be the solution, not agressive and EXTREMELY repetitive ads! Moreover, some friends are giving away their phone to their kids and they watch those advertising over and over. Not good at all either from an educational point of view.

Conclusion

After a few weeks using no ad blocker, I started to see what web was alike for my parents and for my step parents. Tricky ads hidden similarly to some content, very eye catchy banner, extreme tracking obviously which target with a sniper accuracy product they searched for.

But there is one thing that I noticed the most, it’s the waste of time! At work, it honestly impacted my productivity due to required scrolling, frenetic clicking crosses, video ads that you can’t skip and visual agression that you constantly have along the day.