dotfiles
yadm
dotfiles | yadm | |
---|---|---|
4 | 81 | |
29 | 4,792 | |
- | - | |
8.3 | 2.4 | |
about 1 month ago | 3 months ago | |
Shell | Python | |
- | GNU General Public License v3.0 only |
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.
dotfiles
-
Ask HN: Full-text browser history search forever?
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;"
-
Managing dot files (linux) - home dir with .gitignore whitelist, good or bad?
ssh() { case "${1}" in (-h|--help) command ssh -h 2>&1 | grep -v "^unknown" printf -- '%s\n' "Overlay options:" printf -- '\t %s\n' "dotfiles: syncs dotfiles to a remote host" \ "nokeys: Forces password based authentication" \ "raw: Runs ssh in its default, noisy state" return 0 ;; (dotfiles) # Inspired by # https://github.com/cdown/sshrc/blob/master/sshrc # https://github.com/fsquillace/kyrat # https://github.com/BarbUk/dotfiles/blob/master/bin/ssh_connect remote_host="${2:?Remote Host not defined}" for dotfile in .bashrc .exrc .inputrc .pwords.dict .vimrc; do if ! [[ -r ~/"${dotfile}" ]]; then printf -- '%s\n' "Local copy of ${dotfile} missing" >&2 continue fi local_sum=$(cksum ~/"${dotfile}" | awk '{print $1}') remote_sum=$(command ssh -q "${remote_host}" cksum "${dotfile}" 2>/dev/null | awk '{print $1}') if [[ "${local_sum}" = "${remote_sum}" ]]; then printf -- '%s\n' "${remote_host}:~/${dotfile} matches the local version" else printf -- '%s\n' "${remote_host}:~/${dotfile} appears outdated, updating..." scp ~/"${dotfile}" "${remote_host}:" || return 1 fi done ;; (nokeys) command ssh \ -o PubkeyAuthentication=no \ -o StrictHostKeyChecking=no \ -q \ "${@:2}" ;; (raw) command ssh "${@:2}" ;; (*) command ssh -o StrictHostKeyChecking=no -q "${@}" ;; esac }
-
Post your most useful self written command line utilities
Thanks to /u/abbidabbi for the idea, I have updated my script to handle media role.
yadm
- Yadm: Yet Another Dotfiles Manager
- YADM: Yet Another Dotfiles Manager
-
Ask HN: What Underrated Open Source Project Deserves More Recognition?
Everyone hand-rolls their own dotfile management system, but YADM already does everything you need:
https://yadm.io/
- Yet Another Dotfiles Manager
- Tell HN: My Favorite Tools
-
Dotfiles Matter
I've been working around this using tools built on top of git like [yadm](https://github.com/TheLocehiliosan/yadm) and relying on `ls-files` to list all my tracked dotfiles and their paths.
Still having everything in one place would make things much simpler. Great idea!
-
System settings that aren’t in System Settings
I wonder if the program i use to manage my dotfiles could help manage your scripts and extend your setup to all your desktops? Its called yadm (https://yadm.io/) it makes it so easy to have a laptop and a desktop or two.
-
The right way to keep config files synced across devices?
I really like that one but still prefer yadm because you can just edit your files as usual and then yadm add them wherever you are.
-
Just got a new M2 Pro after my 2016 became outdated. What are your first steps to setting up a new computer?
If you haven’t already, this is the time to install a tool like yadm and get your computer configuration into version control. Your command-line tools can be managed by yadm directly, your system settings can mostly be managed with a yadm bootstrap script that runs things like defaults write, and the software you install can be managed with a Brewfile that the yadm bootstrap script uses to install software with Homebrew. Don’t manually download Xcode, use xcodes to do it.
-
System 76 Linux script to set up a new PC including the personal profile and prefered software installs
I personally use YADM. It's basically a git repo on my home folder, that only tracks what I explicitly set. And you can setup bootstraps to do what you said, install a bunch of stuff or make custom changes. In it's essence, it's a set of bash/sh files that are executed sequentially when you launch the yadm bootstrap command.
What are some alternatives?
kyrat - SSH wrapper script that brings your dotfiles always with you on Linux and OSX
GNU Stow - GNU Stow - mirror of savannah git repository occasionally with more bleeding-edge branches
dotfiles - :unicorn: My personal dotfiles
chezmoi - Manage your dotfiles across multiple diverse machines, securely.
lightshot - A simple screenshot tool i made that is really lightweight
Home Manager using Nix - Manage a user environment using Nix [maintainer=@rycee]
DownloadNet - 💾 DownloadNet - All content you browse online available offline. Search through the full-text of all pages in your browser history. ⭐️ Star to support our work!
dotbot - A tool that bootstraps your dotfiles ⚡️
nyxt - Nyxt - the hacker's browser.
homesick - Your home directory is your castle. Don't leave your dotfiles behind.
monolith - ⬛️ CLI tool for saving complete web pages as a single HTML file
Ansible - Ansible is a radically simple IT automation platform that makes your applications and systems easier to deploy and maintain. Automate everything from code deployment to network configuration to cloud management, in a language that approaches plain English, using SSH, with no agents to install on remote systems. https://docs.ansible.com.