Skip to content

Instantly share code, notes, and snippets.

View Aetherinox's full-sized avatar

Aetherinox Aetherinox

View GitHub Profile
@Aetherinox
Aetherinox / 3. OpenGist.md
Created June 25, 2025 01:27
3. OpenGist.md

This section explains how to integrate Opengist into your Obsidian.md notes


What is OpenGist?

OpenGist is a self-hosted solution that works in a similar manner to Github Gists, but with the added bonus that you control the entire site. It is great for private gist hosting, and also supports other users being able to register on your site and host their own gists. It also includes its own API, and is compatible with Github CLI (command-line)

This guide will not go into detailed instructions on how to install and configure an OpenGist server, however, you can use the buttons below for a very detailed set of instructions for getting started with your own self-hosted gist solution.

@Aetherinox
Aetherinox / colors_preview.sh
Created June 20, 2025 23:55
Bash Color Table Examples
# #
# simple color table for compatible bash colors
# #
preview_colors()
{
echo
echo " ANSI Standard Foreground Colors:"
for code in 30 31 32 33 34 35 36 37; do
printf " \033[${code}m%-15s\033[0m" "code ${code}"
@Aetherinox
Aetherinox / server.ts
Created June 11, 2025 00:33 — forked from JonathanTurnock/server.ts
Electron subprocess
import { randomUUID } from "node:crypto";
import * as os from "os";
import Aigle from "aigle";
import { UtilityProcess, utilityProcess } from "electron";
import { compact, flatten, values } from "lodash";
import { z } from "zod";
import { trpc } from "../trpc";
type ServerEntry = {
id: string;
@Aetherinox
Aetherinox / .bashrc
Last active May 23, 2025 09:57
Transfer.sh - Linux Alias (gpg, tar.gz support)
# #
# Transfer.sh > Upload
#
# This alias allows you to push files to your transfer.sh server.
# Supports GPG encryption, and tar.gz or zip compression.
#
# Needs to be placed in
# /home/$USER/.bashrc
# After adding, refresh the file using:
# source /home/$USER/.bashrc
@Aetherinox
Aetherinox / install-xrdp.sh
Created April 13, 2025 11:24 — forked from danawesome/install-xrdp.sh
Zorin OS 17 enhanced session install.sh
#!/bin/bash
# This script is for Zorin!_OS 17 to download and install XRDP+XORGXRDP via source.
#
# Based on the following scripts:
# https://github.com/microsoft/linux-vm-tools/tree/master/ubuntu/18.04
# https://github.com/microsoft/linux-vm-tools/pull/106
# https://gist.github.com/phillipsj/a4b6e4a1070b4320ed19e061fe2dd83d
# https://gist.github.com/kaitwalla/9fbcef47c5ff2b58cd353ba3744be4e5
# https://github.com/itsmebhavin/zorin-os-xrdp/blob/master/install.sh
...rs/web/auth/oauth.go:128:SignInOAuthCallback() [E] UserSignIn: could not find a matching session for this request
...ls/avatars/avatar.go:120:LibravatarURL() [E] LibravatarService.FromEmail(email=29139614+renovate[bot]@users.noreply.github.com): error mail: missing '@' or angle-addr
...ls/avatars/avatar.go:120:LibravatarURL() [E] LibravatarService.FromEmail(email=29139614+renovate[bot]@users.noreply.github.com): error mail: missing '@' or angle-addr
...irror/mirror_pull.go:265:runSync() [E] SyncMirrors [repo: <Repository 279:demo/ssl-cert-generator>]: GetRemoteAddress Error fork/exec /usr/bin/git: no such file or directory
...ns/schedule_tasks.go:87:startTasks() [E] CreateScheduleTask: SetJob: yaml: line 18: did not find expected key
...ns/schedule_tasks.go:87:startTasks() [E] CreateScheduleTask: SetJob: yaml: line 18: did not find expected key
...ns/schedule_tasks.go:87:startTasks() [E] CreateScheduleTask: SetJob: yaml: line 18: did not find expected key
...ns/schedule_tasks.go:87:startTasks() [E] CreateS
@Aetherinox
Aetherinox / dns_blocklist_3rdparty.txt
Last active September 14, 2024 05:13
Misc 3rd party blacklist
This file has been truncated, but you can view the full file.
# #
# KM Player Ads
# #
0.0.0.0 player.kmpmedia.net
# #
# Fitgirl fakes
@Aetherinox
Aetherinox / Gistr Test.md
Created March 31, 2024 06:37
Gistr Test.md

Github Gist

The following shows a single gist with multiple notes

https://gist.github.com/Aetherinox/5143c674e9adea5b256f5f58fe54ffbc
@Aetherinox
Aetherinox / NPM - Yarn Commands.md
Created March 15, 2024 06:47
NPM - Yarn Commands.md

Comparing npm and Yarn Commands

Install dependencies

npm install => yarn 

Install a package

@Aetherinox
Aetherinox / NPM - Yarn Commands.md
Created March 15, 2024 06:47
NPM - Yarn Commands.md

Comparing npm and Yarn Commands

Install dependencies

npm install => yarn 

Install a package