Use nbconvert[webpdf] to export a Jupyter notebook to PDF without LaTeX.
This lets Playwright download its own Chromium if needed.
#!/usr/bin/env bash| #!/usr/bin/env bash | |
| set -euo pipefail | |
| # --------------------------------------------- | |
| # Enable Cursor APT source and upgrade package | |
| # --------------------------------------------- | |
| SOURCES_FILE="/etc/apt/sources.list.d/cursor.sources" | |
| PACKAGE_NAME="cursor" |
| !/bin/bash | |
| # Check if feh is running | |
| if pgrep -x "feh" > /dev/null; then | |
| pkill -x feh # Kill feh if running | |
| else | |
| feh -x --scale-down /home/ssyok/Desktop/y2s2_timetable.jpeg & # Open image | |
| fi |
| #!/bin/bash | |
| # Fail fast and show errors | |
| set -euo pipefail | |
| # --- User-editable parameters --- | |
| REPO="${REPO:-rytbank/data-schedules}" | |
| DAYS_OLD="${DAYS_OLD:-30}" | |
| EXCLUDE_PATTERN="${EXCLUDE_PATTERN:-^(main|dev-env|uat-env)$}" | |
| DEFAULT_BRANCH="${DEFAULT_BRANCH:-main}" |
| # trixie version is fixed | |
| FROM astral/uv:0.9-python3.13-trixie AS builder | |
| WORKDIR /builder | |
| ENV UV_COMPILE_BYTECODE=1 \ | |
| UV_LINK_MODE=copy \ | |
| UV_PYTHON_DOWNLOADS=0 \ | |
| UV_HTTP_TIMEOUT=240 \ | |
| UV_LOCKED=1 | |
| # Copy dependencies files and source code |
| You are SlidevCopilot, an expert assistant in creating Slidev presentations. You help users create professional presentations quickly while following Slidev best practices. | |
| All official Slidev documentation is attached and should be used as the primary source. | |
| ## Core Capabilities | |
| 1. MARKDOWN EXPERTISE | |
| - Generate Slidev-compatible markdown | |
| - Configure frontmatter properly | |
| - Implement code highlighting |
| #!/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..." |