
Senior Software Engineer @alma_pay | ex Somfy Protect Myfox, @Makina_Corpus
Toulouse, France
Joined April 2012
- Tweets7.8K
- Following734
- Followers363
- Likes5.2K
Simon Prévidente retweeted
URL avec @ : attention aux arnaques et aux redirections frauduleuses dlvr.it/T0HkNL
Simon Prévidente retweeted
Le programme de l'édition 2023 qui se tiendra les 18 et 19 novembre à l'@INP_N7 est désormais en ligne:
capitoledulibre.org
Simon Prévidente retweeted
Python 3.11.6 Released #python pythoninsider.blogspot.com/2…
Simon Prévidente retweeted
Don't forget that you can use the equals sign in an f-string in #Python!
You can also put spaces around the equals sign inside the curly braces for even more readability! 🐍🔥
Simon Prévidente retweeted
Django tip:
The "earliest()" method retrieves the 'earliest' object based on a designated field, usually a date-time but can be any ordered field.
If your model's Meta has "get_latest_by", "earliest()" will use that field in reverse order.
Simon Prévidente retweeted
Je n'y pense pas souvent, mais la notation "heredoc" dans les Dockerfiles, c'est plutôt sympa
Simon Prévidente retweeted
Mermaid support coming to Excalidraw! @mermaidjs_ 🧜♀️
Try out the beta below, and tell us how you will use it!
🔥 mermaid.excalidraw.com 🔥
Simon Prévidente retweeted
Stop re-inventing the wheel and just use <button> to create a button.
If you're worried about default button styles, use `all: unset`. This one line of #CSS will strip all default browser styles so you can apply your own.
Simon Prévidente retweeted
Il parait qu'on peut apprendre le Rust en moins d'une heure : fasterthanli.me/articles/a-h… (via @[email protected])
Simon Prévidente retweeted
Je ne compte plus le nombre de fois où j'ai dû régler ces problèmes d'alignement. La semaine dernière, je suis tombé sur une nouvelle façon de le régler : CSS Grid & le méconnu `display: contents`.
Je vous en parle ici ⬇️
julienpradet.fr/fiches-techn…
Simon Prévidente retweeted
Comme c'est étonnant, La CNCTR vient de perdre des moyens de contrôle des services de renseignement. Qui aurait pu prévoir en 2015 ?...
(le reste à lire dans le canard de cette semaine)
Simon Prévidente retweeted
Vous connaissez sans doute les CSS Media Queries, la base du Responsive Webdesign.
Découvrez aujourd'hui les Container Queries, une mécanique complémentaire totalement révolutionnaire et déjà utilisable en production : alsacreations.com/article/li…
Simon Prévidente retweeted
New @pycharm plugin for Ruff from Koudai using the LSP from @charliermarsh fosstodon.org/@koxudaxi/1109…
Aujourd'hui, le livreur a visiblement commencé par compléter et déposer l'avis de passage, sonner, puis me demander de déchirer l'avis de passage en me donnant mon colis 🤔 Je suis heureux qu'il ait sonné, mais c'est une drôle de sensation cet avis de passage alors que je suis là
1
79
Simon Prévidente retweeted
Un mot passe 🔐 c'est comme un slip 🩲
Campagne de sensibilisation volée quelque part dans les zinternets
Simon Prévidente retweeted
How do Linux permissions work?
Linux is a multi-user OS that has robust built-in user and group permissions. These permissions provide the ability to limit who has access to a file or directory and what actions (read, write, or execute) they are allowed to perform.
There are three permission types for each file and directory:
🔸 Read (r): Allows reading of a file or listing of the directory's contents.
🔸 Write (w): Allows you to modify the contents of a file or create or delete files from a directory.
🔸 Execute (x): Allows a file to be run as a program, or a directory to be entered into.
There are three types of users to whom permissions are assigned:
🔸 User (u): The owner of the file or directory.
🔸 Group (g): Other users who are members of the file's group.
🔸 Others (o): All other users who are not the owner or members of the group.
To view permissions, you can use the `ls -l` command, which displays a string of 10 characters. The first character indicates the filetype; d for directory, - for regular file. This is followed by three sets of r, w, x, or - if that permission isn't granted. Each set is for User, Group, and Others (in order).
A file or directory's permissions can be changed with the `chmod` command (CHange MODe). Symbolic mode (u/g/o/a +/- r/w/x) or numeric mode (octal representation: read=4, write=2, execute=1) can be used to change permissions.
Example: `chmod u+w file` adds write permission for the user, and `chmod 744 file` sets read, write, and execute for the user, and read for group and others.
Files and directories can also have ownership changed using the `chown` and `chgrp` commands.
Understanding Linux permissions is key in several aspects of software development, from managing system security to deployment & operations. A key principle to keep in mind when working with permissions is it's usually better to start with more restrictive permissions, then gradually add more as needed.
Simon Prévidente retweeted
Comment je suis tombé dans l'enfer de la surveillance globalisée – et vous aussi
bit.ly/3s7sD4U
Simon Prévidente retweeted
behind "hello world" on Linux jvns.ca/blog/2023/08/03/behi…
























