WSL:
- Install openssh-server:
sudo apt install openssh-server- Add or uncomment following lines in
/etc/ssh/sshd_config:
| { | |
| "$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/dev/assets/oh-my-opencode.schema.json", | |
| "agents": { | |
| "sisyphus": { | |
| "model": "anthropic/claude-opus-4-6", | |
| "variant": "max", | |
| "fallback_models": ["kimi-for-coding/k2p5", "github-copilot/claude-opus-4-6"] | |
| }, | |
| "hephaestus": { |
| #!/bin/bash | |
| cd /app | |
| nohup python wgp.py --listen --server-name 0.0.0.0 --server-port 7860 > /tmp/wan2gp.log 2>&1 & |
| #!/usr/bin/env bash | |
| # Copyright (c) 2021-2024 tteck | |
| # Author: tteck (tteckster) | |
| # License: MIT | |
| # https://github.com/tteck/Proxmox/raw/main/LICENSE | |
| header_info() { | |
| clear | |
| cat <<"EOF" |
| // Parent interface | |
| interface IParent { | |
| name: string; | |
| value: number; | |
| getInfo(): string; | |
| } | |
| // Child interface extending the parent | |
| interface IChild extends IParent { | |
| childSpecificMethod(): void; |
WSL:
sudo apt install openssh-server/etc/ssh/sshd_config:| #/bin/sh | |
| du -sh ./node_modules/* | sort -nr | grep '\dM.*' |
| #!/bin/sh | |
| LATEST=$(wget -qO- "https://api.github.com/repos/docker/buildx/releases/latest" | jq -r .name) | |
| wget https://github.com/docker/buildx/releases/download/$LATEST/buildx-$LATEST.linux-amd64 | |
| chmod a+x buildx-$LATEST.linux-amd64 | |
| mkdir -p ~/.docker/cli-plugins | |
| mv buildx-$LATEST.linux-amd64 ~/.docker/cli-plugins/docker-buildx | |
| echo "Done!" |
| #!/bin/sh | |
| LATEST=$(wget -qO- "https://api.github.com/repos/docker/buildx/releases/latest" | jq -r .name) | |
| wget https://github.com/docker/buildx/releases/download/$LATEST/buildx-$LATEST.linux-amd64 | |
| chmod a+x buildx-$LATEST.linux-amd64 | |
| mkdir -p ~/.docker/cli-plugins | |
| mv buildx-$LATEST.linux-amd64 ~/.docker/cli-plugins/docker-buildx | |
| echo "Done!" |
| ! | |
| ! Title: My Custom filter |
| docker volume create rancher-data | |
| docker run -d --name rancher --restart=unless-stopped -p 80:80 -p 443:443 -v rancher-data:/var/lib/rancher rancher/rancher --acme-domain domain.ltd |