GithubHelp home page GithubHelp logo

jackboberg / dotfiles Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 1.0 693 KB

@jackboberg has dotfiles

License: MIT License

Ruby 13.12% Shell 35.82% Emacs Lisp 30.98% JavaScript 0.28% Vim Snippet 9.07% Perl 1.75% Vim Script 8.99%

dotfiles's Introduction

jackboberg

Print up to date contact information

Usage

npx jackboberg

Background

Inspired by johnkpaul and searls, but this approach does not require installing a global module, and it will always be up to date. It pretty prints by default, and outputs JSON if specified.

npx jackboberg -j
npx jackboberg --json

dotfiles's People

Contributors

anaisbetts avatar bsaf avatar crunch09 avatar ghuntley avatar grawity avatar holman avatar icco avatar jackboberg avatar jganoff avatar markus1189 avatar mrsimo avatar prathe avatar rmcastil avatar royhodgman avatar rtomayko avatar sarahhodne avatar shanev avatar sumeetjain avatar sweenzor avatar zpao avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

enewbury

dotfiles's Issues

Erlang/Elixir issues with Big Sur

> asdf install
# ...
=== Running configure in /Users/jack/.asdf/plugins/erlang/kerl-home/builds/asdf_23.1.2/otp_src_23.1.2/make ===
./configure '--enable-darwin-64bit' '--with-ssl=/usr/local/opt/[email protected]' --disable-option-checking --cache-file=/dev/null --srcdir="/Users/jack/.asdf/plugins/erlang/kerl-home/builds/asdf_23.1.2/otp_src_23.1.2/make"
configure: error: cannot find required auxiliary files: install-sh config.guess config.sub
ERROR: /Users/jack/.asdf/plugins/erlang/kerl-home/builds/asdf_23.1.2/otp_src_23.1.2/make/configure failed!

Please see /Users/jack/.asdf/plugins/erlang/kerl-home/builds/asdf_23.1.2/otp_build_23.1.2.log for full details.

This is a known issue, perhaps to be resolved by asdf, but here is the process I used to resolve it on 2020-04-17:

  • uninstall autoconf from home-brew and manually install
    asdf-vm/asdf-erlang#195 (comment)
    brew uninstall --ignore-dependencies autoconf
    curl -O http://ftp.gnu.org/gnu/autoconf/autoconf-2.69.tar.gz
    tar zxvf autoconf-2.69.tar.gz
    cd autoconf-2.69
    ./configure && make && sudo make install
  • Install Erlang without java (and deal with SSL)
    kerl/kerl#320
    export KERL_CONFIGURE_OPTIONS="--without-javac --with-ssl=`/usr/local/bin/brew --prefix openssl`"
    

zsh compinit: insecure directories

zsh compinit: insecure directories, run compaudit for list.
Ignore insecure directories and continue [y] or abort compinit [n]? y%

> compaudit
There are insecure directories:
/usr/local/share/zsh/site-functions
/usr/local/etc
/usr/local/share/zsh


Resolved on 2020-04-17 with this:

compaudit | xargs chmod g-w
  • automate this as part of setup?

Setup PGP

On a new install, I want to retain my PGP setup.

  • maintain a private export of my keys
  • import keys during setup
  • test keys and report errors during setup
  • maybe: automate exporting

Homebrew complaining about zsh completions

zsh completions have been installed to:
  /usr/local/share/zsh/site-functions

/usr/local/share/zsh/site-functions is not in your zsh FPATH!
Add it by following these steps:
  https://docs.brew.sh/Shell-Completion#configuring-completions-in-zsh

Update Sheldon

  • configuration file format needs adjustment
  • now properly handles custom directory, or just adopt ~/.dotfiles

deal with emacs warning

You appear to be setting environment variables ("PATH") in your .bashrc or .zshrc:
those files are only read by interactive shells, so you should instead set environment
variables in startup files like .profile, .bash_profile or .zshenv.  Refer to your shell’s
man page for more info. Customize ‘exec-path-from-shell-arguments’ to remove "-i"
when done, or disable ‘exec-path-from-shell-check-startup-files’ to disable this message.

maintain `/etc/hosts`

I have local dev domains setup, and would like them persisted across installs. Since I don't want to make etc/hosts a symlink managed by rcm, I think building a manifest file and reinitializing during setup makes sense.

feross/hostile: Simple, programmatic /etc/hosts manipulation (in node.js)

> npx hostile load $HOSTILE_BUNDLE_PATH

This manifest should probably be loaded from 'secure' files, since it likely includes current client information.

Setup elixir-ls

Leveraging this in my doom emacs is great, but requires additional setup.

  • get and compile language server
    ghq get elixir-lsp/elixir-ls
    cd $(ghq list -p elixir-lsp/elixir-ls)
    mix deps.get
    mix compile
    mix elixir_ls.release -o release
    
  • add path
    ELIXIR_LS_PATH=$(ghq list -p elixir-lsp/elixir-ls)/release
    PATH=$PATH:$ELIXIR_LS_PATH
    

Setup SSH

  • persist ~/.ssh in 'secure' files location
  • automate import/setup

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.