Skip to content

houbie/code-demo-slides

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Slides with embedded, runnable code

  • embedded code snippets
  • executable Python, Java, JavaScript, shell instructions, etc.
  • give demos without leaving your slide show
  • basic code completion during live coding demos (depending on language)

Getting started

git clone https://github.com/houbie/code-demo-slides.git
cd code-demo-slides/demo-slides
# windows: .\pw start
./pw start
NOTE: Make sure Python >=3.8 is available on your path by running python --version

Language Specific Examples

Python

Using the default Python kernel.

cd code-demo-slides/python
# windows: .\pw start
./pw start

Node.js (TypeScript, JavaScript)

Using the tslab kernel.

cd code-demo-slides/nodejs
# windows: .\pw start
./pw start

Java

Using the IJava kernel.

cd code-demo-slides/java
# windows: .\pw start
./pw start

Combining languages

The nodejs slides use the Script of Scripts (SoS) kernel to enable both TypeScript and JavaScript execution in the same notebook.

This can easily be extended with other kernels by copying the relevant bits of each pypproject.toml.

Other programming languages

I would like to demo my favourite language, but it's not yet included.

Checkout if there is a Jupyter kernel available. I so, submit a github issue, and I'll see what I can do 😃

Let's do some live coding demos!

About

Kickstart slides with embedded code and demos

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published