Denilson Sá Maia

Results 178 comments of Denilson Sá Maia

I didn't know about that long-tap menu. That's cool. :+1: I tested the new version, I can now long-tap to select and copy text. That's great! :+1: But I cannot...

A simple fix would be to change these lines: mem_current = 0 # instead of None mem_total = 0 # instead of None mem_percent = 0 # instead of None...

Another user asked: > Is it possible to bring a feature to repeat the auto-refresh process when the page is refreshed? > > For example, refresh the page when the...

I also need this feature. Look at the following code snippet, which is a simplified version of the code I'm actually writing: ```python from collections import defaultdict import tqdm import...

It's amazing! I can find stuff very quickly! I tried `try`, `with`, but also symbols like `?` or `(?` or `-`. `else` and `except` don't yield very good results; and...

Quick and dirty workaround: use the following shell script wrapper. ``` sh #!/bin/sh /full/path/to/fswatch -x "$@" | sed ' s/ IsDir// s/ PlatformSpecific// /^[^ ]*$/d s/ [a-zA-Z]\+$// ' ``` This...

Slightly better wrapper script: ```bash #!/bin/sh /full/path/to/fswatch -x "$@" | sed ' s/ IsDir// s/ PlatformSpecific// s/\( [A-Z][a-zA-Z]\+\)\+$/ XXX_KEEP_THIS_LINE_XXX/ / XXX_KEEP_THIS_LINE_XXX$/!d s/ XXX_KEEP_THIS_LINE_XXX$// ' ```

@ahmgithubahm It's been a couple of years, but I think I still remember why. The output could be something like this: path/foo/bar IsDir path/foo/bac PlatformSpecific path/foo/baz PlatformSpecific SomeOtherReason path/foo/bay SomeOtherReason...

@ahmgithubahm For my purpose, [lsyncd](https://axkibe.github.io/lsyncd/) was a nice alternative. Took me some time to properly write a configuration file, but it worked fine.