NeoLAB
34 subscribers
150 photos
29 videos
94 files
335 links
Lab of @neo_is_kal

🐧 | @ArchLinuxIndia
🐚 | @PrivacyToolsIOChat
🍬 | @FossMemes

This is a Journal + Shrine of links
Website: https://neovoid.is-cool.dev
Download Telegram
​​A utility tool powered by fzf for using git interactively.

This tool is designed to help you use git more efficiently. It's lightweight and easy to use.

Also integrates with: diff-so-fancy, delta, bat, emoji-cli.

https://github.com/wfxr/forgit

#shell #git
​​A bulk renaming #rust tool for files.

Features:
- Rename one or several patterns in your files using the powerful Rust regex engine.
- Add an increment as a prefix or suffix to files.

https://github.com/adriangoransson/renamer
Forwarded from Freestanding
2007.00752.pdf
854.2 KB
Is Rust Used Safely by Software Developers?

#rust
Forwarded from Freestanding
Understanding Closures in Rust

> article

#rust
# DIY clipboard manager #Notes #MyCreation

This was the part of larbs but i never able to get it working until now.

Using xclip, xdotool and dmenu to fetch clipboard contents

*Dependancies:
- xdotool
- xclip
- dmenu
- sxhkd (optional and depends on how you manage keybinds)

xclip -sel c -o will put selected clipboard content into file
using dmenu later we will get the list of copied texts
but this file need to updated everytime we copied something.
So we can either cron job it or use a trigger recognizing program like entr.

So i choose to create aliases instead

alias \
cc="{xclip -sel c -o -r; printf '\n'; } >> ~/.local/share/larbs/snippets" \
cr=" : > ~/.local/share/larbs/snippets"

cc will update the clipboard and cr will clear all the file

and this sxhkd hotkey will be use to get the list of content.

super + Insert
xdotool type "$(dmenu -i -l 50 < ~/.local/share/clipboard/snippets)"