Coder Social home page Coder Social logo

dotfiles's Introduction

These are my dotfiles. There are many like them, but these ones are mine.

Notes to Future Sams:

New computer?

  • Install Hammerspoon: https://www.hammerspoon.org/
  • clone this repo to ~/dotfiles
  • cd dotfiles
  • Set up shell helpers, aliases, config files, and so on:
    • ./symlink_all_the_things
  • Make sure homebrew is installed: https://brew.sh/
    • Use homebrew to install the following:
    • macvim (to get a reasonable version of Vim)
    • thefuck (because it's funny and useful)
    • bat (useful)
    • ack, the_silver_searcher, ripgrep (can't have too many grep alternatives!)
    • fzf (fuzzy finder)
  • Launch vim and run :PlugInstall
  • Install some Ruby version manager (probably rbenv):
    • rbenv: https://github.com/rbenv/rbenv
    • RVM: http://rvm.io/
    • asdf:
      • brew install asdf
      • brew install openssl libyaml libffi (required by the asdf-ruby plugin; note that this may cause some Ruby Woes below)
      • asdf plugin-add ruby https://github.com/asdf-vm/asdf-ruby.git

Ruby Woes

Trouble getting Ruby's mysql2 gem to build properly?

You probably need to add a few hints about where stuff is. (Obviously, double-check the paths below; new computers may not need to run MySQL 5.6, for example.)

  • If mysql_config can't be found, try adding: -- --with-mysql-config=/usr/local/opt/[email protected]/bin/mysql_config
  • If -lss can't be linked, try adding: -- --with-ldflags=-L/usr/local/opt/openssl/lib --with-cppflags=-I/usr/local/opt/openssl/include

--

Clever ideas I could possibly implement at some point:

  • add an indicator to the prompt showing whether the last command had an exit status of 0

dotfiles's People

Contributors

geeksam avatar

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.