{"id":15505334,"url":"https://github.com/hasparus/power-of-preconditions","last_synced_at":"2026-05-10T01:22:32.777Z","repository":{"id":72291944,"uuid":"218516454","full_name":"hasparus/power-of-preconditions","owner":"hasparus","description":"My talk for WroTS #8","archived":false,"fork":false,"pushed_at":"2020-03-14T10:23:12.000Z","size":6044,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-19T05:17:43.334Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hasparus.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-10-30T11:54:28.000Z","updated_at":"2019-12-22T12:16:48.000Z","dependencies_parsed_at":"2023-03-11T12:11:55.594Z","dependency_job_id":null,"html_url":"https://github.com/hasparus/power-of-preconditions","commit_stats":{"total_commits":5,"total_committers":1,"mean_commits":5.0,"dds":0.0,"last_synced_commit":"7a581efb268e512782c3cf215c6b046378d94c94"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":"hasparus/vscode-presentation-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hasparus%2Fpower-of-preconditions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hasparus%2Fpower-of-preconditions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hasparus%2Fpower-of-preconditions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hasparus%2Fpower-of-preconditions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hasparus","download_url":"https://codeload.github.com/hasparus/power-of-preconditions/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241637190,"owners_count":19994927,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-02T09:22:45.886Z","updated_at":"2026-05-10T01:22:32.715Z","avatar_url":"https://github.com/hasparus.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"---\ntitle: \"Power of Preconditions\"\n---\n\n_the talk_\n\n\n# How\n\nA VSCode presentation.\n\n# Why\n\nUse console.assert, you'll be better off.\n\n# What\n\n- Intro\n  - I'm Piotr Monwid-Olechnowicz and I wanted to say sorry\n  - I'd like to encourage you to press the bright green button\n  - Thank the talented and courageous developers who have spoken before me\n  - Mention your Svelte problems\n\n- partial vs total functions\n  - `head` example\n  - wikipedia links\n- returning vs throwing errors\n\n- slides\n\n---\n_quick reminders_\n\n# Controls\n\n```json\n  {\n    \"key\": \"cmd+alt+left\",\n    \"command\": \"workbench.action.previousEditor\"\n  },\n  {\n    \"key\": \"cmd+alt+right\",\n    \"command\": \"workbench.action.nextEditor\"\n  },\n  {\n    \"key\": \"cmd+shift+q\",\n    \"command\": \"quokka.toggle\",\n    \"when\": \"editorTextFocus\"\n  },\n```\n\nMove quickly through the slides with\n- `Cmd + Alt + LeftArrow` → _View: Open Previous Editor_  \n- `Cmd + Alt + RightArrow` → _View: Open Next Editor_\n\nRun TypeScript slides with\n- `Cmd + Shift + Q` → _Quokka.js: Toggle (Start/Stop) on Current File_\n\nMinimize distractions and maximize screen space \n- `Cmd + B` → _(built-in) View: Toggle Side Bar Visibility_\n\nUse regions to hide imports and code pasted from previous slides\n\n![](assets/2019-10-28-19-43-38.png)\n\n# Credits\n\n- cloned from https://github.com/blackdahila/wroc-ts-08-talk\n- based on https://staltz.com/your-ide-as-a-presentation-tool.html\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhasparus%2Fpower-of-preconditions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhasparus%2Fpower-of-preconditions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhasparus%2Fpower-of-preconditions/lists"}