Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gregmalcolm/metaprogramming-for-maniacs
https://github.com/gregmalcolm/metaprogramming-for-maniacs
Last synced: 29 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/gregmalcolm/metaprogramming-for-maniacs
- Owner: gregmalcolm
- Created: 2022-09-15T18:13:59.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-15T03:35:20.000Z (4 months ago)
- Last Synced: 2024-07-16T03:03:51.533Z (4 months ago)
- Language: Shell
- Size: 11.7 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Metaprogramming for Maniacs Live Coding materials
## Setup
[Slides](https://docs.google.com/presentation/d/1Ugq1LvLssx2dTQRGMWdXxJ0dkz4SuY36hfCVvbN_05Q/edit?usp=sharing)
This presentation makes use of git to jump between iterations of demos. For this reason the demos are individual git submodules. Take this into account when cloning:
```
# Clone with submodules
git clone --recurse-submodules [email protected]:gregmalcolm/metaprogramming-for-maniacs.git maniacs
```The project code is initally at the "end of demo" state. Reset it if you want to take it back to the beginning:
```
cd maniacs
./reset
```## Aliases
I use a series of aliases to move around during the demo. This is my person setup (on a mac),
```
# update accordingly
export MANIACS_PATH=~/git/maniacsalias maniacs='cd $MANIACS_PATH'
alias mcrails='cd $MANIACS_PATH/mcrails'
alias unix='cd $MANIACS_PATH/unix_anywhere'
alias n='scripts/next'
alias b='scripts/back'
```In mcrails and unix_anywhere folders demos these scripts are handling travel through the git shas:
```
scripts/next
scripts/back
```At any step along the way open the active code file in an irb with:
```
scripts/console
```I use git folders starting from 0 increasing in increments of 10
`./reset` resets everything back to the "0" starting branch