Skip to content

Instantly share code, notes, and snippets.

View Letterus's full-sized avatar

Johannes Brakensiek Letterus

View GitHub Profile
@Letterus
Letterus / GNUstep Ubuntu packaging.md
Last active March 3, 2020 08:16
Some hints to package GNUstep for Ubuntu using Launchpad
@Letterus
Letterus / open_source_church_software.md
Created May 11, 2020 08:09 — forked from seven1m/open_source_church_software.md
List of Open Source Church Software
Format: 3.0 (quilt)
Source: libdispatch
Binary: libdispatch-dev, libdispatch0
Architecture: any
Version: 5.1.5-0.1
Maintainer: Patrick Georgi <patrick@georgi.software>
Homepage: http://libdispatch.macosforge.org/
Standards-Version: 4.5.0
Build-Depends: debhelper-compat (= 12), clang (>= 8) | clang-8, cmake
Build-Conflicts: clang (<< 8)
@Letterus
Letterus / download_moodle.php
Last active April 7, 2021 16:44
A PHP script to download Moodle to a shared web space with only FTP access
<?php
$url = "https://download.moodle.org/download.php/direct/stable310/moodle-latest-310.zip";
$zipFile = "moodle-latest-310.zip"; // Local Zip File Path
$extractPath = ".";
$zipResource = fopen($zipFile, "w");
if(!ini_get('allow_url_fopen'))
die("Error: 'allow_url_fopen' is disabled.\n");
@Letterus
Letterus / lightdm-gtk-greeter.conf
Created January 1, 2022 16:45
LightDM Greeter Configuration for Debian Xfce
# LightDM GTK+ Configuration
# Available configuration options listed below.
#
# Appearance:
# theme-name = GTK+ theme to use
# icon-theme-name = Icon theme to use
# cursor-theme-name = Cursor theme to use
# cursor-theme-size = Cursor size to use
# background = Background file to use, either an image path or a color (e.g. #772953)
# user-background = false|true ("true" by default) Display user background (if available)
@Letterus
Letterus / config.txt
Created January 1, 2022 16:50
Xfce Panel Profile (unzipped tar.bz2) at ~/.local/share/xfce4-panel-profiles
/configver 2
/panels [<1>]
/panels/dark-mode false
/panels/panel-1/background-style uint32 0
/panels/panel-1/disable-struts false
/panels/panel-1/icon-size uint32 16
/panels/panel-1/length uint32 100
/panels/panel-1/plugin-ids [<7>, <1>, <3>, <4>, <5>, <6>, <8>, <9>, <10>, <11>, <12>, <13>, <14>]
/panels/panel-1/position 'p=6;x=0;y=0'
/panels/panel-1/position-locked true
@Letterus
Letterus / compton.conf
Last active January 8, 2022 21:56
Compton config (.config/compton.conf) for use with Xfce
backend = "glx";
glx-no-stencil = true;
vsync = true;
unredir-if-possible = true;
shadow = true;
shadow-radius = 7;
shadow-offset-x = -7;
shadow-offset-y = -7;
shadow-exclude = [ "n:e:Notification", "n:e:Docky", "g:e:Synapse", "g:e:Conky", "n:w:*Chromium*", "n:w:*Firefox*", "n:w:*Epiphany*", "n:w:*dockbarx*", "class_g ?= 'Cairo-dock'", "class_g ?= 'Xfce4-notifyd'", "class_g ?= 'Xfce4-power-manager'", "class_g ?= 'Notify-osd'", "_GTK_FRAME_EXTENTS@:c" ];
detect-client-opacity = true;
@Letterus
Letterus / blacklist-nvidia-nouveau.conf
Created February 14, 2022 11:11
Kernel modules and X11 config for PPC G5 to enable use of second graphics card from AMD (radeon) only
# /etc/modprobe.d/blacklist-nvidia-nouveau.conf
blacklist nouveau
options nouveau modeset=0
options radeon modeset=1
@Letterus
Letterus / Qemu GPU Passthrough.md
Created June 9, 2022 18:39
Notes to fix GPI passthrough for QEMU on Debian Bullseye

QEMU GPU Passthrough

Fix to free screen (via sudo):

#!/bin/bash
echo 0 > /sys/class/vtconsole/vtcon0/bind
echo 0 > /sys/class/vtconsole/vtcon1/bind
echo efi-framebuffer.0 > /sys/bus/platform/drivers/efi-framebuffer/unbind
@Letterus
Letterus / apt-sources.list.d
Created October 16, 2022 11:15
LinuxMint Debian Edition Apt Sources
Repos: Packages: apt: 2275
No active apt repos in: /etc/apt/sources.list
Active apt repos in: /etc/apt/sources.list.d/clang.list
1: deb [signed-by=/usr/share/keyrings/llvm-archive-keyring.gpg] http: //apt.llvm.org/bullseye/ llvm-toolchain-bullseye-14 main
2: deb-src [signed-by=/usr/share/keyrings/llvm-archive-keyring.gpg] http: //apt.llvm.org/bullseye/ llvm-toolchain-bullseye-14 main
Active apt repos in: /etc/apt/sources.list.d/official-package-repositories-src.list
1: deb-src https: //deb.debian.org/debian/ bullseye main contrib non-free
2: deb-src https: //deb.debian.org/debian/ unstable main contrib non-free
Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
1: deb https: //ftp-stud.hs-esslingen.de/pub/Mirrors/packages.linuxmint.com elsie main upstream import backport