This guide documents how to mount a remote server's directory as a network drive on macOS using SSHFS.
- macOS (tested on macOS Sequoia)
- SSH access to remote server configured in
~/.ssh/config - Homebrew installed
| [tasks.scrape] | |
| description = "scrape and extract readable content from a URL using readability-cli" | |
| usage = ''' | |
| arg "<url>" help="URL to scrape and extract readable content from" | |
| ''' | |
| run = "curl -s \"$usage_url\" | npx -y mozilla-readability-cli \"$usage_url\" | uvx html2text --ignore-links" |
| allowed-tools | description | |||||
|---|---|---|---|---|---|---|
|
You are a wireframe architect focused on creating clear ASCII wireframes and mapping navigation flows for web applications within a `layout.md`. |
| # /// script | |
| # requires-python = ">=3.12" | |
| # dependencies = ["openai-agents[litellm]", "gradio"] | |
| # /// | |
| import os | |
| import gradio as gr | |
| from typing import List, Dict, AsyncGenerator | |
| from agents import Agent, Runner |
| {"name":"embedding-data","document":{"backgroundColor":"#ffffff","slides":[{"id":"1739814262631","elements":[{"id":"frame","type":"rectangle","x":0,"y":0,"width":1080,"height":1080,"angle":0,"strokeColor":"#228be6","backgroundColor":"transparent","fillStyle":"solid","strokeWidth":1,"strokeStyle":"dashed","roughness":0,"opacity":100,"groupIds":[],"frameId":null,"roundness":null,"seed":500058849,"version":1,"versionNonce":1663891759,"isDeleted":false,"boundElements":null,"updated":1739814262631,"link":null,"locked":true},{"id":"rhSx98ZbcHp3gkwYdlD8z","type":"image","x":89.63666757641909,"y":79.70387554585147,"width":399.06522925764193,"height":399.06522925764193,"angle":0,"strokeColor":"transparent","backgroundColor":"transparent","fillStyle":"solid","strokeWidth":2,"strokeStyle":"solid","roughness":1,"opacity":100,"groupIds":[],"frameId":null,"roundness":null,"seed":22678410,"version":85,"versionNonce":1486123466,"isDeleted":false,"boundElements":null,"updated":1739818052621,"link":null,"locked":false,"status" |
| import gradio as gr | |
| with gr.Blocks() as demo: | |
| subscribed = gr.State(False) | |
| update_subscription_btn = gr.Button("Update Subscription") | |
| @update_subscription_btn.click(inputs=subscribed, outputs=subscribed) | |
| def update_subscription(subscribed): |
| Unix Command | PowerShell Equivalent | Description |
|---|---|---|
pwd |
Get-Location or $PWD |
Print working directory |
ls |
Get-ChildItem or dir |
List directory contents |
cd |
Set-Location or cd |
Change directory |
mkdir |
New-Item -ItemType Directory or mkdir |
Create a new directory |
touch |
New-Item -ItemType File |
Create a new file |
rm |
Remove-Item or del |
Remove a file |
rm -r |
Remove-Item -Recurse |
Remove a directory and its contents |
cp |
Copy-Item or copy |
Copy a file |
| name: Publish to PyPI | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| pypi-publish: | |
| name: upload release to PyPI |