Skip to content

Instantly share code, notes, and snippets.

@jackrr
jackrr / .aerospace.toml
Last active December 2, 2025 21:54
Aerospace config!
# Place a copy of this config to ~/.aerospace.toml
# After that, you can edit ~/.aerospace.toml to your liking
# Config version for compatibility and deprecations
# Fallback value (if you omit the key): config-version = 1
config-version = 2
# You can use it to add commands that run after AeroSpace startup.
# Available commands : https://nikitabobko.github.io/AeroSpace/commands
after-startup-command = []
@jackrr
jackrr / Presentation 2025-07-31 - EYMO.md
Created July 31, 2025 19:15
Eymo Presentation 2025-07-31

Eymo

A "quick 2 week project" to deepen my Rust skills

that I've spent the last ~9 weeks working on.


What I planned to learn

  • Rust generics
@jackrr
jackrr / distinct-p.clj
Created February 5, 2022 20:34
Lazily remove duplicate members of list, by predicate "hashing" function on members
(defn distinct-p
([pred coll]
(distinct-p pred coll #{}))
([pred coll seen]
(if (empty? coll)
'()
(lazy-seq
(let [next (first coll)
key (pred next)
is-dup (contains? seen key)
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
</body>
</html>
<!doctype html>
<html>
<head>
<title>02.3 Google Fonts Louise's Web Site</title>
</head>
<body>
<h1>Welcome to Louise's web site!</h1>
<p><img src="http://dev.robkovacs.com/louise.jpg"></p>
<!DOCTYPE html>
<html>
<head>
<title>03.1 ID Practice Carlton's Food</title>
</head>
<body>
<h1>What can Carlton eat?</h1>
<img src="https://pmcvariety.files.wordpress.com/2015/08/alfonso-ribeiro-fresh-prince-of-bel-air.jpg?w=670&h=377&crop=1">
<ul>
<li>Steak</li>
@jackrr
jackrr / index.html
Last active October 14, 2017 18:11
Exported from Popcode. Click to import: https://popcode.org/?gist=05851ef2f694b1a714a144f199cd3fba
<!DOCTYPE html>
<html>
<head>
<title>IDs Practice</title>
</head>
<body>
<p id="one">one</p>
<p id=" ">two</p>
<p id=" ">three</p>
<p id=" ">four</p>
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<div id="myDiv"></div>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<div id="pizza"></div>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<div id="pizza"></div>
</body>
</html>