Skip to content

Instantly share code, notes, and snippets.

View daltondotgd's full-sized avatar

Krzysztof 'Dalton' Pachulski daltondotgd

View GitHub Profile
@ryanschmidtEpic
ryanschmidtEpic / subtract_actors.py
Created March 1, 2022 22:38
Sample UnrealEngine 5.0 Python Script for using Geometry Scripting to do a Boolean Subtract operation
#
# Unreal Engine 5.0 Python Script that takes in N >= 2 selected StaticMesh Actors,
# and subtracts Actors 1..N from the first Actor
#
import unreal
# output path and asset name (random suffix will be appended)
BooleanResultBasePath = "/Game/PythonBooleanTest"
BooleanResultBaseName = "PyBoolean"
@ConnorGriffin
ConnorGriffin / GDrive.Upload.ps1
Last active February 9, 2024 22:10
GDrive Upload PowerShell Script
# Set the Google Auth parameters. Fill in your RefreshToken, ClientID, and ClientSecret
$params = @{
Uri = 'https://accounts.google.com/o/oauth2/token'
Body = @(
"refresh_token=$RefreshToken", # Replace $RefreshToken with your refresh token
"client_id=$ClientID", # Replace $ClientID with your client ID
"client_secret=$ClientSecret", # Replace $ClientSecret with your client secret
"grant_type=refresh_token"
) -join '&'
Method = 'Post'
@steve-taylor
steve-taylor / lua-editor.html
Last active January 8, 2024 03:25
Simple Lua text editor using Hightlight.js
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Lua editor with Syntax highlighting</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/babel-standalone/6.26.0/babel.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/16.2.0/umd/react.production.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/react-dom/16.2.0/umd/react-dom.production.min.js"></script>
@sensvos
sensvos / DDCEngine.ini
Last active April 17, 2019 09:25
Lines setting shared DDC path per project that are to be put in one of *Engine.ini files.
;[DerivedDataBackendGraph] ; For source engine build
[InstalledDerivedDataBackendGraph] ; For installed engine build (such as launcher version) - pick one
Shared=(Type=FileSystem, ReadOnly=false, Clean=false, Flush=false, DeleteUnused=true, UnusedFileAge=19, FoldersToClean=-1, Path=\\Server\DDC, EnvPathOverride=UE-SharedDataCachePath)