pneto
Re:Ask HN: Does anybody still use bookmarking services?
on Saturday June 25, 2022 @12:02PM (#31876317)
I made this shell script to save them in a text file with title and tags and I can search with fzf. The nice thing is that I can open urls in specific software. A video in mpv, a gemini url in amfora and so on. It's not really well written but it serves my needs. But I still need a way to import my browser bookmarks.
https://github.com/paulobtn/cli-bookmarker
Re:The Google home page is 500K
on Saturday December 25, 2021 @01:49PM (#29685826)
there's also lite.duckduckgo.com if you want to go even more minimal
Re:Show HN: My proposal for a new keyboard layout
on Tuesday November 16, 2021 @10:08AM (#29241344)
It's just a joke. Dvorak was supposed to be ergonomic but it is painful for programmers because our most common shortcuts are designed for qwerty.
Re:How I Experience Web Today
on Monday August 23, 2021 @09:00PM (#28283987)
wiby.me is an interesting one.
Re:How to navigate directories faster with Bash (2015)
on Thursday April 22, 2021 @04:22PM (#26907698)
I've been playing around with the tool FZF recently. It's speeding up my command line workflow quite a lot.
I made a small script that allows me to open a fuzzy search for any command, so I can write the command f followed by something like vim, evince, cd, mpv... I can optionally give a starting directory and a first query but I rarely do it.
I have it in my .bashrc, but should work in any posix compliant shell. It needs fzf and fd:
# fuzzy search any command
f(){
ROOT_DIR="."
[ -n "$2" ] && ROOT_DIR="$2"
FZF_OUT=`fd . -H --color=always "$ROOT_DIR" --exclude "Software/"| fzf --query="$3"`
[ -n "$FZF_OUT" ] && "$1" "$FZF_OUT"
}
in my case Software/ is a directory with lots of files I don't need so I exclude it from my searches. I also like using ranger, it has very nice bookmarking and launcher features.