Skip to content

Instantly share code, notes, and snippets.

View mikeseese's full-sized avatar

Mike Seese mikeseese

View GitHub Profile
@mikeseese
mikeseese / calendardarkmode.me.css
Created February 27, 2024 19:34
GCalendar Darkmode CSS
:root {
background-color: red !important;
--color-0: #000000;
--color-100: #303030;
--color-200: #353535;
--color-300: #575757;
--color-400: #717171;
--color-500: #8b8b8b;
--color-600: #d4d4d4;
--color-999: #ffffff;
@mikeseese
mikeseese / keybase.md
Created March 13, 2023 17:13
keybase.md

Keybase proof

I hereby claim:

  • I am mikeseese on github.
  • I am mikeseese (https://keybase.io/mikeseese) on keybase.
  • I have a public key ASDb40ivf54YUn5jdmlOnQ96Pyot5skvQOsPnhcqo2zJwQo

To claim this, I am signing this object:

@mikeseese
mikeseese / package.sh
Last active May 12, 2022 18:24
Unreal Win/Lin/Mac packaging script with AngelScript support. See comments for assumptions and other notes
#!/bin/bash
# only used in windows for cross compiling
export LINUX_MULTIARCH_ROOT=/c/UnrealToolchains/v19_clang-11.0.1-centos7/
if [ "$(uname)" != "Darwin" ]; then
${LINUX_MULTIARCH_ROOT}x86_64-unknown-linux-gnu/bin/clang++ -v
fi
SCRIPT_DIR="$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
PROJECT_FILE=$(/usr/bin/find ${SCRIPT_DIR} -maxdepth 1 -name *.uproject)
@mikeseese
mikeseese / DefaultEngine.ini
Last active January 15, 2022 22:50
Unreal Engine/UE VR headset framework priorities
[HMDPluginPriority]
OculusHMD=40
SteamVR=30
OpenXRHMD=20
WindowsMixedRealityHMD=10
@mikeseese
mikeseese / LinkerLoad.cpp.diff
Created December 18, 2021 21:05
Force assets to load in older engine version UE
--- a/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp
+++ b/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerLoad.cpp
@@ -1283,9 +1283,20 @@ FLinkerLoad::ELinkerStatus FLinkerLoad::SerializePackageFileSummaryInternal()
// Don't load packages that were saved with package version newer than the current one.
if (bLoaderVersionCheck && ((Summary.IsFileVersionTooNew()) || (Summary.GetFileVersionLicenseeUE() > GPackageFileLicenseeUEVersion)))
{
- UE_LOG(LogLinker, Warning, TEXT("Unable to load package (%s) PackageVersion %i, MaxExpected %i : LicenseePackageVersion %i, MaxExpected %i."),
- *GetDebugName(), Summary.GetFileVersionUE().ToValue(), GPackageFileUEVersion.ToValue(), Summary.GetFileVersionLicenseeUE(), GPackageFileLicenseeUEVersion);
- return LINKER_Failed;
+ if (Summary.GetFileVersionUE().ToValue() > 1000 && Summary.GetFileVersionUE().ToValue() <= 1002) {
@mikeseese
mikeseese / ue5-zenmode.patch
Created September 23, 2021 21:44
UE5 Zenmode Toggle Shortcut - (un)docks blueprint editor panels quickly
From 70de13383528ba05238cf0471275b507358107bf Mon Sep 17 00:00:00 2001
From: Mike Seese <seesemichaelj@gmail.com>
Date: Thu, 23 Sep 2021 14:41:44 -0700
Subject: [PATCH] add toggle zen mode shortcut
---
.../Editor/Kismet/Private/BlueprintEditor.cpp | 11 +++++++++++
.../Kismet/Private/BlueprintEditorCommands.cpp | 3 +++
.../Kismet/Private/BlueprintEditorCommands.h | 3 +++
.../Editor/Kismet/Public/BlueprintEditor.h | 3 +++
@mikeseese
mikeseese / unreal-colormake.pl
Last active August 30, 2021 20:25
A modified version of colormake.pl to work with Unreal's build scripts (i.e. RunUAT and RunUBT)
#!/usr/bin/perl
#
# colormake.pl 0.9.20140504
#
# Copyright: (C) 1999, 2012-2014, Bjarni R. Einarsson <bre@klaki.net>
# http://bre.klaki.net/
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
@mikeseese
mikeseese / style-override.css
Created March 2, 2021 04:37
Twitch vertical monitor viewing
@media screen and (max-width: 1080px) {
.channel-root--hold-chat+.persistent-player, .channel-root--watch-chat+.persistent-player, .channel-root__info--with-chat .channel-info-content, .channel-root__player--with-chat {
width: 100%
}
.channel-info-content {
width: calc(100% - 34rem) !important;
}
.channel-root__right-column--expanded {
@mikeseese
mikeseese / metalsmith.js
Created March 18, 2020 01:51
Metalsmith css cache busting md5 hash
var Metalsmith = require('metalsmith');
// Plugins
var markdown = require('metalsmith-markdown');
var markdownPrecompiler = require('metalsmith-markdown-precompiler');
var sass = require('metalsmith-sass');
var layouts = require('metalsmith-layouts');
var discoverHelpers = require('metalsmith-discover-helpers');
var discoverPartials = require('metalsmith-discover-partials');
var path = require('path');
@mikeseese
mikeseese / gist:cc9a4cfbe105025711a5afd6f002d06a
Created September 14, 2019 23:21
Protron Build Error Joystick
../../../../proton/wine/dlls/dinput/joystick_sdl.c: In function ‘find_sdldevs’:
../../../../proton/wine/dlls/dinput/joystick_sdl.c:260:13: error: unknown type name ‘SDL_JoystickType’
SDL_JoystickType type = SDL_JoystickGetType(device);
^~~~~~~~~~~~~~~~
../../../../proton/wine/dlls/dinput/joystick_sdl.c:260:37: warning: implicit declaration of function ‘SDL_JoystickGetType’ [-Wimplicit-function-declaration]
SDL_JoystickType type = SDL_JoystickGetType(device);
^~~~~~~~~~~~~~~~~~~
../../../../proton/wine/dlls/dinput/joystick_sdl.c:262:25: error: ‘SDL_JOYSTICK_TYPE_WHEEL’ undeclared (first use in this function)
type == SDL_JOYSTICK_TYPE_WHEEL ||
^~~~~~~~~~~~~~~~~~~~~~~