This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import marimo | |
| __generated_with = "0.23.4" | |
| app = marimo.App( | |
| width="medium", | |
| layout_file="layouts/nested_slides.slides.json", | |
| ) | |
| @app.cell |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* General page styling */ | |
| * { | |
| border-color: lightslategray !important; /* Light gray border color */ | |
| } | |
| :root { | |
| --background: #e6f7e9; /* Light Christmas green */ | |
| } | |
| /* Add the Christmas tree emoji to the left */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import polars as pl | |
| def compare( | |
| df_left: pl.DataFrame, | |
| df_right: pl.DataFrame, | |
| keep_rows: bool = False, | |
| keep_cols: bool = False, | |
| keep_equal_values: bool = False, | |
| keep_index: bool = False | |
| ) -> pl.DataFrame: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| create table orders ( | |
| id serial primary key, | |
| created_at timestamptz default now(), | |
| customer_name varchar, | |
| pickup_time timestamptz | |
| ); | |
| create type tea_size as enum('regular', 'large'); | |
| create type milk_type as enum('dairy', 'oat', 'almond', 'soy'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| drop table if exists bubble_tea; | |
| create type milk_type as enum('dairy', 'oat', 'almond', 'soy'); | |
| create table bubble_tea ( | |
| id serial primary key, | |
| tea_name varchar, | |
| customer_name varchar, | |
| sugar_level int, | |
| ice_level int, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| oh-my-posh --init --shell pwsh --config C:\Users\User\AppData\Local\Programs\oh-my-posh\themes\powerlevel10k_rainbow.omp.json | Invoke-Expression | |
| # Alias | |
| Set-Alias touch New-Item | |
| Set-Alias grep findstr | |
| Set-Alias less 'C:\Program Files\Git\usr\bin\less.exe' | |
| Set-Alias tig 'C:\Program Files\Git\usr\bin\tig.exe' | |
| set-alias desktop "Desktop.ps1" | |
| # Imports |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "files.autoSave": "afterDelay", | |
| "workbench.colorTheme": "Eva Dark Italic", | |
| "editor.codeLens": false, | |
| "editor.semanticTokenColorCustomizations": null, | |
| "editor.tokenColorCustomizations": { | |
| "[BeardedTheme Arc]": { | |
| "comments": "#a1e6819d" | |
| }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "$help": "https://aka.ms/terminal-documentation", | |
| "$schema": "https://aka.ms/terminal-profiles-schema", | |
| "actions": | |
| [ | |
| { | |
| "command": | |
| { | |
| "action": "copy", | |
| "singleLine": false |