936 private links
Conditional rendering in React allows you to display different UI elements based on conditions. This is useful for handling authentication states, user permissions, loading states, and more.
Just like JavaScript provides if-else, ternary (? :), logical AND (&&), and switch-case, React also uses these methods for rendering components conditionally.
In this post, youâll learn about all these techniques, their best use cases, and best practices.
Security is essential for a GNU/Linux VPS (virtual private server) because attackers actively search for vulnerable servers to exploit.
Imagine hosting a website or some other service hosted on a VPS, and an attacker guesses the default password or exploits a known vulnerability, installs malware, and now what? Your customersâ data might be in danger, and you risk damaging your reputation.
In this post, you will explore the ways to secure a GNU/Linux VPS to ensure that you and your customers are safe.
Text fragments allow linking directly to a specific portion of text in a web document, without requiring the author to annotate it with an ID, using particular syntax in the URL fragment. Supporting browsers are free to choose how to draw attention to the linked text, e.g. with a color highlight and/or scrolling to the content on the page. This is useful because it allows web content authors to deep-link to other content they don't control, without relying on the presence of IDs to make that possible. Building on top of that, it could be used to generate more effective content-sharing links for users to pass to one another.
Example:
https://git-scm.com/docs/git-reset#:~:text=The%20HEAD%40{1}%20is,any%20other%20valid%20commit%20reference.
(result)
Access 271+ ready-to-use components and code snippets for HTML, React, CSS, and Tailwind CSS. Save development time with these pre-built solutions.
In this blog we are going to learn the format of systemd timers and their onCalendar field. You can find what systemd timers are and why they are a better alternative to cron over here
Si tu es nouveau ou nouvelle sur Mastodon ou si tu souhaites faire découvrir ce réseau social autour de toi ,
voici quelques ressources qui pourraient ĂȘtre utiles:
Présentation générale : c'est quoi Mastodon ?
https://tutox.fr/wp-content/uploads/conferences/mastodon_conference.html
Conseils pour utiliser mastodon:
https://fedi.tips/
Mastodon vs twitterX :
https://video.passageenseine.fr/w/iV5HFFbpXD8JoRdWnysq55
Créer un compte de secours :
https://tutox.fr/2023/09/23/deux-mammouths-valent-mieux-quun/
jQuery and its cousins are great, and by all means use them if it makes it easier to develop your application.
If you're developing a library on the other hand, please take a moment to consider if you actually need jQuery as a dependency. Maybe you can include a few lines of utility code, and forgo the requirement. If you're only targeting more modern browsers, you might not need anything more than what the browser ships with.
Part 3 of my in depth tutorial series on building a modern full-stack web app, using Java with Spring Boot, Javascript with Vue and NuxtJS, Docker, Heroku, Gitlab CI/CD. The goal of this part is that we want to prepare our web-apps for easy and modern deployment. We want to be able to quickly run our front- and backend on any machine and have the ability to scale the application if needed.
At this point we have a front- and backend that runs perfectly on our local machine. While this tutorial will make more sense if you completed the previous parts, it can also be helpful in general. The goal of this part is that we want to prepare our web-apps for easy and modern deployment. We want to be able to quickly run our front- and backend on any machine and have the ability to scale the application if needed. As with everything else there are plenty of ways to accomplish it. For this series we will work with Docker as it has gained incredible popularity over the past years. This tutorial is split into four subparts:
- What is Docker?
- Dockerizing the frontend
- Dockerizing the backend
- Running it all at once
Comme je lâai expliquĂ© ici et lĂ , je veux cesser dâutiliser les services des Big Tech amĂ©ricains. Heureusement pour moi, je nâen ai jamais utilisĂ© tant que ça.
Ceci Ă©tant dit, jâutilise un tĂ©lĂ©phone Android, et pas un Fairphone, ou un Murena, ou tout autre smartphone livrĂ© avec un systĂšme non propriĂ©taire dĂ©jĂ installĂ© (câest-Ă -dire basĂ© sur Android Open Source Project, mais sans les trucs de Google et de ses amis).
Ces systĂšmes dâexploitation sont prĂ©fĂ©rables, car:
- Ils ne nous espionnent pas et nâenvoient pas nos donnĂ©es Ă Google ou au fabricant de notre tĂ©lĂ©phone.
- Ils nous permettent de choisir les applications que lâon souhaite installer, sans en imposer aucune (on peut installer une application Google si on le souhaite, mais on nây est pas obligĂ©).
Dâautre part, le smartphone âtraditionnelâ est livrĂ© avec une version dâAndroid pleine de ~fonctionnalitĂ©s~ spywares Google, trĂšs souvent complĂ©tĂ©es par ~fonctionnalitĂ©s~ spywares du fabricant du tĂ©lĂ©phone (des logiciels redondants ou inutiles dans 90% des cas). Et ces smartphones nous obligent quasiment Ă crĂ©er un compte Google ou Ă nous connecter Ă leur Play Store pendant la phase dâinstallation.
Gérer efficacement vos dépÎts avec git sparse-checkout - Informatique générale - ShevArezo`Blog
Dans le monde du développement logiciel, Git est devenu un outil incontournable pour la gestion de versions. Cependant, avec des dépÎts de plus en plus volumineux, il peut devenir fastidieux de cloner l'intégralité d'un projet, surtout si vous n'avez besoin que d'une partie spécifique du code. C'est là qu'intervient la commande git sparse-checkout.
TL;DR
git clone --no-checkout <URL_du_dépÎt>
cd <nom_du_dépÎt>
git sparse-checkout init --cone
git sparse-checkout set src/
git sparse-checkout add bin/ templates/
git sparse-checkout list
git sparse-checkout
est un outil puissant pour gérer efficacement les grands dépÎts Git en réduisant la quantité de fichiers récupérés. Il permet d'améliorer les performances et de travailler plus efficacement en ne téléchargeant que ce qui est réellement nécessaire.
Hello, my name is Hugo and I've been blogging since 2003. Over the years, I've tested countless tools, platforms, and strategies to create and grow blogs.
Beyond blogging, I'm an entrepreneur who founded and scaled a startup to 700 employees across Europe. Throughout my journey, I've maintained my blog to share insights and lessons learned along the way.
I'm also the founder of BlogTally , a toolbox specifically designed for bloggers and content creators, and the creator of Bloggrify , an open-source static blog generator.
Joueur de CTF sur diverses plateformes, lâidĂ©e de ce site est de mettre Ă disposition de tous, les diverses rĂ©solutions de machines effectuĂ©es.
PassionnĂ© par la cybersĂ©curitĂ© et lâIT, les CTFs me permettent dâapprendre Ă©normĂ©ment sur les failles et lâexploitation de ces derniĂšres.
Quickly create and run optimised Windows, macOS and Linux virtual machines
A cartoon-style water effect with custom shaders, optimized for performance, built with React Three Fiber.
Iâm a Linux fan, and the main reason is because of its open source nature: I have been using it for years and I gotta say a lot has changed since the early days⊠If you remember re-compiling the kernel in order to install an application, you know what Iâm talking about⊠Fortunately that does not happen anymore(?), so do not freak out, not yet :).
This article will act as a looooong guide, which is goint to help you to install (and understand) Arch Linux with full disk encryption. We will review some of the concepts involved during our process, thus, we have a better picture of what we are doing.
System maintainance (and software maintainance in general) is an ongoing process that requires attention and responsibility.
So in this blog post I will summarize the key actions we can take in order to keep our arch linux installation healthy, optmized and fully working.
BTW, If you are NOT using Arch yet, I have a guide explaining how to install it from scracth and also a tiny wiki with information about daily tasks, process and guides.
Petites recettes personnelles Ă propos de ma gestion des emails, ce que je mets en place, et les conseils que je pourrais donner...
Certains observateurs sont surpris de voir que j'ai réguliÚrement zéro mail dans ma boite de réception (inbox).
Moi, je ne comprends pas comment peuvent faire les personnes qui ont 172 mails non lus dans une boite qui comprend 3297 mails les uns Ă la suite des autres.
If you have not heard of Pi-hole, then you are missing something cool. But do not worry, this Pi-hole setup tutorial will help you get rolling in minutes.
In simple terms, Pi-hole is an ad blocker, DNS sinkhole, and optionally a DHCP server.
In this Pi-hole Raspberry Pi setup guide, I will cover everything from Pi-hole introduction to installation and configuration. I will also share some basic maintenance steps and tips.
This will be an updated version of our Pi-hole Setup guide written back in 2020, focus on Raspberry Pi.
Je dĂ©teste acheter du matĂ©riel informatique pour deux raisons : parce que câest un achat imprĂ©vu causĂ© par la dĂ©faillance prĂ©maturĂ©e de mon matĂ©riel actuel, et parce quâil est trĂšs dur de sâassurer quâon ne va pas acheter de la camelote.
Lâacheteur aguerri ira bien entendu se renseigner en amont, mais franchement la plupart des guides ont une approche consumĂ©riste qui tiennent plus de lâunboxing que de la revue en profondeur. Ceci dit, je ne suis pas le premier Ă vouloir prendre la tangente, Ă lâimage de Kris De Decker du Low-Tech Magazine qui Ă©crivait Comment et pourquoi jâai arrĂȘtĂ© dâacheter de nouveaux ordinateurs portables.
Du coup jâai dĂ©cidĂ© dâĂ©crire mon propre guide dogmatique, plein de partis pris, mais qui aboutit Ă des recommandations concrĂštes, qui soit âactionnableâ comme on dit. Alors peut-ĂȘtre quâil ne vous plaira pas : nâhĂ©sitez pas Ă le critiquer sur votre blog, votre contribution sera un complĂ©ment bienvenu Ă ce guide, on a besoin dâinformation !
Mon constat de dĂ©part, câest que si votre budget est infĂ©rieur Ă 1 000 euros, vous aurez un bien meilleur ordinateur en tout point de vue en lâachetant dâoccasion plutĂŽt que neuf. Vous allez comprendre pourquoi !
This handbook will teach you the basics of TypeScript, including what it is, why it is useful, and the key features it offers.
TypeScript was created by Anders Hejlsberg, a prominent software engineer at Microsoft whoâs also known for his work on C# and Delphi. TypeScript was designed to enhance JavaScript by adding static types, making it easier to build and maintain large-scale applications.
Weâll start by using Vite to integrate TypeScript with a React project. Then youâll learn about key concepts like type annotations, type inference, and how to handle objects and arrays.
After that, weâll explore advanced topics such as union and any types, readonly properties, functions with specific parameter and return types, generics for flexible and reusable code, and the distinctive roles of type aliases and interfaces.
Iâll provide detailed examples and explanations throughout the handbook to give you a comprehensive understanding of how TypeScript's features can improve JavaScript development.