Skip to content

Instantly share code, notes, and snippets.

View jacobdalamb's full-sized avatar
💭
Hi I'm Jacob!

Jacob Lamb jacobdalamb

💭
Hi I'm Jacob!
View GitHub Profile
@jacobdalamb
jacobdalamb / env.nu
Last active January 28, 2024 18:37
env.nu
# Nushell Environment Config File
#
# version = "0.89.0"
def create_left_prompt [] {
let home = $nu.home-path
# Perform tilde substitution on dir
# To determine if the prefix of the path matches the home dir, we split the current path into
# segments, and compare those with the segments of the home dir. In cases where the current dir
@jacobdalamb
jacobdalamb / index.json
Last active April 26, 2024 05:51
zed extensions
{
"extensions": {
"astro": {
"manifest": {
"id": "astro",
"name": "Astro",
"version": "0.0.1",
"schema_version": 1,
"description": "Astro support.",
"repository": "https://github.com/zed-industries/zed",
@jacobdalamb
jacobdalamb / Link.astro
Last active August 30, 2024 02:34
astro link component
@jacobdalamb
jacobdalamb / wesbos.css
Last active May 13, 2024 18:42
list of wesbos styles
textarea {
--padding: var(--size-3);
min-height: calc(2lh + 2 * var(--padding));
max-height: calc(4lh + 2 * var(--padding));
line-height: 1.5;
padding-block: var(--padding);
padding-inline: calc(var(--padding) * calc(1lh - 1ex) / 2);
}
input,
@theme {
/* Defaults */
--default-transition-duration: 150ms;
--default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
--default-font-family: var(--font-family-sans);
--default-font-feature-settings: var(--font-family-sans--font-feature-settings);
--default-font-variation-settings: var(--font-family-sans--font-variation-settings);
--default-mono-font-family: var(--font-family-mono);
--default-mono-font-feature-settings: var(--font-family-mono--font-feature-settings);
--default-mono-font-variation-settings: var(--font-family-mono--font-variation-settings);
/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Remove default margins and padding
3. Reset all borders.
*/
*,
::after,
::before,
::backdrop,