1 karma · joined Sep 3, 2024 (2y ago) · 25 submissions
comment 3y ago · link · parent
This is the script: https://github.com/danisztls/yt-assistant. AFAIK the same can be done with a single line yt-dlp command and you can do the same to download all videos from a channel.
comment 3y ago · link · parent
It tries to solve the "now what" part.
comment 4y ago · link · parent
https://github.com/danisztls/dotfiles
> primarily that I'd have to try to share it between professional and personal computers
My script has a recipes feature so you can store config at arbitrary places and have different recipes/configs for different situations.
comment 4y ago · link · parent
But for things that shouldn't be normalized I write then as plain-text notes using markdown notation. It isn't true that nothing can parse plain text. I wrote a tool to do that and it works as expected. Of course it's bad design if you look exclusively from the software engineering perspective but ergonomics also matter and parsing text isn't hard.
Don't get me wrong also. I'm just a guy with peculiar use cases and bad experiences migrating away from Evernote and later Joplin.
comment 4y ago · link · parent
Tasks lists are generally useless without their context. It makes sense to have tasks along their context (be it plain-text, markdown, JS, python...) Also it's more maintainable and portable. YAML/JSON/SQlite will be a headache when the user decide to migrate to another tool. This approach only require a text editor, any text editor in any platform. You can plug in whatever you prefer for syncing and sugar.
For a very few cases I use YAML to store data that isn't parsed by any program (only by me). And I can write a comment like 'TODO: Do something.' or "FIXME: X isn't working.' On the terminal using a code searcher and a text editor I can easily find and jump on those.
comment 4y ago · link · parent
https://github.com/danisztls/journal
Lately I'm rarely using it because most of the things that I really have to do (work) are on my email inbox or containerized in project dirs. And for the later I just run 'rg "TODO:"' in the project dir.
comment 4y ago · link · parent
In my personal experience a simple ignore list can reduce size by an order of magnitude. Things that doesn't make sense to backup like thumbnails, cache files, development dependencies. And smaller is more robust, not only can it be inexpensively backed up with more copies but it can also be synced more frequently with a lower risk of partition and also is quicker to download and restore.
comment 4y ago · link · parent
https://wiki.archlinux.org/title/XDG_Base_Directory
PS. I don't know about Mac but Windows also have similar directories although more of a mess.
There's no reason to save artifacts or local user config along with data.
comment 5y ago · link · parent
comment 5y ago · link · parent
If I want to cd to let's say "~/work/john/some-project" I just type 'fcd' on the console and then "w j s" and "ENTER". Most of the times it work as expected and is really fast.
This is a mode provided by a helper that I wrote for fzf to make it easier to use and more useful. In essence it's just a shell script with a bunch of fzf tricks pre-configured.
comment 5y ago · link · parent
24.
Journal: Todo based task management and note taking(github.com ↗)
1 points · by _h9mb · 5y ago · 1 comment