chars
srgn
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
chars
-
Ask HN: What apps have you created for your own use?
All of mine are CLI...
https://github.com/jftuga/less-Windows - [not really mine, but I just help maintain the port] - GNU less compiled for Windows 10 & 11. Stand-alone version with no dependencies.
https://github.com/jftuga/gofwd - A cross-platform TCP port forwarder with Duo 2FA and Geo-IP integration
https://github.com/jftuga/spotprice - Quickly get AWS spot instance pricing - a bit easier to use than the aws cli; is also faster and has more features
https://github.com/jftuga/tcpscan - A standalone, fast, simple, multi-threaded cross-platform IPv4 TCP port scanner
https://github.com/jftuga/ipinfo - Return IP address info including geographic location and distance when given IP address, email address, host name or URL
https://github.com/jftuga/photo_id_resizer - Resize photo ID images using face recognition technology
https://github.com/jftuga/chars - Determine the end-of-line format, tabs, bom, and nul characters
-
How can I use git reset if I have already pushed?
! [rejected] main -> main (non-fast-forward) error: failed to push some refs to 'https://github.com/jftuga/chars.git' hint: Updates were rejected because the tip of your current branch is behind hint: its remote counterpart. Integrate the remote changes (e.g. hint: 'git pull ...') before pushing again. hint: See the 'Note about fast-forwards' in 'git push --help' for details. ```
- I wrote a CLI tool to determine the end-of- line format, tabs, bom, and nul
- I wrote a cli tool to determine the end-of-line format, tabs, bom, and nul characters
srgn
- Show HN: Srgn, AST-aware text manipulation
-
Ask HN: What apps have you created for your own use?
It's currently whitelist-based [0]. The downside is larger (code) size. The upside is simplicity. I imagine a blacklist could also work well, at smaller size but with more preprocessing needed.
[0]: https://github.com/alexpovel/srgn/blob/0008cce1c71f0d83f6a31...
- srgn: precise text and code transplantation; think tr/sed + regex + tree-sitter
-
AST-grep(sg) is a CLI tool for code structural search, lint, and rewriting
Wow! What a coincidence. Just the other day I finished "v1" of a similar tool: https://github.com/alexpovel/srgn , calling it a combination of tr/sed, ripgrep and tree-sitter.
I've spent a lot of time trying to find similar tools, and even list them in the README, but `AST-grep` did not come up! I was a bit confused, as I was sure such a thing must exist already. AST-grep looks much more capable and dynamic, great work.
What are some alternatives?
scratch - Personal scratch code
lsd - LSD - line-square-dot: an addicting game
oatmeal - Terminal UI to chat with large language models (LLM) using different model backends, and integrations with your favourite editors!
clipzoomfx - Side-project for extracting highlights from (mostly sports) videos
dhcptool - Tool for testing/debugging DHCP servers
syntax-searcher - Language-independent command-line utility for syntax-aware pattern matching.
webpub - Give me a website, I'll make you an epub.
game-server-watcher - A simple discord/telegram/slack bot that can be hosted on a free service to monitor your game servers and players in style 😎
youtube-cue - Generate CUE sheet from timestamps in youtube video description
Django-link-archive - Link archive for a NAS drive
twine - Twine: A multiplatform RSS reader built using Kotlin and Compose
spotprice - Quickly get AWS spot instance pricing