Skip to content

Instantly share code, notes, and snippets.

View JJRcop's full-sized avatar
✝️
...

Jonathan Rubenstein JJRcop

✝️
...
  • 10:50 (UTC +03:00)
View GitHub Profile
@JJRcop
JJRcop / firefoxpwa-runtime-overlayfs.service
Last active September 25, 2023 14:25
PWAsForFirefox systemd.service to use installed Firefox runtime
[Unit]
Description=FirefoxPWA overlayfs to use installed Firefox runtime
AssertPathIsDirectory=%%runtime_path
[Service]
Type=simple
ExecStart=fuse-overlayfs -f -o squash_to_uid=%U,squash_to_gid=%G,lowerdir=%%runtime_path,upperdir=%t/firefoxpwa/overlayfs/upper,workdir=%t/firefoxpwa/overlayfs/work %h/.local/share/firefoxpwa/runtime/
ExecStop=fusermount -u %h/.local/share/firefoxpwa/runtime/
RuntimeDirectory=firefoxpwa/overlayfs firefoxpwa/overlayfs/upper firefoxpwa/overlayfs/work
+------------------------+-------+-------------+----------------------------------------------------------------------------------------+
| Long | Short | Value | Description |
+------------------------+-------+-------------+----------------------------------------------------------------------------------------+
| app:configFile | -C | NULL | A file to read additional configuration from |
| app:renderer | -g | auto | Specify the renderer to use |
| app:license | -l | no | Show the license for this application and then terminate |
| app:cursorPollInterval | | 1000 | How often to check for a cursor update in microseconds |
| app:framePollInterval | | 1000
@JJRcop
JJRcop / looking-glass-client_rst-help.txt
Created May 5, 2021 18:15
Looking Glass --rst-help
+------------------------+-------+-------------+----------------------------------------------------------------------------------------+
| Long | Short | Value | Description |
+========================+=======+=============+========================================================================================+
| app:configFile | -C | NULL | A file to read additional configuration from |
+------------------------+-------+-------------+----------------------------------------------------------------------------------------+
| app:renderer | -g | auto | Specify the renderer to use |
+------------------------+-------+-------------+----------------------------------------------------------------------------------------+
| app:license | -l | no
<domain xmlns:qemu="http://libvirt.org/schemas/domain/qemu/1.0" type="kvm">
<name>win10-4game</name>
<uuid>94379505-7e3a-47a1-8ad8-c7d794b3b224</uuid>
<metadata>
<libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
<libosinfo:os id="http://microsoft.com/win/10"/>
</libosinfo:libosinfo>
</metadata>
<memory unit="KiB">8388608</memory>
<currentMemory unit="KiB">8388608</currentMemory>
#!/bin/sh
# Launches one-time modified domain with video switched to VGA and VGA passthrough removed
# Requires libvirt and virtinst
# Assumes you have VGA passthrough with a display server attached, with video device likely set to 'none'
# Your domain name
DOMAIN="mydomain"
# Set to qxl if you wish
NEW_VIDEO="vga"
npm ERR! missing: hawk@3.1.3, required by node-pre-gyp@0.6.39
npm ERR! missing: mkdirp@0.5.1, required by node-pre-gyp@0.6.39
npm ERR! missing: rimraf@2.6.1, required by node-pre-gyp@0.6.39
npm ERR! missing: tar@2.2.1, required by node-pre-gyp@0.6.39npm ERR! missing: boom@2.10.1, required by hawk@3.1.3
npm ERR! missing: cryptiles@2.0.5, required by hawk@3.1.3
npm ERR! missing: hoek@2.16.3, required by hawk@3.1.3
npm ERR! missing: sntp@1.0.9, required by hawk@3.1.3
npm ERR! missing: hoek@2.16.3, required by boom@2.10.1
npm ERR! missing: boom@2.10.1, required by cryptiles@2.0.5
npm ERR! missing: hoek@2.16.3, required by sntp@1.0.9
@JJRcop
JJRcop / shell.dm
Last active September 4, 2017 17:31
shelleo command
//Runs the command in the system's shell, returns a list of (error code, stdout, stderr)
#define SHELLEO_ERR "data/shelleo.err"
#define SHELLEO_OUT "data/shelleo.out"
/proc/shelleo(command)
var/stdout = ""
var/stderr = ""
var/errorcode = 1
var/static/list/interpreters = list("[MS_WINDOWS]" = "cmd /c", "[UNIX]" = "sh -c")
var/interpreter = interpreters["[world.system_type]"]
@JJRcop
JJRcop / identity-notes.txt
Last active March 27, 2017 05:01
notes for the identity system
Identity system notes
!!!
[ ] config for turning the entire thing off
!!!