Giter Club home page Giter Club logo

dotfiles's Introduction

Hey, I'm Justin Hammond ๐Ÿ‘‹

Senior Software Engineer @EasyPost, IT Pro, Tech Enthusiast

I love all things tech. I've been programming for 18+ years, tinkering with electronics for 15+ years, and founding or building tech companies for 10+ years. I'm an open source fanatic, Apple fanboy, and love to explore new tech. I spend my time coding open source projects, tinkering with electronics and new tech products, and consulting teams on how to get things done.

Noteworthy Projects

The following are items that may not be represented on my GitHub profile but are noteworthy in the software space:

GitHub Stats

Metrics

Latest Blog Posts

dotfiles's People

Contributors

justintime50 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

danielv7

dotfiles's Issues

Add Server Crontab to Dotfiles Backed Up

My server has a growing crontab that should probably be included here. I'll need to devise a way that no crews are leaked.

  • Easiest approach is probably pulling creds out of the crontab and putting them in a .env file that is then sourced from the crontab - the .env file then would not be checked in.
  • Backup crontab file and ensure it can be symlinked without blowing up.

Dynamically Sync iTerm Profile/Configuration

Currently I have a static file of my iTerm config sitting in this repo. The only way to update it is to export the config from iTerm and manually import it on another machine. Let's figure out a way to dynamically import/export and sync these across machines.

Reference (may be possible by following something like yadm): https://yadm.io/docs/bootstrap#

Out of Sync Dotfiles

If I'm working on one computer with a set of dot files and then switch to another, I could have two copies of dot files if I did not pull immediately and changed on the other. This is a problem because when you run the pull/push commands, you'll overwrite your changes or you'll get merge conflicts.

Work out a better way to automate dot file syncing.

Offending Code

## Functions ##
function push-dotfiles {
	cp "$HOME"/.zshrc "$HOME"/git/personal/dotfiles/src
	cp "$HOME"/.gitconfig "$HOME"/git/personal/dotfiles/src
	# cp /etc/hosts "$HOME"/git/personal/dotfiles/src
	cd "$HOME"/git/personal/dotfiles
	git add .
	git commit -m "Updated dotfiles"
	git push
	echo "Dotfiles pushed!" 
}
function pull-dotfiles {
	curl -s https://raw.githubusercontent.com/justintime50/dotfiles/master/src/install.sh | bash
}

Add hosts file

A big pain is reconfiguring hosts during development. Add that to the list

If you make edits to files, there is no update warning

The warning added to the scripts/functions area only warns you if you were nice enough to make changes and push them. There is no warning saying you have uncommitted changes because the local changes don't make it back into the ~/dotfiles folder. Add some logic to copy everything into that folder when the terminal starts.

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.