
Un autre dΓ©menagement
Je voudrais commencer en dissant que ce-ci est mon premier post en francais (jβai utilise languagetool.org), alors aies-moi patience. Il fait dΓ©jΓ 1+ an que moi et ma famille, nous avons dΓ©mΓ©nagΓ© en Belgique. Je ne me sens pas Γ©tranger aux dΓ©mΓ©nagements disruptifs comme ce quβon a fait, mais de le faire avec un enfant de cinq mois, cβΓ©tait Γ©normΓ©ment dur. DΓ¨s que je suis arrivΓ© en Belgique, au travers du systΓ¨me dβimmigration, jβΓ©tais obligΓ© de mβenregistrer Γ la commune pour commencer mon processus pour vΓ©rifier mon statut et pouvoir recevoir ma carte de sΓ©jour. ...

1000 days of Duolingo
I have just completed a 1000 days streak on Duolingo learning French (from English) and I wanted to make a blog post dedicating this achievement to Duolingo and all the language enthusiasts that are using it across the world. In my humble opinion, as a technologist and ethusiast myself, Duolingo is one of the best apps that have ever existed. I have to say that there wasnβt any time while using it where I didnβt notice the effort that went into building it. From the language coverage, to the speech features to the gamification mechanics. ...

Is Github Alive
Itβs been recently noticeable that me and my team have had to halt development or progress due to a Github outage. This has been much more visible since Microsoft acquired Github As an SRE myself, I canβt help but wonder what is going on at Github/Microsoftβ¦ Is it because Github moved to Azure and the real cause of unrelaiblity is that Azure canβt cope? Is it because Github has a ton more features that are not well built? ...

Advice for Junior DevOps
Hey blog, long time no see. Iβve been incredibly busy these last couple months. Apologies to you for not updating your content as often as Iβd like to. I intend to post this in HackerNews, so if youβre coming from there, hello π ! Recently, someone approached to me in Reddit asking me if I had any general advice for an βfirst time | entry-level | junior DevOps Engineerβ While I disagree on that request because I believe that: ...

Bash Prank
I remember of coming up with a random joke prank, so when I stumbled upon this comment in the /r/bash subreddit, I absolutely had to try it. I modified it slightly and used a one-liner jokes list I found in Github too. It works in macOS monterey 12.2.1 Hereβs what it does: Sets the volume at maximum Creates a temp dir in ~ ($HOME) Downloads a list of jokes from Github Select one randomly and say it out loud using the computer speakers Remove the list of jokes #! /bin/bash # ββββββββββββββββββββββββββββββ # βββββββββββββββββββββββββββββββ # βββββββββββββββββββββββββββββββ # βββββββββββββββββββββββββββββββ # βββββββββββββββββββββββββββββββ # βββββββββββββββββββββββββββββββ # βββββββββββββββββββββββββββββββ # βββββββββββββββββββββββββββββββ # βββββββββββββββββββββββββββββββ # βββββββββββββββββββββββββββββββ # βββββββββββββββββββββββββββββββ # βββββββββββββββββββββββββββββββ # βββββββββββββββββββββββββββββββ # βββββββββββββββββββββββββββββββ # βββββββββββββββββββββββββββββββ # Get current volume cur_vol=$(osascript -e 'output volume of (get volume settings)') # To restore vol to current level restore_vol=$(echo ${cur_vol}/14 | bc) # Get bool if muted mute_state=$(osascript -e 'output muted of (get volume settings)') # If system doesn't have gshuf, not gonna work if [ ! -f $(which gshuf) ] ; then exit ; exit fi # Set vol to max osascript -e "set Volume 10" # Create temp dir if [ -d ~/temp ] ; then tempe=1 else tempe=0 mkdir ~/temp fi # Create list of annoying things to say curl -s https://raw.githubusercontent.com/jpf/dial-a-joke/master/jokes/www.textfiles.com/humor/JOKES/onelinrs.txt > ~/temp/jokes # Use gshuf to generate radom permutations # Use -n1 to get a phrase from list # Pipe it to say to transform text to speech (macOS) # Select a random voice that supports en_ (english) gshuf -n1 ~/temp/jokes | say --voice $(say --voice '?' | grep en_ | gshuf -n1 | awk '{ print $1 }') # Restore volume osascript -e "set Volume ${restore_vol}" if [[ ${mute_state} == "true" ]] ; then osascript -e 'set volume output muted true' fi # Cleanup if [[ ${tempe} = 0 ]] ; then \rm -Rf ~/temp else \rm -f ~/temp/jokes fi Put it somewhere hidden like /usr/local/tmp and change the mod to executable ...