-
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-viewer
with a pve-spice.vv file downloaded from proxmox web interface
This file contains 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
# Define make completions | |
function _make_completions() { | |
local -a targets | |
if [[ -f 'Makefile' ]]; then | |
# Read targets from Makefile using Extended Regular Expressions | |
# This regex aims to match any target that does not start with a dot and includes more characters than before. | |
targets=($(grep -oE '^[^\.#][^ ]*:' Makefile | sed 's/:.*//')) | |
fi | |
# Define completions based on targets |
This file contains 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 subprocess | |
import json | |
def list_lambda_functions(): | |
result = subprocess.run(['aws', 'lambda', 'list-functions', '--query', 'Functions[*].FunctionName', '--output', 'text'], stdout=subprocess.PIPE) | |
function_names = result.stdout.decode('utf-8').strip().split() | |
return function_names | |
def get_environment_variables(function_name): | |
result = subprocess.run(['aws', 'lambda', 'get-function-configuration', '--function-name', function_name, '--query', 'Environment.Variables', '--output', 'json'], stdout=subprocess.PIPE) |
This file contains 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
[[snippets]] | |
description = "start dev file syncer. uses fswatch to know when to run rsync. does not sync .git file. Sort like a write-through cache network file system with only eventual consistency guarantees." | |
command = "fswatch -0 --exclude \"\\.git\" --exclude \"\\.xml\" --exclude \"___\" -o /Users/chris/Documents/workspace/lingt_chris_dev_rsync_checkout/myproject | xargs -0 -n 1 -I {} rsync --progress --exclude '*.pyc' --exclude '*.git' --recursive ~/workspace/lingt_chris_dev_rsync_checkout/myproject [email protected]:/home/user/webapps/dev_chris/myproject" | |
output = "" | |
[[snippets]] | |
description = "plex find unscanned tv!" | |
command = "cat <(find /Users/chris/Downloads/media/dbx_mount/tv -type f | sed 's/.*\\///' | grep 'mp4\\|mkv\\|avi') <(unbuffer /Applications/Plex\\ Media\\ Server.app/Contents/MacOS/Plex\\ Media\\ Scanner -c 4 --tree | grep 'mp4\\|mkv\\|avi' | sed 's/.*\\///' | sed 's/\\w*\\[.*\\]$//' | awk '{$1=$1};1') | sort | uniq -u" | |
output = "" |
This file contains 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
$ pulumi up | |
Previewing update (hello-fargate) | |
View Live: https://app.pulumi.com/ericpardee/hello-fargate/hello-fargate/previews/39d16f8d-43a9-4bb3-a17d-6de535d2d36c | |
Type Name Plan Info | |
pulumi:pulumi:Stack hello-fargate-hello-fargate 4 errors; 10 messages | |
+ ├─ aws:ecs:Cluster default-cluster create | |
+ └─ awsx:lb:ApplicationLoadBalancer nginx-lb create |
This file contains 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
# when get | |
$ mosh proxMac-Pro 130 ↵ | |
zsh:1: command not found: mosh-server | |
Connection to 192.168.0.94 closed. | |
/usr/local/bin/mosh: Did not find mosh server startup message. (Have you installed mosh on your server?) | |
# did you install mosh with homebrew? Then | |
$ mosh --server=/usr/local/Cellar/mosh/1.3.2_18/bin/mosh-server proxMac-Pro |
This file contains 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 boto3 | |
import json | |
contact = { | |
"FirstName": "Mark", | |
"LastName": "van Holsteijn", | |
"ContactType": "COMPANY", | |
"AddressLine1": "Laapersveld 27", | |
"City": "Hilversum", | |
"CountryCode": "NL", |
This file contains 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
$ brew leaves | |
arduino-cli | |
argocd | |
arping | |
asciinema | |
asciiquarium | |
assh | |
automake | |
aws-shell | |
aws/tap/aws-sam-cli |
This file contains 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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>ACPI</key> | |
<dict> | |
<key>Add</key> | |
<array> | |
<dict> | |
<key>Comment</key> |
This file contains 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
--- | |
# | |
# Required parameters | |
# | |
email: [email protected] | |
password: CooperNetties | |
notify: [email protected] | |
# | |
# Optional parameters | |
# |
NewerOlder