Jump to content


  • Posts

  • Joined

  • Last visited

  • Days Won


Everything posted by Acidham

  1. @cands as mentioned before, I am not implementing subfolder scanning due to performance decrease. Re. German, umlaut for me it works. I am able to search for Bäume via `mdt#Bäume` as well as via `mds #bäume`. Can you provide me with debugging output?
  2. v2.4.0 on GitHub Add Batch Mode Deletion Files with specific tags can be deleted in batch mode. This feature is useful for cleanup-routine of old notes, e.g. #Year2018 or #todelete etc.
  3. You need to add http:// or https:// in front of www.ilsr.org.
  4. Done check it out v2.2.0: https://github.com/Acidham/alfred-apple-reminder Reminder can be added together with Reminder title, e.g. rm the title http://www.alfredforum.com
  5. @deanishe did you PR the changes or can you share the WF with your mods?
  6. Even this whole python setup and version is mess, Python is the only language that allows me to write quick and "dirty" code for achieving common task on my computer or Alfred. I like to have a the ability to control of how a language or IDE keeps me honest instead only the system applies the truth and nothing else. Go, for example, sometimes drives me nuts because I would like to achieve something quick and then the IDE always give me a slap in the face 😕 . And when I try to achieve the same I am horrible fast. But in the end it counts how big my investment is in something vs what value I am getting out of it and therefore Python is a good match. Anyhow I don't want to start debate on principles. I believe you guys do a great Job when it comes to your workflows... in the end the value and outcome counts and here 😉
  7. I started with GO but I am not there to really use it. So far I am totally happy with Python and I can use type hints without the IDE is constantly interrupting me like GO. I am ok with Python 3.7 but as mentioned I am looking for something more scalable like the usecase "Apple decides to stay with 3.7.3 for the next 100 years". Therefore my ask to build env config into Alfred which allows to customize environment if required.
  8. I am seeing that some of my workflows are getting a performance boost. I started to play around with type hints and I am seeing a big value when it comes to maintainability of my code The whole unicode mess that I recently struggled with German umlauts seems to be easier to handle with 3.8 (with 2.7 it drove me nuts, really!) Assuming Apple keeps 3.7.3 for the next 20 years I would like to be flexible instead of struggling on an old version and fight with things like this unicode sh***
  9. @deanishe All good In the meantime I played around on how to run python3 script but in the end i need to build my wf for 3.7.3 since this is the default for macOS. One of the biggest pain with python is that setup mess. pyenv helps to work around but I am still not happy...But this is another topic 😉
  10. @deanishe thx, the latter is how I am doing it right now. I assume most other user can change PATH if necessary. Thank you @deanishe and @vitor for quick and fast help on that...much appreciated!
  11. Confused now. Is this approach not binding your workflow to your machine only? @Andrew not sure if that makes sense but an Alfred enhancement to allow users to configure env would solve this problem or am I wrong ?
  12. This is what I want to avoid. Therefore I thought that good practice is to use/usr/bin/env python3 shebang. I thought when I would use absolute path to python 3.8 interpreter I am releasing a WF that just works on my system 😕
  13. Ok got it, but this means that Alfred uses own env? Is there a way to configure Alfred's zsh env? strange, I never experienced this issue but since I decided to ignore Python Version < python 3.8 this seems to be a bummer 😕
  14. When I add shebang #!/usr/bin/env python3 to my python WFs Alfred is always picking up Python 3.7.3 but I am expecting version 3.8.2. When I run /usr/bin/env python3 -V on iTerm or Terminal I am getting version 3.8.2 I checked the PATH in Alfred WF python script and I am getting: PATH: /usr/bin:/bin:/usr/sbin:/sbin In iTerm or Terminal, I am getting: /Library/Frameworks/Python.framework/Versions/3.8/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/usr/local/go/bin:/Users/jjung/Library/Python/2.7/bin:/usr/local/opt/fzf/bin I am using zsh and therefore I checked which SHELL the Alfred WF python script is using with os.environ['SHELL']: /bin/zsh With where python3 I am getting: where python3 /Library/Frameworks/Python.framework/Versions/3.8/bin/python3 /usr/local/bin/python3 /usr/bin/python3 Conclusion: Alfred is using zsh shell which I am also using but why it PATH in Python script is different form PATH in shell? I am not able to get Python 3.8.2 used in my scripts. What I am missing here?
  15. New version 4.0: With version 4.0 the configuration was integrated in the Workflow from List Filter. After the upgrade it is required to setup the Folder from scratch! Please ensure to write down (or Screenshot) your current configuration. Download on Git
  16. New version 3.2.2 supports sub-directory search: Download on Git
  17. I am not experienced with Anaconda but the shebang in list.py points to python 3: #!/usr/bin/env python3 you may change that. I found following article: https://docs.anaconda.com/anaconda/user-guide/tasks/integration/python-path/ Let me know if this helps...
  18. Alfred workfow to search, expore and open VSCode workspaces. Requirements Python 3 VSCode Setup Define path (workspaces_home) where VSCode workspaces are stored. The workflow also supports subdirectories in VSCode Workspace folder Set workspaces_home e.g. to /Users/user/vscode-workspaces Download on Git
  19. @friedmilk Seems yes, I played around yesterday with Brave but it seems that Brave is not handling `make new tab` properly. For other browsers it works but for Brave not.
  20. Update to v2.1: http://www.packal.org/workflow/safirechrome
  21. @zagdul I already tried but Applescript does not support nested lists, sry
  22. Good catch! Indeed it is way faster and therefore a good option. The only thing is that macOS will be shipped with Python 2.7 and Python 3 requires custom installation. But maybe I need to proceed with Python 3 instead. Interesting! As far as I understood MeiliSearch requires a server running in the background. How did you implemented this with Alfred especially starting/stopping the server?
  23. Yep I will look into add additional folders readonly
  24. I compared os.listdir (flat) vs os.walk (sub) and walk is 50 times slower. With listdir I tested with 100 k files and performance is good enough to serve md notes wf. I am happy to accept PR with subfolder scanning (Or other solutions) with compareable performance
  25. @intafon Note, this WF is set to discontinued and replaces by this one https://github.com/Acidham/chromium-hist-bookmarks
  • Create New...