-
Install a working (and compiled) version of virt-viewer. You may view the homebrew package's upstream source on GitHub.
brew tap jeffreywildman/homebrew-virt-manager brew install virt-viewer
-
Once that's installed should be able make a call
remote-viewerwith a pve-spice.vv file downloaded from proxmox web interface
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
| $ genisoimage -output seed.iso -volid cidata -joliet -rock user-data meta-data |
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
| // contracts/GLDToken.sol | |
| // SPDX-License-Identifier: MIT | |
| pragma solidity ^0.8.0; | |
| import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol"; | |
| import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; | |
| contract ERC20_Token_Sample is ERC20, ERC20Burnable { | |
| constructor() ERC20("ERC20 Token Sample1", "Sample 1") { |
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/bash -xe | |
| systemctl stop pvestatd.service | |
| systemctl stop pvedaemon.service | |
| systemctl stop pve-cluster.service | |
| systemctl stop corosync | |
| systemctl stop pve-cluster | |
| sqlite3 /var/lib/pve-cluster/config.db "delete from tree where name = 'corosync.conf';" |
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
| sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist | |
| sudo chmod 600 /System/Library/CoreServices/Search.bundle/Contents/MacOS/Search | |
| killall SystemUIServer | |
| sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist | |
| sudo chmod 755 /System/Library/CoreServices/Search.bundle/Contents/MacOS/Search | |
| killall SystemUIServer |
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 | |
| cage -- bash -c 'wlr-randr --output X11-1 --custom-mode 1280x800; sleep 1; sudo /usr/local/bin/waydroid-helper & waydroid show-full-ui' |
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 | |
| # Remove the performance overlay, it meddles with some tasks | |
| unset LD_PRELOAD | |
| ## Shadow kwin_wayland_wrapper so that we can pass args to kwin wrapper | |
| ## whilst being launched by plasma-session | |
| mkdir $XDG_RUNTIME_DIR/nested_plasma -p | |
| cat <<EOF > $XDG_RUNTIME_DIR/nested_plasma/kwin_wayland_wrapper | |
| #!/bin/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
| FROM node:16.14.2-alpine3.15 as client-builder | |
| RUN apk update | |
| RUN apk add git protoc | |
| RUN mkdir /grpc | |
| WORKDIR /grpc | |
| RUN git clone -b 1.3.1 https://github.com/grpc/grpc-web | |
| WORKDIR /grpc/grpc-web/net/grpc/gateway/examples/helloworld | |
| RUN npm install | |
| RUN wget -O /usr/local/bin/protoc-gen-grpc-web https://github.com/grpc/grpc-web/releases/download/1.3.1/protoc-gen-grpc-web-1.3.1-linux-x86_64 |
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
| local _M = { | |
| _VERSION = '0.1' | |
| } | |
| local connect = function() | |
| local redis = require "resty.redis" | |
| local red = redis:new() | |
| red:set_timeout(1000) -- 1 sec | |
| local ok, err = red:connect("127.0.0.1", 6379) | |
| if not ok then |