Hacker Newsnew | past | comments | ask | show | jobs | submit | barbuk's commentslogin

snippy: https://github.com/barbUk/snippy To manage snippets with rofi or fzf on linux.


you can pass the primary video card to a lxc guest, I used [1] successfully to do that.

[1] https://jellyfin.org/docs/general/administration/hardware-ac...


Chromium and Firefox have all your history stored in a sqlite database.

I have a script to extract the last visited website from chrome for example: https://github.com/BarbUk/dotfiles/blob/master/bin/chrome_hi...

For firefox, you can use something like:

sqlite3 ~/.mozilla/firefox/.[dD]efault/places.sqlite "SELECT strftime('%d.%m.%Y %H:%M:%S', visit_date/1000000, 'unixepoch', 'localtime'),url FROM moz_places, moz_historyvisits WHERE moz_places.id = moz_historyvisits.place_id ORDER BY visit_date;"


Does this database store the full text content of the website? I believe that's what OP is asking for.


You can pipe the URLs through something like monolith[1].

https://github.com/Y2Z/monolith


TIL of monolith, thanks. It worked great for old.reddit.com but failed to capture www.reddit.com for mobile


I had the same craving.

My linux only snippet manager: https://github.com/barbuk/snippy


fzf is the most fun and productive tool added in my dotfiles in recent years.

Mix it with https://github.com/rupa/z or https://github.com/skywind3000/z.lua for fuzzysearch/cd

And you can do cool scripts, like:

- search your vim edited files with highlighted preview: https://github.com/BarbUk/dotfiles/blob/master/shell/complet...

- search and open your chrome history: https://github.com/BarbUk/dotfiles/blob/master/shell/complet...


For electricity: Mehdi Sadaghdar (electroboom).

His electoboom 101 are great: https://www.youtube.com/watch?v=vn4J8RcMGrM&list=PLr_CZLgMkH...


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: