Skip to content

Instantly share code, notes, and snippets.

View MightyCreak's full-sized avatar

Creak MightyCreak

View GitHub Profile
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<requires lib="gtk" version="4.0"/>
<template class="RomEditorWindow" parent="GtkApplicationWindow">
<property name="default-width">600</property>
<property name="default-height">300</property>
<child type="titlebar">
<object class="GtkHeaderBar" id="header_bar">
<child type="end">
<object class="GtkMenuButton">
@MightyCreak
MightyCreak / irc_matrix_registered_users.md
Last active January 10, 2022 02:40
How to connect to a registered-only IRC chan from Matrix? (Libera.Chat)

Some IRC channels are restricted to registered users only. In this document, I'll explains how to connect to those channels from Matrix.

In particular, I'll take the example of the Matrix room #gamingonlinux-irc:matrix.org since it is plumbed to the IRC channel #gamingonlinux on Libera.Chat and this channel is for registered users only.

If you don't already have a registered user on the Libera.Chat, you first need to have one.

Register a new user on Libera.Chat

  1. Open a DM room with @NickServ:libera.chat
  2. Type REGISTER , and follow the instructions
@MightyCreak
MightyCreak / Output of `flatpak run com.github.mightycreak.Diffuse`
Last active August 13, 2020 00:55
Diffuse flatpak conffiguration file
Unable to init server: Could not connect: Connection refused
Unable to init server: Could not connect: Connection refused
Traceback (most recent call last):
File "/app/bin/diffuse", line 8361, in <module>
diff = Diffuse(rc_dir)
File "/app/bin/diffuse", line 7375, in __init__
Gtk.Window.__init__(self, type = Gtk.WindowType.TOPLEVEL)
File "/usr/lib/python3.7/site-packages/gi/overrides/Gtk.py", line 521, in __init__
"Gtk couldn't be initialized. "
RuntimeError: Gtk couldn't be initialized. Use Gtk.init_check() if you want to handle this case.
# Copy this file to .env before building the container.
# Put any local modifications here.
BUILD_TAG=latest
POSTGRES_USER=postgres
POSTGRES_PASSWORD=testtest
OWNER_UID=1000
OWNER_GID=1000