Skip to content

Instantly share code, notes, and snippets.

@seriema
seriema / MyConfigModule.cpp
Last active January 14, 2024 13:40
Module setup with UDeveloperSetting validation
#include "MyConfigModule.h"
#include <Core/Public/Misc/MessageDialog.h>
#include <CoreUObject/Public/Misc/DataValidation.h>
#include <CoreUObject/Public/Misc/UObjectToken.h>
#include <UnrealEd/Public/Editor.h>
#include "MyConfig/ProjectSetting/MyConfig.h"
namespace
@seriema
seriema / media-queries.less
Last active August 16, 2023 12:47
Media query variables in LESS (for Bootstrap, but could be used anywhere)
// Media query variables. Usage: @media @sm-and-up { ... } or @media @tablet, @desktop { ... }
// Media query names like Bootstrap
@xs-and-up: ~"only screen"; // xs is the smallest size, so "xs and up" is basically "everything on a screen"
@xs-only: ~"only screen and (max-width: @{screen-xs-max})";
@sm-and-up: ~"only screen and (min-width: @{screen-sm-min})";
@sm-only: ~"only screen and (min-width: @{screen-sm-min}) and (max-width: @{screen-sm-max})";
@md-and-up: ~"only screen and (min-width: @{screen-md-min})";
@md-only: ~"only screen and (min-width: @{screen-md-min}) and (max-width: @{screen-md-max})";
@lg-and-up: ~"only screen and (min-width: @{screen-lg-min})";
@lg-only: @lg-and-up;
@seriema
seriema / characters
Created June 1, 2015 16:03
Font test. Useful for checking if some characters are missing in a font.
Latin
ABCDEFGHIJKLMNOPQRSTUVWXYZ
abcdefghijklmnopqrstuvwxyz
Latin 1 (Western)
ÁÀÂÄÅÃÆÇÐÉÈÊËÍÌÎÏÑÓÒÔÖÕØŒÞÚÙÛÜÝŸ
áàâäãåæçðéèêëíìîïıñóòôöõøœßþúùûüýÿ
Latin 2 (Eastern)
ĀĂĄĆČĎĐĒĖĘĚĞĢĪĮİĶŁĹĻĽŃŅŇŌŐŔŖŘŠŚŞȘŢȚŤŪŮŰŲŽŹŻ
<?xml version="1.0" encoding="utf-8" ?>
<Configuration xmlns="https://www.unrealengine.com/BuildConfiguration">
<ProjectFileGenerator>
<Format>VisualStudio2019</Format>
</ProjectFileGenerator>
<WindowsPlatform>
<Compiler>VisualStudio2019</Compiler>
<CompilerVersion>14.22.27905</CompilerVersion>
<WindowsSdkVersion>10.0.18362.0</WindowsSdkVersion>
</WindowsPlatform>
@seriema
seriema / PS4 wishlist filter
Created July 11, 2020 16:27
Bookmarlket for filtering Playstation store wishlist for games on sale
javascript:(function(){ $(".__shared-presentation__wishlist-item-cell__cfd0d.ember-view").each((index, game) => { if (!game.querySelectorAll(".price-display__strikethrough").length) game.style.display = "none" }) ;})();
@seriema
seriema / gist:abea31ebc8b92be88ceb6c17e5f56f74
Created March 28, 2020 21:22
Docker cache keeps invalidating
We couldn’t find that file to show.
@seriema
seriema / build.log
Created March 21, 2020 09:14
retro-cloud: Docker buildlog for successful RetroPie-Setup (v4.5.17, commit 558f25c)
This file has been truncated, but you can view the full file.
Cloning into '.'...
Warning: Permanently added the RSA host key for IP address '140.82.112.3' to the list of known hosts.
Switched to a new branch 'develop'
Pulling cache layers for index.docker.io/seriema/retro-cloud:develop...
Done!
KernelVersion: 4.4.0-1060-aws
Components: [{u'Version': u'18.03.1-ee-3', u'Name': u'Engine', u'Details': {u'KernelVersion': u'4.4.0-1060-aws', u'Os': u'linux', u'BuildTime': u'2018-08-30T18:42:30.000000000+00:00', u'ApiVersion': u'1.37', u'MinAPIVersion': u'1.12', u'GitCommit': u'b9a5c95', u'Arch': u'amd64', u'Experimental': u'false', u'GoVersion': u'go1.10.2'}}]
Arch: amd64
BuildTime: 2018-08-30T18:42:30.000000000+00:00
ApiVersion: 1.37
@seriema
seriema / build.log
Last active March 21, 2020 08:18
retro-cloud: Docker buildlog for failed RetroPie-Setup (v4.5.17, commit 3e827c1)
# Copied from https://hub.docker.com/repository/registry-1.docker.io/seriema/retro-cloud/builds/38183daf-6bd1-432a-ada0-ada85af1ec02
Cloning into '.'...
Warning: Permanently added the RSA host key for IP address '140.82.112.3' to the list of known hosts.
Switched to a new branch 'develop'
Pulling cache layers for index.docker.io/seriema/retro-cloud:develop...
Done!
KernelVersion: 4.4.0-1060-aws
Components: [{u'Version': u'18.03.1-ee-3', u'Name': u'Engine', u'Details': {u'KernelVersion': u'4.4.0-1060-aws', u'Os': u'linux', u'BuildTime': u'2018-08-30T18:42:30.000000000+00:00', u'ApiVersion': u'1.37', u'MinAPIVersion': u'1.12', u'GitCommit': u'b9a5c95', u'Arch': u'amd64', u'Experimental': u'false', u'GoVersion': u'go1.10.2'}}]
Arch: amd64
@seriema
seriema / README.md
Last active May 2, 2019 11:03
lint-episerver-cms-api

Run with npx https://gist.github.com/seriema/b1c00036175cbfc374548b499bafcb27.

@seriema
seriema / Episerver_CLA
Last active May 16, 2018 06:11 — forked from CLAassistant/SAP_CLA
Episerver Individual Contributor License Agreement
# Episerver AB Individual Contributor License Agreement
Thank you for your interest in contributing to open source software projects ("Projects") made available by Episerver AB
or its affiliates ("Episerver AB"). This Individual Contributor License Agreement ("Agreement") sets out the terms
governing any source code, object code, bug fixes, configuration changes, tools, specifications, documentation, data,
materials, feedback, information or other works of authorship that you submit or have submitted, in any form and in any
manner, to Episerver AB in respect of any of the Projects (collectively "Contributions"). If you have any questions
respecting this Agreement, please contact opensource@episerver.com.