_h9mb | 2 years ago | on: Anti-Anti-Adblocker uBlock filter to get rid of the annoying YouTube message
_h9mb's comments
_h9mb | 3 years ago | on: So you've installed `fzf` – now what?
It tries to solve the "now what" part.
_h9mb | 3 years ago | on: Ask HN: How do you sync your computer’s development configurations/environment?
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.
_h9mb | 4 years ago | on: Show HN: A plain-text file format for todos and check lists
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.
_h9mb | 4 years ago | on: Show HN: A plain-text file format for todos and check lists
_h9mb | 4 years ago | on: Show HN: A plain-text file format for todos and check lists
_h9mb | 4 years ago | on: Show HN: A plain-text file format for todos and check lists
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.
_h9mb | 4 years ago | on: Show HN: A plain-text file format for todos and check lists
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.
_h9mb | 4 years ago | on: Google Drive users stung by macOS '.DS_Store' copyright infringement issue
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.
_h9mb | 4 years ago | on: Google Drive users stung by macOS '.DS_Store' copyright infringement issue
Gocryptfs.
_h9mb | 4 years ago | on: Google Drive users stung by macOS '.DS_Store' copyright infringement issue
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.
_h9mb | 4 years ago | on: Google Drive users stung by macOS '.DS_Store' copyright infringement issue
_h9mb | 4 years ago | on: Restic – Backups Done Right
_h9mb | 4 years ago | on: Restic – Backups Done Right
_h9mb | 4 years ago | on: Restic – Backups Done Right
_h9mb | 4 years ago | on: Restic – Backups Done Right
_h9mb | 4 years ago | on: Restic – Backups Done Right
_h9mb | 4 years ago | on: Command line tools for productive programmers
_h9mb | 4 years ago | on: Command line tools for productive programmers
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.
_h9mb | 4 years ago | on: Launch HN: Fig (YC S20) – Autocomplete for the Terminal
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.