klips/README.md

51 lines
2.1 KiB
Markdown
Raw Normal View History

2019-07-21 04:20:55 +00:00
# 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
```
2019-07-26 19:08:59 +00:00
https://github.com/shaunrd0/...
2019-07-26 19:08:59 +00:00
klips/
├──── plates/
│ ├── cpp-cmake (Simple cpp executable template, built using cmake)
2019-07-26 20:29:41 +00:00
│ │
2019-07-26 19:08:59 +00:00
│ └── cpp-launcher (Simple cpp launcher template, built using cmake. Easily expandable.)
2019-07-26 19:08:59 +00:00
├──── refs/
│ └── doxygenROT (Basic rule-of-thumb for Doxygen commenting)
2019-07-26 19:08:59 +00:00
├──── scripts/
│ └── cmake-build.sh (Script to toss around and build cmake projects)
2019-07-26 20:29:41 +00:00
├──── configs/
│ └──.vimrc (Sets vim tabwidth=2, uses spaces instead of tabs, allows mouse interaction when available.)
# Copy / paste below symbols for editing this README / updating hierarchy
│ ├ ─ └
2019-07-26 20:29:41 +00:00
```
2019-07-26 19:16:38 +00:00
### Scripts
2019-07-26 19:08:59 +00:00
I write these scripts for my own use, and you may need to tweak them slightly to suit your needs.
Never run a script you can't read or understand. Comments can be found in the scripts, usually explaining them block-by-block. Below is my personal use cases for the scripts, to provide further insight into how I use them and how they might be useful to you.
2019-07-26 19:16:38 +00:00
#### cmake-build.sh
2019-07-26 19:08:59 +00:00
I usually run this script within whatever directory I'm working in, hence the infinite loop, I leave the script running until I'm done with my work and move to a new directory / cmake project.