libqalculate
zsh-syntax-highlighting
Our great sponsors
libqalculate | zsh-syntax-highlighting | |
---|---|---|
55 | 72 | |
1,635 | 19,053 | |
3.4% | 1.6% | |
8.7 | 5.9 | |
9 days ago | about 1 month ago | |
C++ | Shell | |
GNU General Public License v3.0 only | BSD 3-clause "New" or "Revised" License |
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.
libqalculate
-
Students, what features would you like to see on Windows 12?
1) a scientific calculator with history and variables with a UI similar to https://sourceforge.net/projects/alt1-calculator/ that also can do units like https://qalculate.github.io/ 2) a tiny text chat direct message program that is similarly as easily accessible at Atl1 3) a minimalist dock of as many instances you would like similar to https://punklabs.com/rocketdock, and like where WIN opens the start menu, WIN + # should pop the dock
-
New world record with an electric racing car: From 0 to 100 in 0.956 seconds
But unfortunately gravity is the first unit that I find is not supported :(
There's some talk about using g0 here https://github.com/Qalculate/libqalculate/issues/498 but that doesn't work in my version (I'm using an old version, hoping to update my OS this week). You can divide it by earth gravity if you know it by heart, though
> 100 km/h / 0.956 s / 9.8 m/s^2
- Qalculate – The Ultimate Desktop Calculator
- Qalculate – A multi-purpose cross-platform desktop calculator
-
GNU Units
I personally use Qalculate (https://qalculate.github.io/), specifically their CLI version for this purpose. I'm not sure how well it compares to GNU Units, but it works well enough for my needs; and it's fairly simple using English-like syntax.
-
Ask HN: Do you still use a hand held/desktop calculator?
On the terminal, I use `qalc`[1]. It's a nice natural language calculator that does arithmetic, solves quadratic equations/linear systems, does unit conversions and even a bit of calculus. Combine it with a cli graphing tool and you can do pretty cool things.
Anything more complicated I'm probably ok with latency, so I open up wolframalpha and enter it there, again, in natural language.
[1] https://qalculate.github.io/
-
[Conversion] I need an explanation for this question please
Btw, download qalculate.github.io and play around with it a bit. I use it for basically all the physics I do. Complete lifesaver.
-
Calculator for sway
Personally I use http://qalculate.github.io/ since I end up having to do unit conversions often, it's pretty handy for that
-
Here's the minimum time it'll take to overflow the "Total damage" variable on the dummy target
Btw: http://qalculate.github.io/ is nice. I use CLI version to fix my general math incompetence. Even does units nicely, for example, "how long it would take to download 82GB game on 50Mbit connection":
-
A sensible NixOS Xfce desktop configuration
Mate Calculator: Seems a bit basic, when you can do so much more with Qalculate! https://qalculate.github.io/
zsh-syntax-highlighting
-
Setting up a MacBook for development in 2024
brew install fzf # for fuzzy find files, commands, etc brew install starship $(brew --prefix)/opt/fzf/install git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting # syntax highlight for zsh git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions # smart autosuggestions for zsh echo 'eval "$(starship init zsh)"' >> ~/.zshrc
-
Quickest path to a decent zsh setup?
# run this git clone https://github.com/zsh-users/zsh-syntax-highlighting $ZSH/custom/zsh-syntax-highlighting # add this to your .zshrc plugin=(... zsh-syntax-highlighting)
-
Arch Installation for Beginners
$ git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting $ git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
-
Configurando Alpine Linux, tmux e neovim no WSL2 - parte 1
sudo git clone https://github.com/zsh-users/zsh-syntax-highlighting.git echo "source ${(q-)PWD}/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" >> ${ZDOTDIR:-$HOME}/.zshrc
- better than admitting I'm too too lazy to correct the command
-
[Question] What are the best plugins for zsh ?
Two by far the most popular plugins are zsh-syntax-highlighting and zsh-autosuggestions. They are of high quality and quite useful.
-
Configuração do Windows para desenvolvimento
echo "Installing zsh-autosuggestions" git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions echo "Installing zsh-syntax-highlighting" git clone https://github.com/zsh-users/zsh-syntax-highlighting ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting echo "Installing asdf" git clone https://github.com/asdf-vm/asdf.git ~/.asdf
-
Why Oh My ZSH is so cool?
Syntax highlighting
-
ZSH + Oh My ZSH! on Windows with WSL
git clone https://github.com/zsh-users/zsh-autosuggestions.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
-
Wrote a "plugin manager" shell function. Any ideas for improvement?
if (($+commands[git])); then use_plugin() { local root_dir="${XDG_DATA_HOME:-$HOME/.local/share}/zsh/plugins" local plugin_name=${1:t} # grabbing the 5th field works for a Github url, not necessarily for every url. local plugin_dir=$root_dir/${1//[/:]/_} if ! [[ -d $plugin_dir ]] echo $EPOCHSECONDS > $plugin_dir/update_timestamp # don't continue if cloning failed git clone --depth 1 "$1" "$plugin_dir" || return local timestamp read -r timestamp < $plugin_dir/update_timestamp if ((EPOCHSECONDS - timestamp > 864000)); then # don't update timestamp if pull failed git -C $plugin_dir pull && echo $EPOCHSECONDS > $plugin_dr/update_timestamp # Match common source filenames local file for file in ($plugin_name|${plugin_name:l}).(plugin.zsh|zsh|zsh-theme)(N); do source $plugin_dir/$filename && break done } use_plugin 'https://github.com/zsh-users/zsh-autosuggestions' use_plugin 'https://github.com/zsh-users/zsh-syntax-highlighting' fi
What are some alternatives?
calculator - Windows Calculator: A simple yet powerful calculator that ships with Windows
fast-syntax-highlighting - (Short name F-Sy-H). Syntax-highlighting for Zshell – fine granularity, number of features and multiple shipped themes.
kalk - Scientific calculator with math syntax that supports user-defined variables and functions, complex numbers, and estimation of derivatives and integrals
ohmyzsh - 🙃 A delightful community-driven (with 2,300+ contributors) framework for managing your zsh configuration. Includes 300+ optional plugins (rails, git, macOS, hub, docker, homebrew, node, php, python, etc), 140+ themes to spice up your morning, and an auto-update tool so that makes it easy to keep up with the latest updates from the community.
pure - Pretty, minimal and fast ZSH prompt
ble.sh - Bash Line Editor―a line editor written in pure Bash with syntax highlighting, auto suggestions, vim modes, etc. for Bash interactive sessions.
zsh-history-substring-search - 🐠 ZSH port of Fish history search (up arrow)
zsh-autosuggestions - Fish-like autosuggestions for zsh
zsh-z - Jump quickly to directories that you have visited "frecently." A native Zsh port of z.sh with added features.
starship - ☄🌌️ The minimal, blazing-fast, and infinitely customizable prompt for any shell!
oh-my-bash - A delightful community-driven framework for managing your bash configuration, and an auto-update tool so that makes it easy to keep up with the latest updates from the community.