Skip to content

Instantly share code, notes, and snippets.

@RyanNutt
RyanNutt / embed.html
Created October 20, 2015 15:36
Needed a way to embed a Gist in an Instructure Canvas page. Just paste this into when in HTML editing mode and switch out the address with your gist. CSS came from http://www.bymichaellancaster.com/blog/fluid-iframe-and-images-without-javascript-plugins/
<p style="position: relative; padding-bottom: 56.25%; padding-top: 30px; height: 0; overflow: hidden;">
<iframe style="position: absolute; top: 0; height: 100%; width: 100%;" src="https://gist.github.com/RyanNutt/905983e76c20cf3177b7.pibb" width="300" height="150">
</iframe>
</p>
title: $:/config/tiddlyweb/host
$protocol$//$host$/tw/
@Bailey3D
Bailey3D / C++ >> Ustruct With Methods
Last active March 18, 2022 23:27
Example of a USTRUCT with BlueprintCallable UFUNCTIONS using a BlueprintFunctionLibrary & Struct reference
/*CPP File*/
#include "MyStruct.h"
/*Header File*/
#pragma once
#include "CoreMinimal.h"
#include "Kismet/BlueprintFunctionLibrary.h"
@Indp-Dustin
Indp-Dustin / SharedPointerTesting.inl
Created October 18, 2018 12:29
Smart Pointer Library Test Code
// Copyright 1998-2018 Epic Games, Inc. All Rights Reserved.
#pragma once
/** Toggle this define to enable shared pointer testing features */
#define WITH_SHARED_POINTER_TESTS 0 && !(UE_BUILD_SHIPPING || UE_BUILD_TEST)
enum class ESPMode;
@BlenderSleuth
BlenderSleuth / QuatStaticLibary.h
Last active October 6, 2022 20:35
A UE4 Static library for common quaternion operations
#pragma once
#include "CoreMinimal.h"
/**
* Library of commonly used custom functions
*/
class QuatStaticLibrary
{
public:
@Susko3
Susko3 / Disable XInput in UWP apps.reg
Last active May 29, 2024 22:14
Disable mapping of XInput controllers to keyboard keys for UWP apps
Windows Registry Editor Version 5.00
; Disable mapping of XInput controllers to keyboard keys for UWP apps
; set Enabled to 00000001 to enable again
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Input]
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Input\Settings]
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Input\Settings\ControllerProcessor]