#glob — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #glob, aggregated by home.social.
-
A New Global Conflict: The 'New World War' and the Shifting Landscape of Modern Warfare
📰 Original title: La “Nueva Guerra Mundial”
🤖 IA: It's not clickbait ✅
👥 Usuarios: It's not clickbait ✅ -
Des experts de #PHP, de la fonction #glob et de la #LangueArabe dans le coin ?
J'ai un script qui scanne ma librairie iTunes. Donc le répertoire contient des répertoires pour chaque artiste, qui eux-mêmes contiennent des répertoires pour chaque disque.
Je fais donc un glob($folder.'/*', GLOB_ONLYDIR) sur le répertoire principal, ça me remonte bien tous les répertoires des artistes.
Je vais ensuite un glob($folder.'/*', GLOB_ONLYDIR) dans chaque répertoire artiste, et ça me remonte bien les répertoire disques.
Sauf... pour un répertoire artiste qui se nomme "أحمد [Ahmed]". glob le voit bien mais ne liste pas le contenu.
Une idée pour contourner le problème ? -
#Python question...
I recently ran into a surprise using #pathlib.Path - seems to be a sharp edge and I'm curious if others have run into it and what you thought.
I wanted to find all #files/#dirs below the current #directory, and thought a #recursive #glob would do it - `Path.cwd().glob("**")`. I was surprised that this returns all directories but not files. "**/*" is needed to find the files as well.
I'm not a big user of recursive globs, so maybe this is expected #behaviour?
-
#Wildcards / #globs in filters isn't possible, right? #feditips
-
-
minimatch is a Glob matcher in JavaScript
-
@ta180m for a less #clickbait toot:
Here’s a #dictionary and #thesaurus web #api with #glob like functionality.For the humans among us: they have a webpage too.
-
Linux Fu: Globs vs Regexp - I once asked a software developer at work how many times we called fork() in our c... - https://hackaday.com/2021/10/07/linux-fu-globs-vs-regexp/ #regularexpressions #softwarehacks #linuxhacks #linuxfu #regexp #linux #bash #glob