Skip to content

Instantly share code, notes, and snippets.

View morgant's full-sized avatar

Morgan Aldridge morgant

View GitHub Profile
@idelem
idelem / titleUrlMarkdownClip.js
Last active November 1, 2025 23:45 — forked from bradleybossard/titleUrlMarkdownClip.js
Bookmarklet to copy current page title and url in Markdown format to clipboard, like [title](url) - Usual for posting links to resources in README.md files
javascript:(function() {
function copyToClipboard(text) {
if (window.clipboardData && window.clipboardData.setData) {
/*IE specific code path to prevent textarea being shown while dialog is visible.*/
return clipboardData.setData("Text", text);
} else if (document.queryCommandSupported && document.queryCommandSupported("copy")) {
var textarea = document.createElement("textarea");
textarea.textContent = text;
@ao-kenji
ao-kenji / GXemul-luna88k-guide-ja.md
Last active March 19, 2025 15:54
OpenBSD/luna88kをGXemul上で動かすためのガイドです。

OpenBSD/luna88k on GXemul クイックガイド

Anders Gavare さん作のエミュレータ GXemul で OpenBSD/luna88k が動作し始めたので、とりあえず試してみたい方向けのガイドを記載します。

GXemulとは?

LUNA-88Kを含む様々なマシンのエミュレーションができるソフトです。

詳しくは本家Webページ http://gavare.se/gxemul/ を参照してください。

GXemulのビルド

@mttaggart
mttaggart / electron-versions.csv
Last active April 26, 2025 02:21
CVE-2023-4863 Electron App Tracker | THIS LIST IS NOW DEPRECATED. PLEASE VISIT https://github.com/mttaggart/electron-app-tracker FOR THE LATEST DATA
app_name repo electron_version vulnerable
1Clipboard https://github.com/wiziple/1clipboard
1Password None 25.8.1 FALSE
3CX Desktop App 19.0.8 TRUE
5EClient None
Abstract None
Account Surfer None
Advanced REST Client https://github.com/advanced-rest-client/arc-electron ^17.0.0 TRUE
Aedron Shrine None
Aeon https://github.com/leinelissen/aeon 23.2.0 TRUE
@morgant
morgant / acme-client.conf
Created October 14, 2023 16:29
OpenBSD httpd & relayd reverse proxy configuration
authority letsencrypt {
api url "https://acme-v02.api.letsencrypt.org/directory"
account key "/etc/acme/letsencrypt-privkey.pem"
}
# example.net
domain example.net {
alternative names { www.example.net }
domain key "/etc/ssl/private/example.net.key"
domain certificate "/etc/ssl/example.net.crt"
@rfht
rfht / fauxstream-vaapi.sh
Created September 27, 2024 01:28
updated fauxstream script, currently still undergoing testing, with performance improvements, VA-API use, and better avoidance of desyncs
#!/bin/sh
########
# Copyright (c) 2018-2019 Thomas Frohwein <[email protected]>
#
# Permission to use, copy, modify, and distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
#
# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
@ekollof
ekollof / screen-record.ksh
Last active March 22, 2025 20:11
Record your multihead OpenBSD desktop (probably some assembly required)
#!/bin/ksh
# Help message
usage() {
echo "Usage: $0 [-s screen] [-l] [-h]"
echo " -s screen Select screen number (0, 1, 2, etc.)"
echo " -l List available screens"
echo " -h Show this help message"
exit 1
}