{"id":17602958,"url":"https://github.com/andyatkinson/presentations","last_synced_at":"2026-02-27T03:02:31.043Z","repository":{"id":257862498,"uuid":"870754989","full_name":"andyatkinson/presentations","owner":"andyatkinson","description":null,"archived":false,"fork":false,"pushed_at":"2025-09-26T16:20:04.000Z","size":4523,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-26T16:26:53.701Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PLpgSQL","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/andyatkinson.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-10-10T15:54:07.000Z","updated_at":"2025-09-26T16:20:07.000Z","dependencies_parsed_at":"2024-10-28T16:33:15.669Z","dependency_job_id":"34882174-8680-4fb0-a379-73e7446f52d6","html_url":"https://github.com/andyatkinson/presentations","commit_stats":null,"previous_names":["andyatkinson/presentations"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/andyatkinson/presentations","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andyatkinson%2Fpresentations","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andyatkinson%2Fpresentations/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andyatkinson%2Fpresentations/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andyatkinson%2Fpresentations/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andyatkinson","download_url":"https://codeload.github.com/andyatkinson/presentations/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andyatkinson%2Fpresentations/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29883111,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-26T23:51:21.483Z","status":"online","status_checked_at":"2026-02-27T02:00:06.759Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-22T13:29:50.264Z","updated_at":"2026-02-27T03:02:31.037Z","avatar_url":"https://github.com/andyatkinson.png","language":"PLpgSQL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Presentations\n\n## PGConf NYC 2025\n- [pgconfnyc2025/README.md](pgconfnyc2025/README.md)\n- [Speakerdeck Slides](https://speakerdeck.com/andyatkinson/multitenancy-patterns-in-community-postgresql)\n- [bit.ly/pg-mten](https://bit.ly/pg-mten)\n\n## RailsConf 2025\n- [railsconf2025/README.md](railsconf2025/README.md)\n- [Speakerdeck Slides](https://speakerdeck.com/andyatkinson/10-costly-database-performance-mistakes-and-how-to-fix-them)\n- [bit.ly/rc10m](https://bit.ly/rc10m)\n\n## PASS Data Community Summit\n- [pass2024/README.md](pass2024/README.md)\n\n## Presentations with Markdown\n\u003e Create decks like a hacker!\n\nQuote inspired by: [blog like a hacker](https://tom.preston-werner.com/2008/11/17/blogging-like-a-hacker.html)\n\nOften a slide deck is the best way to present information. Since I'm keeping notes in Markdown anyway, Marp allows me to add a minimal amount of formatting to create a slide deck presentation, and export it to a PDF.\n\n## Instructions\nMade with [Marp: Markdown Presentation Ecosystem](https://marp.app).\n\nVisually previewed with VS Code:\n* `Command-K + V` opens a side-by-side preview of the `.md` file\n* `Shift-Command-V` opens the preview in the same window\n* Top right menu \"Export slide deck\" to export a PDF, or export from the command line (preferred)\n* Typically I upload slides PDF to Speaker Deck! ([speakerdeck.com/andyatkinson](https://speakerdeck.com/andyatkinson))\n\n## Tips\n* Pick a built-in [theme](https://github.com/marp-team/marp-core/tree/main/themes)!\n* Marp supports global and local directives, applying to all slides or individual slides\n  * Individual slide directives use HTML comments, e.g. `\u003c!-- backgroundColor: aqua --\u003e`\n  * Scope changes to the slide only with an underscore (spot directive), e.g. `\u003c!-- _backgroundColor --\u003e`\n* For backgrounds, consider a CSS gradients: \u003chttps://www.eggradients.com\u003e\n* For rounded corners, JS Fiddle [happy face rounded corners](http://thenewcode.com/431/Simple-CSS-Masks-Images-with-Rounded-Corners)\n* Used \u003chttps://imgur.com\u003e for image uploads, but usually keep images locally in `images` directory\n- Crunch down big PNG, JPG, AVIF, and WEBP images using imagemagick (`magick` command)\n* Transitions: \u003chttps://github.com/marp-team/marp-cli/issues/382\u003e\n* For HTML, add `--html` option on export: \u003chttps://www.hashbangcode.com/article/seven-tips-getting-most-out-marp#using-html-in-slides\u003e\n* In Vim, yank buffer to clipboard: `:%w !pbcopy`\n* Open a terminal from Vim with `:term` and then navigate with `Ctrl-W h/j/k/l`\n\n## marp-cli\nInstall:\n```sh\nbrew install marp-cli\n```\n\nExample use to generate PDF and fill in metadata:\n```sh\nmarp --pdf \\\n    --title \"Partitioning 1 Billion Rows Without Downtime\" \\\n    --description \"Range Partitioning Case Study with Rails and pgslice\" \\\n    --html --author \"Andrew Atkinson\" \\\n    --keywords \"PostgreSQL, Partitioning, Scaling, Performance, Ruby on Rails, Ruby\" \\\n    --url \"https://bit.ly/PartPG2023\" \\\n    --allow-local-files partitioning-concept-to-reality-case-study.md\n```\n\nThis will produce a PDF file.\n\n## Content Links\n* PostgreSQL logo: \u003chttps://i.imgur.com/m5OLczS.png\u003e\n* Rails Logo: \u003chttps://twitter.com/rails/status/689480911432249345/photo/1\u003e\n\n## Diagrams\nDraw.io\n- Link items together so they can be re-positioned and preserve links\n\n## Footnotes\nNot directly supported in Marp Slides. Community:\n- \u003chttps://github.com/orgs/marp-team/discussions/150#discussioncomment-7127819\u003e\n\nWhat I did was use HTML footnotes, then keep a CSV mapping of number to link, then a Ruby script (`footnote_fixer.rb`) produces an HTML list of links.\n\n## Tools\nMacOS:\n```sh\nbrew install shellcheck\n```\n\nRun shellcheck:\n```sh\nshellcheck create_db.sh\n```\n\n## VS Code\n- Choose \"Trust\", not Restricted Mode, which doesn't support all the HTML\n\n## Magick\nShrink the sizes of large image files.\n```sh\nmagick images/pghero.png -resize 50% -quality 85 images/pghero.jpg\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandyatkinson%2Fpresentations","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandyatkinson%2Fpresentations","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandyatkinson%2Fpresentations/lists"}