- Clone https://github.com/theroyallab/tabbyAPI
- Copy config.yml and your model in
models - Run ./start.sh
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
| while true; do | |
| v=$(uv run btcli subnet burn-cost --network finney | grep -oE '[0-9]+\.[0-9]+') | |
| echo "[$(date '+%Y-%m-%d %H:%M:%S')] Subnet burn cost: $v" | |
| awk "BEGIN{exit !($v < 225)}" && paplay /usr/share/sounds/freedesktop/stereo/complete.oga | |
| sleep 3600 | |
| done |
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
| const removeWarnings = (element: HTMLElement) => { | |
| if (element.nodeName === "SPAN") { | |
| const span = element as HTMLSpanElement; | |
| if (span.innerText.trim() === "For development purposes only") { | |
| span.innerText = ""; | |
| } | |
| if ( | |
| span.innerText.trim() === "For development purposes only" || | |
| span.innerText.trim() === | |
| "This page can't load Google Maps correctly." |
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
| const jwt = '...' | |
| // Split JWT by dots | |
| const sections = jwt.split('.'); | |
| // Function to check if a string is valid base64 | |
| function isValidBase64(str) { | |
| try { | |
| // Add padding if needed |
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
| { | |
| "last_node_id": 114, | |
| "last_link_id": 225, | |
| "nodes": [ | |
| { | |
| "id": 4, | |
| "type": "GroundingDinoModelLoader (segment anything)", | |
| "pos": { | |
| "0": 1287, | |
| "1": -1061 |
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
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>apiplant - AI Software Consultancy</title> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <style> | |
| .first-page { | |
| background-image: url('Downloads/image.jpg'); |
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
| [package] | |
| name = "sqlxxx" | |
| version = "0.1.0" | |
| edition = "2021" | |
| [dependencies] | |
| anyhow = "1.0.86" | |
| sqlx = { version = "0.7", features = ["runtime-tokio", "tls-rustls", "sqlite"] } | |
| tokio = { version = "1", features = ["macros", "rt-multi-thread"] } |
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
| apiVersion: apps/v1 | |
| kind: DaemonSet | |
| metadata: | |
| labels: | |
| k8s-app: sentry-logging | |
| name: sentry | |
| namespace: kube-system | |
| spec: | |
| selector: | |
| matchLabels: |
NewerOlder