https://github.com/jhspetersson/fselect A tiny tool I wrote to search within file piles (mostly unsorted downloads, torrents, and such). I could never remember `find` options, and more advanced queries are a pain. Now one can use some kind of SQL flavor to get the job done.
Ask HN: What are some tools / libraries you built yourself?
151–160 of 617 posts
Re: Ask HN: What are some tools / libraries you built yourself?
#152Re: Ask HN: What are some tools / libraries you built yourself?
#153Re: Ask HN: What are some tools / libraries you built yourself?
#154I ended up making https://github.com/cjjeakle/rebalance-calc to do the same thing, but with a slicker user experience. I use it quarterly, so it definitely fits the bill for my use case, and I occasionally show the tool to friends to help explain what rebalancing is and how to do it.
Re: Ask HN: What are some tools / libraries you built yourself?
#155I have a shell script (technically PHP) that uses the clipboard to retrieve json, parses it and converts it into a correctly formatted php array then puts it back on the clipboard. Fantastic for writing unit tests where you want to quickly freeze API responses and such. There is more it could do but it's hands down the best RoI in terms of dev time I've had in a while.
How do you parse the text?
So it looks like `json_to_array.sh --assign --clip` (if no clip just echoes the resulting PHP to stdout)
https://kopy.io/aLpar (its not good code, it's an itch scratcher) - only works on Linux (it's all I use but would be trivial to make it work on a Mac I think).
PHP makes a really good shell scripting language since it's a full blown language with a massive API and can 'talk' to the shell quite simply.
Re: Ask HN: What are some tools / libraries you built yourself?
#156Re: Ask HN: What are some tools / libraries you built yourself?
#157I also made my blog sync with my google docs - https://hexo.press
I knew both of those would be helpful for others as well, so I made a service out of each of them and open sourced the code - https://github.com/joelewis
Re: Ask HN: What are some tools / libraries you built yourself?
#158It's useful for various sysadmin-related tasks, like checksumming an entire directory tree, finding the file(s) that are different between two directory trees, or tracking file attributes in git. Since it's text-based, it's really easy to process using sed/grep (the file format is specifically designed to be regex-friendly).
Re: Ask HN: What are some tools / libraries you built yourself?
#159Re: Ask HN: What are some tools / libraries you built yourself?
#160At the time I only had experience with the OpenGL C api and didn't want to learn a totally different Rust abstraction or mix C/C++ libraries into a pure Rust project.
https://github.com/DomWilliams0/name-needed/tree/develop/ren...