Discover gists
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Win95 Window Example</title> | |
<style> | |
@font-face { | |
font-family: 'Win95F'; | |
src: url('data:application/font-woff2;base64,d09GMk9UVE8AAB7IAAoAAAAAfLQAAB54AAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAADYHcRQZgAIpcATYCJAOFAAQGP21ldGGCBAWHeQcgG/17FeyYl7gdUKg+MzYSIWwchCaAJ1GUTdZM2f+fEtQxhLpXsjlMOBl1rtM5kVqBMp1XeGh4M/bhm1fyGODBICrJYyX3cIpIfVYz8+zf7k/1poo76F5SyxV35u42RuK58Pyzv//2ufiSI5FINEWNWcddrlPZZr353F4vNRtmfpL6FyCmfDO+2gEHHHZoxKaa7jrsXaZOHea+XXQOfP8/9vs9cxcVqniikQnZQ7JE62SzSFJJlfXTq1/snkEVLh3bgX9wrpvZrHU6h4r8an+wJ/mf+G0eKltj8Y0CE6MTzFphsWCV6tY3xQxWaSyijN4a1jYsZYEPgty2j1NBvFO5ztS8L7nCE3R9JjsC1hSKoT3X3uY/v7/vz137WW3kOP6K38nIPwlujGIbNkGXOwLg//99U20JOQ0Yh4DD0LlU0bhPcFDIsBzy6t0Td7+5d9mjCFAJA0VwEQ4h4M07M9/hM0P5S4sBznkkVa5S5dxVIbUt2bl0SRWdWndyVbjrtXoXfWko9Ixf8mAlKsgL1qjQb5oCz6Y4siXFEeB8+MN2upYd8LuBdoR/31iLxhoVBZhAB3bnZRRIIKn3s59aH/bm9DqFEgRElDEz/m5qk9vHmEbteKX0j35isACCAoJ0hS2/Q |
#!/bin/sh | |
set -x | |
node=${1} | |
#nodeName=$(kubectl get node ${node} -o template --template='{{index .metadata.labels "kubernetes.io/hostname"}}') | |
nodeSelector='"nodeSelector": { "kubernetes.io/hostname": "'${node:?}'" },' | |
podName=${USER}-nsenter-${node} | |
kubectl -n kube-system run ${podName:?} --restart=Never -it --rm --image overriden --overrides ' | |
{ | |
"spec": { |
import requests,json,time | |
url = "http://127.0.0.1:2283/api/jobs" | |
headers = { | |
'Content-Type': 'application/json', | |
'Accept': 'application/json', | |
'x-api-key': Go 'Account Settings' -> 'API Keys' | |
} |
// ==UserScript== | |
// @name noVNC Paste for Proxmox | |
// @namespace http://tampermonkey.net/ | |
// @version 0.2a | |
// @description Pastes text into a noVNC window (for use with Proxmox specifically) | |
// @author Chester Enright | |
// @match https://* | |
// @include /^.*novnc.*/ | |
// @require http://code.jquery.com/jquery-3.3.1.min.js | |
// @grant none |
I use a cheap Tapo C100 webcam to monitor my 3D prints. It supports RTSP.
- Go to the Cameras section at https://connect.prusa3d.com
- Add a new camera.
- Click the QR code link
- Click "Start Camera"
'''Functions to replicate renderViews in ParaView. | |
v1: Theodore Baltis (https://discourse.paraview.org/u/theodorebaltis) | |
https://discourse.paraview.org/t/feature-request-clone-renderview/2370/3 | |
v2: Bastian Loehrer (https://discourse.paraview.org/u/bastian) | |
- merged the separate scripts into one file with the dedicated functions split_right() and split_down() | |
- added function clone_to_new_layout | |
v3: Lutz Hofmann (https://github.com/lhofmann/) | |
- support sources with multiple output ports | |
- use vtkSMProxyClipboard for copying properties |
scph5500.bin 26-Aug-2018 20:47 512.0K
scph5501.bin 26-Aug-2018 20:47 512.0K
scph5502.bin 26-Aug-2018 20:47 512.0K
- Buy a second IP on your VPS ([PUBLIC_IP])
- Do NOT set it up on any local interface. Instead, set up a Wireguard server which will let you use the IP on the other end of the tunnel, and set up IP forwarding and proxy ARP such that the VPS will present it to the provider network as if it was local. Example:
cat > /etc/wireguard/wg0.conf <<EOF [Interface] ListenPort = ... PrivateKey = ... [Peer]
AllowedIPs = [PUBLIC_IP]/32
Disclaimer: Please follow this guide being aware of the fact that I'm not an expert regarding the things outlined below, however I made my best attempt. A few people in IRC confirmed it worked for them and the results looked acceptable.
Attention: After following all the steps run gdk-pixbuf-query-loaders --update-cache
as root, this prevents various gdk-related bugs that have been reported in the last few hours. Symptoms are varied, and for Cinnamon the DE fails to start entirely while for XFCE the icon theme seemingly can't be changed anymore etc.
Check the gist's comments for any further tips and instructions, especially if you are running into problems!
Results after following the guide as of 11.01.2017 13:08: