Skip to content

Instantly share code, notes, and snippets.

View InfinityGhost's full-sized avatar
🖊️
Writing OpenTabletDriver

InfinityGhost

🖊️
Writing OpenTabletDriver
  • North Carolina, USA
View GitHub Profile
{ appimageTools
, fetchurl
}:
let
version = "0.3.0";
buildNumber = "678";
in appimageTools.wrapType2 {
name = "minecraft-bedrock";
src = fetchurl {
@InfinityGhost
InfinityGhost / qemu
Last active January 23, 2021 19:06
Virtual Machine base functions and settings
#!/bin/bash
#
# Author: Sebastiaan Meijer (sebastiaan@passthroughpo.st)
#
# Copy this file to /etc/libvirt/hooks, make sure it's called "qemu".
# After this file is installed, restart libvirt.
# From now on, you can easily add per-guest qemu hooks.
# Add your hooks in /etc/libvirt/hooks/qemu.d/vm_name/hook_name/state_name.
# For a list of available hooks, please refer to https://www.libvirt.org/hooks.html
#
@InfinityGhost
InfinityGhost / opentabletdriver-install-win.ps1
Last active July 5, 2020 02:24
OpenTabletDriver Windows Installer (PowerShell)
[string] $repo = "InfinityGhost/OpenTabletDriver"
[string] $repoUrl = "https://github.com/$repo"
[string] $srcUrl = "$repoUrl.git"
[string] $src = "$PWD/src"
[string] $build = "$PWD/build"
[string] $bin = "$PWD/OpenTabletDriver"
[string] $daemonbin = "$bin/OpenTabletDriver.Daemon/OpenTabletDriver.Daemon.exe"
[string] $daemonlnk = "$env:APPDATA/Microsoft/Windows/Start Menu/Programs/Startup/OpenTabletDriver.Daemon.lnk"
@InfinityGhost
InfinityGhost / osu!.sh
Last active November 11, 2019 00:31
Installs osu! in linux under the directory the script is run.
if [ "$1" != "" ]; then
cd $1
fi
pfx="$PWD/.pfx"
osu="$PWD/osu!.exe"
if [ -f $osu ]; then
echo "Starting \e[96mosu!\e[39m"
WINEPREFIX=$pfx wine $osu
else
echo "\e[93mWINEPREFIX\e[39m will be set up at \e[91m$pfx\e[39m"