Skip to content

Instantly share code, notes, and snippets.

View ianjennings's full-sized avatar

Ian Jennings ianjennings

View GitHub Profile

Getting Started with Reveal.js

Some reveal.js features, like external Markdown, require that presentations run from a local web server. The following instructions will set up such a server as well as all of the development tasks needed to make edits to the reveal.js source code.

Download and Install

Downloading and Installing Reveal.js

Make sure you have Node.js (10.0.0 or later) installed. Then, clone the reveal.js repository:

Getting Started with Reveal.js

Some reveal.js features, like external Markdown, require that presentations run from a local web server. The following instructions will set up such a server as well as all of the development tasks needed to make edits to the reveal.js source code.

Download and Install

Downloading and Installing Reveal.js

Make sure you have Node.js (10.0.0 or later) installed. Then, clone the reveal.js repository:

PS C:\Users\ianjennings\Development\desktop> npm renpm remove electron-rebuild
^C^C^CTerminate batch job (Y/N)? clear
Terminate batch job (Y/N)? npm^C
^CTerminate batch job (Y/N)? Y
PS C:\Users\ianjennings\Development\desktop> npm remove electron-rebuild
up to date, audited 769 packages in 13s
89 packages are looking for funding
run `npm fund` for details
@ianjennings
ianjennings / typescript_shortcuts.md
Created August 10, 2021 19:32
Typescript Shortcuts
  • CMD + " " -- Autocomplete
  • CMD+. - Quick Fix
  • F8 - Go to next type error
  • F12 - Go to definition
  • Clone the Finsemble seed project into your Paircast working directory.
    • Run yarn start and ensure Finsemble launches.
  • Follow the deployment tutorial.
  • Test that you can: run both installers, that the desktop starts as expected, and that it is being served from the expected URL for each deployment.
    • Use a Javascript console to confirm this
  • You can open one by selecting a window and hitting Ctrl + Shift + i or by going to the finsemble menu top left, selecting central logger, and then clicking on the name o
​C:\Users\Jennings\Development-Win
λ git clone [email protected]:ianjennings/finsemble-seed-deploy-test.git
Cloning into 'finsemble-seed-deploy-test'...
remote: Enumerating objects: 9908, done.
remote: Counting objects: 100% (9908/9908), done.
remote: Compressing objects: 100% (3951/3951), done.
remote: Total 9908 (delta 5653), reused 9907 (delta 5652), pack-reused 0
Receiving objects: 100% (9908/9908), 19.67 MiB | 7.26 MiB/s, done.
Resolving deltas: 100% (5653/5653), done.
​C:\Users\Jennings\Development-Win

All right. So now if I run npm start here we launch Electron and we get this basic Hello World. 03:05

Now there's a problem here. It's dark. It's because I'm using dark modes.

Why don't we make it light? 03:09

electron.exe > Hello World! 03:10

Code.exe > ● index.html - electron-notify - Visual Studio Code 03:20

Paircast .net Example

Yes. On DH and a on and on and on with whom I share. 00:06

Paircast > Paircast 00:10

Some tea, too. 00:18

iTerm2 > localadmin@C02W60KZHV2V: ~/code/dotnet-walkthru 00:21

{"so":12,"data":{"data":{}},"type":"start"}
{"so":1300,"data":{"data":{"transcript":"OK, my name's Ian, and we're goingto start by. Ah!","startTime":1.3}},"type":"speech"}
{"so":1312,"data":{"data":{"summary":{"changed":0,"commit":"7b0dad9bb0364a8fdae7a67303b12e109919e76c","deletions":0,"files":[{"changed":0,"deletions":0,"file":"readme.md","insertions":0}],"insertions":0}}},"type":"diff-summary"}
{"so":8410,"data":{"data":{"transcript":"By getting semantic you in here.","startTime":8.41}},"type":"speech"}
{"so":10026,"data":{"data":{"id":2886970,"memoryUsage":283983872,"owner":{"name":"chrome.exe"},"title":"Babel Test Playground - Google Chrome"}},"type":"window"}
{"so":11600,"data":{"data":{"transcript":"So","startTime":11.6}},"type":"speech"}
{"so":12620,"data":{"data":{"transcript":"Let's do it.","startTime":12.62}},"type":"speech"}
{"so":20016,"data":{"data":{"id":2819594,"memoryUsage":92241920,"owner":{"name":"Code.exe"},"title":"snippet.js - babel-sandbox-server - Visual Studio Code"}},"type":"window"}
- babelConfig (babel configs)
- [{}, {}, {}]
- customPlugin
- id
- saved to db
- editor[0]
- babelConfigs[0]
- everytime this changes, ^^^ update babelConfig[0]
- string (updated)