Skip to content

Instantly share code, notes, and snippets.

View szeyu's full-sized avatar
:electron:
Upskilling Myself

Sze Yu Sim szeyu

:electron:
Upskilling Myself
View GitHub Profile
@szeyu
szeyu / pydantic-ai_summary.md
Created February 28, 2025 05:22 — forked from erikj27/pydantic-ai_summary.md
Documentation for pydantic-ai

Repository Overview

Directory Structure

pydantic-ai
├── LICENSE
├── Makefile
├── README.md
├── docs
│   ├── _worker.js
@szeyu
szeyu / install_cursor.sh
Last active March 13, 2026 08:51 — forked from Kinyugo/install_cursor.sh
Cursor AI IDE Installer and Updater Script
#!/bin/bash
installCursor() {
local CURSOR_URL="https://downloader.cursor.sh/linux/appImage/x64"
local ICON_URL="https://miro.medium.com/v2/resize:fit:700/1*YLg8VpqXaTyRHJoStnMuog.png"
local APPIMAGE_PATH="/opt/cursor.appimage"
local ICON_PATH="/opt/cursor.png"
local DESKTOP_ENTRY_PATH="/usr/share/applications/cursor.desktop"
echo "Checking for existing Cursor installation..."
@szeyu
szeyu / streamlit_navigation_template.py
Last active October 30, 2024 08:30
A sample streamlit navigation template
import streamlit as st
from pages.login import login
from pages.page1 import page1
from pages.page2 import page2
def init_session():
# Check if the user is signed in
if "signed_in" not in st.session_state:
st.session_state["signed_in"] = False