DotfilesGentooHome
bat
DotfilesGentooHome | bat | |
---|---|---|
12 | 195 | |
0 | 46,630 | |
- | - | |
10.0 | 9.5 | |
over 1 year ago | 7 days ago | |
QML | Rust | |
- | Apache License 2.0 |
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.
DotfilesGentooHome
-
how do you Backup your system?
I use BTRBK to make and copy BTRFS snapshots to my HDD. I schedule it to run every 3 hours using a Sytemd unit file through my own script to run the backup at more convenient moments:
-
How can I send audio output to multiple bluetooth devices?
I personally prefer to use the old module-combine-sink module due to its simplicity. It's rock solid. I use it for about two years with this script I made. Don't think too much about it, since it's implemented in a quite different scenario from what you have there. The only similarity is that we are creating a virtual sink to simultaneously output sound from two different sinks. I have a mini-system that I keep disabled and the script not only creates the virtual sink but also enables the mini-system sink. For everyday use, I prefer to keep my audio panel clean with just my HDMI sink.
-
Do I need to do anything specific after a PC freeze?
Having some concern is one thing, thinking of doing intensive disk procedures is a whole 'nother story. I mean.. It's just a cold shutdown. Anyway, if you're copying some data for the first time and a cold shutdown happens, there's nowhere to run on any filesystem. The data would be obviously gone. I never had a single issue after some cold shutdown and I have a script that periodically checks its health. On COW filesystems, the data is presented on the disk just once, even if you copy it, for example. On further manipulation of that data, that change it's written in one or more unused blocks, and the original data remains unchanged. If some unexpected shutdown strikes, for example, the original data will be safe where it was before.
-
Wayland users, how is waydroid? Does it actually support all android apps natively?
Just for you to know, you can use Wayland under Xorg as well. What prevents me to use it nowadays is the fact it doesn't support webcam, so I'm using Android through QEMU. I made a script for it that passes my webcam. It just works.
-
Expose QEMU/libvirt port to LAN?
I'm setting up my network every time I start the VM like this using a bridge. My VM is behind the android_bridge0 bridge using NAT. In this case, I don't need to use port forward.
-
Is there a way to control the battery level on Android running through QEMU?
I have this script to set up the environment and load my Android VM. It's working perfectly with camera, sound, 3D accel and all, but the battery it's always at its minimum, which some apps refuse to work with.
-
How to shorten repetitive parts of a script?
Now (I already cut the number of lines in half)
-
Weird makedep segmentation fault when './configure'ing Wine source
Just bumping the version is the simplest case possible, but sadly, TKG has around 750 patches, and what's going to be applied highly depends on the version and my config. In fact, that's one of the reasons they didn't make an ebuild yet.
-
What are your favorite non-GUI/DE customizations?
I made four so far.(starting wit taskbar_)
-
Is there any other widget that prints the output of a command or script besides CommandOutput and Kargos?
Final-ish result -> https://github.com/rizzini/DotfilesGentooHome/blob/master/Documentos/scripts/disk_monitor_taskbar.sh
bat
-
Hired: A Modern Take on 'Ed'
That’s the same as bat:[1] one of the features is syntax highlighting. Kind of unexpected to find a concatenation program… which also does that.
[1] https://github.com/sharkdp/bat
-
Essential Command Line Tools for Developers
View on GitHub
-
5 Developer CLI Essentials
4. bat
-
Ugrep – a more powerful, ultra fast, user-friendly, compatible grep
Good find, thanks! I'll check if I prefer it to moar.
As for bat, according to https://github.com/sharkdp/bat#using-bat-on-windows, the Chocolatey package simply installs `less` alongside `bat`. Seems like a good idea, but I haven't tried it.
- Tell HN: My Favorite Tools
-
MacOS tools to make your life easier
Try bat (it’s like cat but better) https://github.com/sharkdp/bat
- Bat: A cat clone for syntax highlighting in the terminal
-
🐚🦀Comandos shell reescritos em Rust
bat
-
Tell HN: Please don't print –help to stderr in your CLI tools
For this reason I have a zsh function in my .zshrc with bat (which pages by default, if it's longer than your console height):
https://github.com/sharkdp/bat#highlighting---help-messages
# in your .bashrc/.zshrc/*rc
- Bat: A Cat Clone with Wings
What are some alternatives?
do-it-yourself-bar - A customizable panel widget for KDE Plasma
vim-colors-solarized - precision colorscheme for the vim text editor
wine-tkg - Wine source generated by the wine-tkg build system. See wine-tkg-config.txt for config.
exa - A modern replacement for ‘ls’.
kargos - KDE Plasma port of GNOME Argos and OSX BitBar
awesome-zsh-plugins - A collection of ZSH frameworks, plugins, themes and tutorials.
awesome-widgets - Minimalistic Plasmoid set
iTerm2-Color-Schemes - Over 250 terminal color schemes/themes for iTerm/iTerm2. Includes ports to Terminal, Konsole, PuTTY, Xresources, XRDB, Remmina, Termite, XFCE, Tilda, FreeBSD VT, Terminator, Kitty, MobaXterm, LXTerminal, Microsoft's Windows Terminal, Visual Studio, Alacritty
waydroid - Waydroid uses a container-based approach to boot a full Android system on a regular GNU/Linux system like Ubuntu.
fzf - :cherry_blossom: A command-line fuzzy finder
hexcurse - Hexcurse is a ncurses-based console hexeditor written in C
glow - Render markdown on the CLI, with pizzazz! 💅🏻