scripts
My ~/bin (by mgedmin)
scripts | server_common | |
---|---|---|
6 | 10 | |
16 | - | |
- | - | |
6.0 | - | |
15 days ago | - | |
Shell | ||
- | - |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
scripts
Posts with mentions or reviews of scripts.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-01-09.
-
Jedi-Vim not working well with konsole terminal?
here's a Python script I use for testing 256-color support: show-all-256-colors
-
Time to move on from 18.04...
I try to minimize the differences from stock Ubuntu installs to as little as possible, and I try to automate the changes I make (e.g. I've a shell script that adjusts my GNOME setup using dconf load). This sometimes means that I have to participate in upstream development to get a bugfix or feature that I really want included directly upstream, so I won't have to do local builds of stuff after the next Ubuntu upgrade.
-
Do you use ctags or LSP?
Oh! I remember now -- I created a wrapper ~/bin/ctags that updates .git/info/exclude before delegating to /usr/bin/ctags.
-
The ! command, what do you use it for?
These days my wrapper does a bit more, since I build vim from the git repo and run it directly from the source tree by skipping the make install step (so my wrapper sets VIMRUNTIME instead).
-
It took years to perfect my setup and now I want to share it with everyone
I also have a ~/bin that I clone from https://github.com/mgedmin/scripts on some machines, where I need my helpful scripts. Some of these I run on a fresh Ubuntu install to tweak my GNOME desktop so I won't have to do that manually (250 ms keyboard repeat delay is a necessity for me, and I'd rather not try to match it exactly with a GUI slider, back when GNOME had such a slider).
-
How do you keep your Ubuntu package list clean?
I do a fresh install every time I buy a new hard drive. I keep notes to all the customizations etc. I do to my machine, so it's easier to do it again, plus I try to script things for the same reason.
server_common
Posts with mentions or reviews of server_common.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-06-15.
-
Ping Script
Here is the script, which is executed on schedule via systemd timer. See the whole Ansible role for context.
- It took years to perfect my setup and now I want to share it with everyone
-
Share your shell prompt here!
I'm using plain bash, prompt configuration is here.
- Is there any guide on how to create preseeding in automatic install mode!?
-
Automated testing, development of a substantial number of Ansible roles
Basic systemd stuff works fine in Docker with some extra privileges (example), for more complex scenarios (involving firewall, inserting kernel modules, etc) there is molecule-vagrant. I use it with Libvirt/KVM and find the experience rather enjoyable
-
How to make smart UPS from dumb one?
Raspberry is not required if you don't need automatic wakeup, any pingable device that's not protected by UPS will do. Here is my script, systemd service and timer can be viewed in the same directory.
-
Does ansible a good tool for configuring a home lab?
Here is an example: a do-it-all playbook just includes individual playbooks, any of which can contain multiple plays.
-
IaC for a small set of bare metal servers
I use GitLab CI both for testing and for deployment: here is the repo
-
Unix file pre-processor for custom templating around any system
I do not use Ansible for dotfiles management, only for OS configuration. For dotfiles I've settled on simple custom bash script that can only symlink or copy files - it works well both on Linux and Windows. Using include dirs is a poor replacement for templating but it's enough for me so far.
-
The Improbable Mac address
Here is how I do this: https://gitlab.com/sio/server_common/-/blob/master/ansible/roles/virtual_machine/defaults/main.yml#L18
What are some alternatives?
When comparing scripts and server_common you can also consider the following projects:
dotfiles - My personal Linux shell settings
agkozak-zsh-prompt - A fast, asynchronous Zsh prompt with color ASCII indicators of Git, exit, SSH, virtual environment, and vi mode status. Framework-agnostic and customizable.
NiceOS - Every Linux distro replacement
CTRLGGitBlame.vim - Append git blame information to the output of <C-g>
add-ed - Embeddable ED in rust
ix - Simple dotfile pre-processor with a per-file configuration and no dependencies.
jless - jless is a command-line JSON viewer designed for reading, exploring, and searching through JSON data.
zsh-prompt-dir-perms - Directory Permissions Segment for Zsh Prompts
YouCompleteMe - A code-completion engine for Vim
zsh-prompt-dir-glob
scripts vs dotfiles
server_common vs agkozak-zsh-prompt
scripts vs NiceOS
server_common vs NiceOS
scripts vs CTRLGGitBlame.vim
server_common vs dotfiles
scripts vs add-ed
server_common vs ix
scripts vs jless
server_common vs zsh-prompt-dir-perms
scripts vs YouCompleteMe
server_common vs zsh-prompt-dir-glob