Moved to https://api.fmhy.net
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
| """ | |
| Lovense Remote API -> Intiface Central Proxy - IP address in-game: 127.0.0.1 | |
| Translates Lovense HTTP commands to Buttplug WebSocket protocol. | |
| """ | |
| import asyncio, json, ssl, sys, tempfile, threading, os | |
| from http.server import HTTPServer, BaseHTTPRequestHandler | |
| for pkg in ["websockets", "cryptography"]: | |
| try: __import__(pkg) | |
| except ImportError: |
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/sh | |
| movefrom='micronssd' | |
| moveto='wdredpro' | |
| for vm in $(qm list | awk '{print $1}' | grep -Eo '[0-9]{1,3}'); | |
| do | |
| for storage in $(qm config $vm | grep $movefrom: | awk '{print $1}' | grep -Eo '[a-z0-9]+'); | |
| do | |
| echo Moving VM$vm Storage $storage |