Skip to content

Instantly share code, notes, and snippets.

@AndrewNatoli
AndrewNatoli / debug-keys.el
Created February 7, 2023 16:43
Some Doom Emacs config snippets
(global-set-key (kbd "C-c d b a") 'dap-breakpoint-add)
(global-set-key (kbd "C-c d b d") 'dap-breakpoint-delete)
(global-set-key (kbd "C-c d b t") 'dap-breakpoint-toggle)
(global-set-key (kbd "C-c d b l") 'dap-ui-breakpoints-list)
@AndrewNatoli
AndrewNatoli / MyComponent.svelte
Last active June 6, 2022 03:08
HTTP requests with RxJS and Svelte
<script>
import { refreshRepos, repos$ } from './api';
</script>
<div class="flex flex-col">
<button on:click={refreshRepos} class="bg-orange-500 border-orange-700 text-white p-4 m-4">Fetch Repos</button>
<div class="my-4">
{#if $repos$?.data}
<ul>
{#each $repos$?.data as repo (repo.id)}
@AndrewNatoli
AndrewNatoli / instructions.md
Last active June 6, 2022 03:33
iA Writer Quick Note iOS Shortcut

iA Writer Quick Note iOS Shortcut

Text

Insert your iA Writer token here

Scripting

URL Encode Text

@AndrewNatoli
AndrewNatoli / instructions.md
Last active June 6, 2022 03:34
Obsidian Quick Note iOS Shortcut

Obsidian Quick Note iOS Shortcut

Calendar

  • Format current date
    • Date format: Medium
    • Time format: Short
  • Press "Show more"
    • Date format: Custom
  • Format String: YYYYMMddHHmm

Keybase proof

I hereby claim:

  • I am andrewnatoli on github.
  • I am andrewnatoli (https://keybase.io/andrewnatoli) on keybase.
  • I have a public key ASD2qf-2w_3mmCLdQcxmLUNxXxzgwmQUKUalygqglrvicgo

To claim this, I am signing this object: