Giter Club home page Giter Club logo

dotfiles's People

Contributors

jarrodldavis avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

dotfiles's Issues

Separate shared, personal, and home packages

Personal:

  • act
  • heroku
  • stripe
  • algodoo
  • backblaze
  • discord
  • eloston-chromium
  • jetbrains-toolbox
  • jumpshare
  • megasync
  • microsoft-auto-update
  • microsoft-office
  • upwork

Work:

  • google-chrome
  • google-drive
  • zoom

Better handling of backgrounding when using elapsed

When using elapsed, I often wish to place the job in the background by appending & at the end of my command like so:

./elapsed -d "wget the backup from origin server" -l wget.log -c "wget 'https://example.com/backup.zip'" &

When I do that, I still get output from the command, and it's difficult to use disown so I can leave the job running even after leaving the shell.

Re-add CI

Required:

  • macOS
  • Debian 10 (buster) Dev Container
  • Debian 11 (bullseye) Dev Container
  • Debian 12 (bookworm) Dev Container
  • Ubuntu 20.04 (focal) Dev Container
  • Ubuntu 22.04 (jammy) Dev Container

Additional:

  • floating "stable", "previous", and "upcoming" of Debian and Ubuntu

Redirect stderr to stdout

Some commands (like git and parts of the Homebrew installer) write to stderr for non-error output, so redirect to stdout to get accurately linear output (i.e. in Visual Studio Code when creating a Development Container).

Add installer for VSCode Remote Dev Containers

Install Homebrew early

Install Homebrew so that:

  • Xcode CLDT is auto-installed by Homebrew installer before using git to clone repo
  • /usr/local/bin exists before symlinking pinentry-auto.sh

Add dependabot

.github/dependabot.yml

version: 2
updates:
  - package-ecosystem: "gitsubmodule"
    directory: "/"
    schedule:
      interval: "weekly"

Reset GnuPG database if needed

Some Docker images (e.g. node) have GnuPG keys pre-installed, and that causes issues when trying to import my own key. Detect this during ./install.sh and reset/rimraf ~/.gnupg as needed.

Add user defaults management

Add utility to save User Defaults (filtering out transient keys like window locations) and re-apply them on installation.

If any System Preferences or app-level Preferences window saves to somewhere other than User Defaults, also save and re-apply those.

Fix Docker file sharing

https://medium.com/@yorickjacquin/fixing-the-var-folders-error-in-docker-for-mac-v2-2-3-2a40e776132d

Problem: For the Finder, /var/folders does not exist and without both /var/folders and /private/var/folders added to the shared files, you will get this kind of error while running docker-compose up:

Error response from daemon: Mounts denied:
The path /var/folders/lx/d20nhfdfbd26b9cgdwjf3vpr0600gn/T/services-H7326VH is not shared from OS X and is not known to Docker.
You can configure shared paths from Docker -> Preferences... -> File Sharing.
See https://docs.docker.com/docker-for-mac/osxfs/#namespaces for more info.

The solution is to manually edit the configuration file for your docker installation located at:

~/Library/Group\ Containers/group.com.docker/settings.json

At the top of the file you will see an array that looks like this:

"filesharingDirectories": [
  "\/Users",
  "\/Volumes",
  "\/private",
  "\/tmp"
],

You want to append the 2 following lines:

"\/var\/folders",
"\/private\/var\/folders"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.