Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/angelobattaglia/cp
Guide and solutions
https://github.com/angelobattaglia/cp
documentation mkdocs mkdocs-material
Last synced: 22 days ago
JSON representation
Guide and solutions
- Host: GitHub
- URL: https://github.com/angelobattaglia/cp
- Owner: angelobattaglia
- Created: 2024-03-24T14:02:24.000Z (10 months ago)
- Default Branch: master
- Last Pushed: 2024-12-06T22:56:49.000Z (about 1 month ago)
- Last Synced: 2024-12-18T20:14:07.491Z (22 days ago)
- Topics: documentation, mkdocs, mkdocs-material
- Language: HTML
- Homepage: https://angelobattaglia.github.io/CP/site/index.html
- Size: 700 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# [Here's the website](https://angelobattaglia.github.io/CP/site/index.html)
## Starting kit to CP, and problem solutions
After [installing MkDocs Material on your system](https://squidfunk.github.io/mkdocs-material/),
on the root directory, i.e. where the `mkdocs.yml` file is located, do the following:```shell
git clone
``````shell
mkdocs build
mkdocs serve
```## Workflow
On the `solutions` sub-directory I use this approach
### Makefile to clean the binaries
Simply type `make` to get rid of `.class` and `.out` files
### Add this to your `.zshrc` or `.bashrc` to generate templates and run the scripts
This will make you use two scripts that I use to be quick `gen` and `run`, and
adjust the path appropriately
```shell
export PATH="$PATH:$HOME/Repos/CP/fastexec"
```then source it, of course
```shell
source .zshrc
```Use `gen` to generate a template
```shell
gen problemX.cpp
```and then `run` to run it
```shell
run problemX.cpp
```