2.2 KiB
klips
Snippets that I frequently use and share
This repository is a collection of code snippets that I reuse, clone, or frequently refer to in regards to configurations or settings. This can be cloned as a whole and refered to locally as needed, or copied around and used to lay out templates for larger projects.
The snippets are organized within topic-labeled folders. 'plates' is short-hand for templates, and houses all folders / projects that can be copied and edited / adjusted locally as templates for larger projects.
Other directories could contain configuration files, bash exports, scripts, etc.
All snippets will be listed below with the directories in the master branch. If you are not on master, I cant guarentee anything will be anywhere unless otherwise described.
Contents
https://github.com/shaunrd0/...
klips/
├──── ansible/ (Ansible roles, playbooks)
│ │
│ ├── nginx.yml (Playbook example for using nginx role)
│ │
│ ├── hosts (Same ansible hosts file)
│ │
│ ├── apt-up.yml (Playbook to update servers / groups ad hoc)
│ │
│ └──roles
│ └── nginx (Basic ansible role created with ansible-galaxy command)
│
│
├──── plates/
│ ├── cpp-cmake (Simple cpp executable template, built using cmake)
│ │
│ └── cpp-launcher (Simple cpp launcher template, built using cmake. Easily expandable.)
│
├──── refs/
│ └── doxygenROT (Basic rule-of-thumb for Doxygen commenting)
│
├──── scripts/
│ ├── cmake-build.sh (Script to toss around and build cmake projects)
│ │
│ ├── setup-vim.sh (Script for setting up vim configuration)
│ │
│ └── README.md (Any instructions that might be needed for the scripts within this directory)
│
├──── configs/
│ ├──.vimrc (Various settings for vim, can be copied or used with setup-vim.sh)
│
└──.vimrc-README (What these settings do, output when setup-vim.sh is ran.)
# Copy / paste below symbols for editing this README / updating hierarchy
│ ├ ─ └