Coder Social home page Coder Social logo

baileywickham / personal_packages Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 9.21 MB

A dotfiles repo with scripts and docker testing

Shell 83.63% Python 2.02% Dockerfile 0.43% Emacs Lisp 1.09% Vim Snippet 6.82% Yacc 1.03% Vim Script 4.97%
docker dotfiles shell

personal_packages's Introduction

Personal Packages

build

My dotfiles and install scripts

img

Layout

  • bin/ scripts for my machine
  • config/ my dotfiles
  • files/ config files, keyboard layout, etc...
  • modules/ specific install scripts
  • scripts/ useful scripts for this repo

Modules

To add an install script, add a .sh file to modules/. The personal_packages.sh script automaticly call the function matching the name of the file for all files in the modules directory. Ex: install_zsh in modules/install_zsh.sh will be automaticly called.

Use

Run ./personal_packages.sh -h to see the options available.

Commonly used bash utils are stored in the utils.sh file, they can be included in any repo with the following script.

if [ -f utils.sh ]; then
    source utils.sh
else
    curl -s https://raw.githubusercontent.com/baileywickham/personal_packages/master/utils.sh > utils.sh
    source utils.sh
fi

Running

There should be as few dependencies as possible to the actual script, bash and git are all you need

sudo apt install git
git clone https://github.com/baileywickham/personal_packages.git ~/workspace/personal_packages && \
cd ~/workspace/personal_packages && ./personal_packages.sh -a

To install the packages and move the dotfiles.

Features

This installs my custom keyboard, bashrc, vimrc, tmux.conf, 2fa files and all packages I want.

Docker

Use:

./dock.sh

This repo includes a dockerfile and a script, dock.sh which runs the dockerfile. I am using docker as a test enviroment for making changes to the os, without breaking my configs.

One liners

curl https://raw.githubusercontent.com/baileywickham/personal_packages/master/files/keyboard > /etc/default/keyboard

personal_packages's People

Contributors

baileywickham avatar

Stargazers

 avatar

Watchers

 avatar

personal_packages's Issues

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.