mac-dev-playbook
direnv
Our great sponsors
mac-dev-playbook | direnv | |
---|---|---|
20 | 157 | |
5,781 | 11,675 | |
- | 1.5% | |
4.4 | 8.7 | |
about 1 month ago | 3 days ago | |
Shell | Go | |
GNU General Public License v3.0 or later | MIT 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.
mac-dev-playbook
-
Linus Torvalds statement
To get your Linux ready to use after a fresh install you might have an Ansible playbook to get the system ready to go with all the tools you need.
-
Optimal way to backup Macs without Time Machine
Not public. But you can search YouTube for geerlingguy and Ansible Mac. I got the idea from him https://github.com/geerlingguy/mac-dev-playbook
- How would you set up your work laptop differently if you had to do it again?
-
A configuration management system for pets, not cattle
This is how I set up my Mac as well; just a local connection. Sets up out of box Mac in about 15 minutes and I can keep my two Mac's configs in perfect sync: https://github.com/geerlingguy/mac-dev-playbook
-
Anyone have a checklist/plan for when they migrate to a new Mac and do a fresh install?
One way I have seen is to use Ansible and a playbook - Jeff Geerling does this here but that's a bit OTT for me.
-
Getting my first Mac from work. What are some good work related apps to try out?
Jeff Geerling has a Mac Dev PlayBook repo that is pretty close to how I would build my system.
-
Trying to automate the “Automatically hide and show the menu bar in full screen” setting.
There is, I use this with some of my own customizations https://github.com/geerlingguy/mac-dev-playbook
-
Your favorite automated method for duplicating your setup on a new machine?
If you go down the route of using Ansible, this is a very complete script for Mac OS. Even if you don't use it, you can see how many useful apps can be installed (mac-dev-playbook)[https://github.com/geerlingguy/mac-dev-playbook]
-
Script to setup all dev tools in a local environment
If you go down the route of using Ansible, this is a very complete tool for Mac OS. Even if you don't use it, you can see how many useful apps can be installed mac-dev-playbook And if Ansible if just too much, try this simple way to code, document, and replay bits of your installation scripts with this tool I wrote recently and use to deploy systems daily. markdown_exec
-
Ask HN: How do you sync your computers development configurations/environment?
I symlink a few files in place via Dropbox, but have most of my local configs in a dot files repo: https://github.com/geerlingguy/dotfiles
Then for more systemwide configuration, I have an Ansible playbook I run every now and then (configures apps, dock item order, etc): https://github.com/geerlingguy/mac-dev-playbook
direnv
-
Nix-direnv is a quality of life improvement
I also made the export diff configurable, motivated by this post: https://github.com/direnv/direnv/pull/1233
- Direnv – Unclutter Your .profile
-
Conditional Git Configuration
Nice.
For years I've been using [direnv](https://direnv.net/) for this, setting environment variables which git picks up. This looks like a more feature complete equivalent, although to be honest I only really need switching of committer email and the SSH key used.
- FLaNK 25 December 2023
-
Development Environments with Guix, similar to devenv.sh
Direnv, for the uninitiated, loads and unloads environment variables when directories are entered and exited. Under every project folder there is a `$PROJ_DIR/.envrc` which contains:
-
Emacs Advent Calendar 9: devdocs, code-cells, dREPL, etc.
buffer-env: A pure-Elisp version of the direnv utility. Useful to make Emacs aware of Python virtualenvs (which, judging by the questions posted here, is unfortunately still a complication for a lot of people). Similar to (and inspired by) envrc, but doesn't require the direnv program.
-
golang cli vs env var in windows?
You can look at direnv to see this in action as they wrote shell hooks that get loaded into the shell profile and are executed on every prompt. https://direnv.net/
-
Nix Survival Mode: macOS upgrades won't break Nix anymore
Yes, most Nix users employ https://direnv.net or the equivalent for your IDE of choice. Emacs for instance has https://github.com/purcell/envrc which set per-buffer variables.
- Direnv: Unclutter Your .profile
-
What Is Wrong with TOML?
The more applications I write, the more I tend to avoid typical config files in favor of using direnv [0] to set environment variables.
What are some alternatives?
strap - 👢 Bootstrap your macOS development system.
spaceship-prompt - :rocket::star: Minimalistic, powerful and extremely customizable Zsh prompt
ansible-betterbird - [DISCONTINUED] A fully automated build script for Betterbird using Ansible.
Pipenv - Python Development Workflow for Humans.
mac-setup-script - script to setup my mac
lorri - Your project's nix-env
sol-deploy - solana deployment tool to deploy solana application via ansible using AWS EC2 autoscaling group
Home Manager using Nix - Manage a user environment using Nix [maintainer=@rycee]
ansible-requirements-updater - Update your requirements.yml with this grisly Ansible playbook.
Neovim-from-scratch - 📚 A Neovim config designed from scratch to be understandable
ansible-job-report - A template for creating HTML-based job reports with Ansible
Poetry - Python packaging and dependency management made easy