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> | |
| <head> | |
| <meta charset="UTF-8" /> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
| <script src="https://cdn.jsdelivr.net/npm/@tailwindcss/browser@4"></script> | |
| </head> | |
| <body style="display: flex; height: 100vh"> | |
| <div | |
| style=" |
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> | |
| <head> | |
| <meta charset="UTF-8" /> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <!-- https://github.com/esm-dev/esm.sh/releases/tag/v135 --> | |
| <script type="module" src="https://esm.sh/run" defer></script> | |
| <script type="text/babel"> |
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
| # From: https://github.com/selkies-project/docker-nvidia-glx-desktop/blob/main/xgl.yml | |
| apiVersion: apps/v1 | |
| kind: Deployment | |
| metadata: | |
| name: xgl | |
| spec: | |
| replicas: 1 | |
| selector: | |
| matchLabels: |
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
| fly apps create ogawa0071-mysql-bitnami | |
| fly deploy --config mysql.toml | |
| # fly apps destroy ogawa0071-mysql-bitnami -y | |
| fly apps create ogawa0071-wordpress-bitnami | |
| fly deploy --config wordpress.toml | |
| # fly apps destroy ogawa0071-wordpress-bitnami -y |
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
| fly apps create ogawa0071-mysql | |
| fly deploy --config mysql.toml | |
| # fly apps destroy ogawa0071-mysql -y | |
| fly apps create ogawa0071-wordpress | |
| fly deploy --config wordpress.toml | |
| # fly apps destroy ogawa0071-wordpress -y |
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
| services: | |
| wordpress: | |
| image: wordpress | |
| restart: always | |
| ports: | |
| - 8080:80 | |
| environment: | |
| WORDPRESS_DB_HOST: db | |
| WORDPRESS_DB_USER: exampleuser | |
| WORDPRESS_DB_PASSWORD: examplepass |
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
| import * as fs from "fs"; | |
| import * as readline from "readline"; | |
| import { google } from "googleapis"; | |
| const SCOPES = [ | |
| "https://www.googleapis.com/auth/youtube", | |
| ]; | |
| const TOKEN_PATH = "token.json"; |
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
| import * as admin from "firebase-admin"; | |
| admin.initializeApp({ | |
| projectId: "", | |
| }); | |
| const db = admin.firestore(); | |
| (async () => { | |
| const dataArray = ( |
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 colorText = { | |
| "#00b050": "green", | |
| "#00b0f0": "aqua", | |
| "#ff0000": "red", | |
| "#cc0099": "purple", | |
| "#996633": "olive", | |
| "#ffff00": "yellow", | |
| "#bfbfbf": "gray", | |
| "#808080": "white", | |
| "#203764": "navy", |
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
| import * as fs from "fs"; | |
| import csvParse from "csv-parse"; | |
| const textArray = [ | |
| "green", | |
| "aqua", | |
| "red", | |
| "purple", | |
| "olive", | |
| "yellow", |
NewerOlder