A collection of Nautilus Script for you to copy and paste
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
| !/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 |
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
| #!/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}" |
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
| # 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 |
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
| 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 |
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
| #!/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..." |