Skip to content

Instantly share code, notes, and snippets.

View audreyfeldroy's full-sized avatar
💕

Audrey M. Roy Greenfeld audreyfeldroy

💕
View GitHub Profile
@audreyfeldroy
audreyfeldroy / vim_mappings_normal_mode_alphabetical.txt
Created September 6, 2024 08:52
Vim mappings, normal mode, alphabetical order
A - Append text at the end of the line
B - Move back to the beginning of a word
C - Change to the end of the line
D - Delete to the end of the line
E - Move to the end of a word
F - Find the next occurrence of a character
G - Go to the last line of the document
H - Move to the top of the screen
I - Insert text at the beginning of the line
J - Join the current line with the next line
@audreyfeldroy
audreyfeldroy / vim_cheat_sheet_for_beginners.md
Last active October 1, 2024 04:25
Vim Cheat Sheet for Beginners

Vim Cheat Sheet for Beginners

Modes

Key Mode
i Insert
Esc Normal
v Visual
: Command-line
@audreyfeldroy
audreyfeldroy / fasthtml_minidataapi_wip.md
Last active August 23, 2024 07:02
FastHTML MiniData API WIP

MiniDataAPI Spec

The MiniDataAPI is a persistence API specification that designed to be small and relatively easy to implement across a wide range of datastores. While early implementations have been SQL-based, the specification can be quickly implemented in key/value stores, document databases, and more.

Why?

TODO: Write why we're doing this, in a really interesting way! __

Work in Progress

@audreyfeldroy
audreyfeldroy / jupyter_nbclassic_shortcuts.md
Last active August 23, 2024 07:07
Jupyter nbclassic keyboard shortcuts (copied from nbclassic > H)

Command Mode (press Esc to enable)

F : find and replace

: enter edit mode

⌘⇧F : open the command palette

⌘⇧P : open the command palette

@audreyfeldroy
audreyfeldroy / htmx.md
Created August 19, 2024 00:25
htmx.md

#htmx in a Nutshell

htmx is a library that allows you to access modern browser features directly from HTML, rather than using javascript.

To understand htmx, first lets take a look at an anchor tag:

<a href="/blog">Blog</a>

@audreyfeldroy
audreyfeldroy / kotlin_for_devs_cheatsheet.md
Last active May 23, 2024 03:12
Audrey's Kotlin for Developers Cheatsheet

Variables

Declare var for a mutable variable:

var name = "Mommy"
name = "Uma"

Declare val for a read-only constant:

@audreyfeldroy
audreyfeldroy / DEVcommunity-Blogging-Workflow.md
Last active September 11, 2020 00:50
My #100DaysOfCode Dev.to Blogging Workflow
  • Code something on Glitch.com, Codepen.io, ObservableHQ.com, or elsewhere
  • Take screenshots or photos if applicable
  • Write up a private blog post on Dev.to
  • Edit 1-2 images for the post in Photoshop. Ideally 2 (a cover image and a post body image) so Pinterest has an image to pin from the post body.
  • Have post reviewed for typos and grammar
  • Make blog post public on Dev.to
  • Post link with thoughtful hashtags to:
    • Twitter
    • Facebook
  • LinkedIn
{
"data":
{
"id":3,
"name":"Audrey Roy Greenfeld",
"coordinates": [
{
"timestamp":1572724399,
"lat":"29.664731",
"long":"-95.027364"
@audreyfeldroy
audreyfeldroy / gist:9eda3b4c5091319929255720d42733dd
Created October 13, 2019 10:13
Visualizer Graph for D3 Color Schemes Notebook
<div id="observablehq-14b9698c"></div>
<script type="module">
import {Runtime, Inspector} from "https://cdn.jsdelivr.net/npm/@observablehq/runtime@4/dist/runtime.js";
import define from "https://api.observablehq.com/@tmcw/notebook-visualizer-elk-edition.js?v=3";
const inspect = Inspector.into("#observablehq-14b9698c");
(new Runtime).module(define, name => (name === "graph") && inspect());
</script>