Giter Site home page Giter Site logo

dotfiles's Introduction

Julie's dotfiles

Originally cloned, stripped and modified from Paul Irish's dotfiles with some further customizations.

Install

  1. Clone this repository
  2. Run ./sync.sh and confirm deletion of existing files when prompted.

Custom Shell

Preview

Look and Feel

Additional Toools

Mac Adjustments

Git - Disable OS X Keychain

Mac OS by default wants to use the OS X keychain. But I want to use git-credential-netrc.

Verify problem with

$ git config --system credential.helper
osxkeychain

Then try

git config --system --unset credential.helper

Then hopefully it uses our .gitconfig

GPG Keys

Copy keys to another computer, per gpg docs on exchanging keys.

  • requires passwords for the keys
  • note: this skips --armour flag, which creates ascii.

Export Keys

gpg --export <user@email> --output <public.gpg>
gpg --export-secret-keys <user@email> --output <private.gpg>

Import Keys

gpg --import <public.gpg>
gpg --import <private.gpg>

Trust Key

If later using the key there is an erorr message that says

"There is no assurance this key belongs to the named user gpg:",

then run

gpg --list-keys
gpg --edit-key <KEY_ID>
gpg> trust

and select 5

1 = I don't know or won't say
2 = I do NOT trust
3 = I trust marginally
4 = I trust fully
5 = I trust ultimately
m = back to the main menu

Using with .netrc

Use case: need to update GitHub API token.

First, decrypt the .netrc.gpg into .netrc

gpg --decrypt --recipient <user@email> -o .netrc .netrc.gpg

Make changes to .netrc

Then re-encrypt to a .netrc.gpg

gpg --encrypt --recipient <user@email> -o .netrc.gpg .netrc

Important: don't forget to delete unencrypted .netrc file

dotfiles's People

Contributors

julie-ng avatar mathiasbynens avatar paulirish avatar matijs avatar danawoodman avatar gburtini avatar jpsirois avatar jrk avatar mattbanks avatar iloveitaly avatar kyleridolfo avatar quicksnap avatar

Stargazers

Mike Zuber avatar Valentins Fedotovs avatar Alexander Thoma avatar Vishesh avatar  avatar Daria Tsypkina avatar Rotimi Best avatar Ernst Salzmann avatar Sundara Vishnu avatar edisplay avatar Roman avatar Gus Mustakas avatar Danilo Calhes avatar Pawel Janicki avatar Carlos Millet avatar Michael Antczak avatar Chandu avatar  avatar Chandu avatar Marcus Apolinário avatar Umma Ahimsha avatar Manoel avatar

Watchers

James Cloos avatar  avatar  avatar  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.