How to setup Proxmox to use Keycloak as authentication realm.
root@proxmox:/etc/pve# cat domains.cfg
pam: pam
comment Linux PAM standard authentication
local swift_lsp = vim.api.nvim_create_augroup("swift_lsp", { clear = true }) | |
vim.api.nvim_create_autocmd("FileType", { | |
pattern = { "swift" }, | |
callback = function() | |
local root_dir = vim.fs.dirname(vim.fs.find({ | |
"Package.swift", | |
".git", | |
}, { upward = true })[1]) | |
local client = vim.lsp.start({ | |
name = "sourcekit-lsp", |
To see which profiles are in your user:
ls -lAh ~/Library/Application\ Support/Firefox/Profiles
If you would like to add and / or manage profiles:
/Applications/Firefox\ Developer\ Edition.app/Contents/MacOS/firefox -p
youtube-dl https://www.youtube.com/watch?v=pN0u2UePEYM
The system used while writing this note; based on ubuntu 20.04.6 mini.iso with openssh server
only from tasksel. I went the Alt 1 route myself.
ssh pcem
$ cat /etc/issue
Ubuntu 20.04.6 LTS \n \l
apt-get install neovim vim tmux htop git python3-pip curl
mkdir -p /opt/local/dev
cd /opt/local/dev
git clone https://github.com/imartinez/privateGPT
cd privateGPT
mkdir models
cd models
curl -kLO https://gpt4all.io/models/ggml-gpt4all-j-v1.3-groovy.bin
cd ..
//#!/usr/bin/swift | |
import Foundation | |
import QuartzCore | |
//let task = Process() | |
//task.launchPath = "/usr/bin/defaults" | |
//task.arguments = ["write","com.apple.dock","persistent-apps","-array-add","{\"tile-type\"=\"spacer-tile\";}"] | |
//let pipe = Pipe() | |
//task.standardOutput = pipe | |
//task.standardError = pipe |
// Created by Pedro Rojas (aka Pitt) | |
// Link to learn more about this code: https://youtu.be/kZ7JPFUVv1w | |
import SwiftUI | |
import WebKit | |
@resultBuilder | |
struct HtmlBuilder { | |
static func buildBlock() -> [HtmlTag] { | |
[] |
Configuring the VM in Joyent SmartOS /opt/local/artifacts/sn01bhyveUbuntuFM20S01.json had the following content
VCPUs in my case for this install: https://www.intel.com/content/www/us/en/products/sku/123550/intel-xeon-silver-4114-processor-13-75m-cache-2-20-ghz/specifications.html, meaning depending on the software to install one can pick anything between 1 and 10 for "vcpus"
{
"autoboot": false,
"brand": "bhyve",
"alias": "sn01bhyveUbuntuFM20S01",
"hostname": "sn01bhyveUbuntuFM20S01",
import UIKit | |
import PhotosUI | |
class ViewController: UIViewController { | |
@IBAction func presentPickerForImagesIncludingLivePhotos(_ sender: Any ) { | |
presentPicker( filter: PHPickerFilter.images ) | |
} | |
private func presentPicker( filter: PHPickerFilter ) { |
app.http.server.configuration.address = .unixDomainSocket( path: "/var/run/tld.domain.login" ) |