Skip to content

Instantly share code, notes, and snippets.

View alfredbaudisch's full-sized avatar

Alfred Reinold Baudisch alfredbaudisch

View GitHub Profile
@alfredbaudisch
alfredbaudisch / BobTheBuilder.cs
Created March 5, 2023 11:03 — forked from hmans/BobTheBuilder.cs
A basic pipeline for performing headless Unity builds for multiple platforms at once.
/* This needs to live in a folder named "Editor", or it won't work. Doesn't have to be named
"BobTheBuilder", though. Name it whatever you want! */
using System;
using UnityEditor;
using UnityEngine;
public class BobTheBuilder
{
/* List of scenes to include in the build */
This document represents the beginning of an upgrade or migration document for GDScript 2.0 and Godot 4.0. I'm focusing on 2D
at the moment as I'm upgrading a 2D game, but will hopefully have more to add for 3D afterward.
If you want more content like this, please help fund my cat's medical bills at https://ko-fi.com/kyleszklenski - thank you very much! On to the migration guide.
Godot 4.0 Upgrade/Migration Guide
For a beginner-friendly version of the following (more advanced users likely will get better use of the below, if you're just starting out...), see this new gist: https://gist.github.com/WolfgangSenff/0a9c1d800db42a9a9441b2d0288ed0fd
GDScript:
@alfredbaudisch
alfredbaudisch / CsUnityFileLayout.xml
Created September 13, 2022 09:04 — forked from VacuumBreather/CsUnityFileLayout.xml
Rider C# File Layout for Unity classes
<Patterns xmlns="urn:schemas-jetbrains-com:member-reordering-patterns"
xmlns:unity="urn:schemas-jetbrains-com:member-reordering-patterns-unity">
<!-- StyleCop Unity Classes Layout -->
<TypePattern DisplayName="StyleCop Unity Classes Layout" RemoveRegions="All" Priority="150">
<TypePattern.Match>
<unity:SerializableClass />
</TypePattern.Match>
<Region Name="Constants and Fields">
@alfredbaudisch
alfredbaudisch / .gitattributes
Last active September 12, 2022 15:40 — forked from nemotoo/.gitattributes
.gitattributes for Unity3D with git-lfs
## Unity ##
*.cs diff=csharp text
*.cginc text
*.shader text
*.mat merge=unityyamlmerge eol=lf
*.anim merge=unityyamlmerge eol=lf
*.unity merge=unityyamlmerge eol=lf
*.prefab merge=unityyamlmerge eol=lf
@alfredbaudisch
alfredbaudisch / .gitattributes
Created September 12, 2022 15:27 — forked from Srfigie/.gitattributes
.gitattributes for Unity3D with git-lfs
## Unity ##
*.cs diff=csharp text
*.cginc text
*.shader text
*.mat merge=unityyamlmerge eol=lf
*.anim merge=unityyamlmerge eol=lf
*.unity merge=unityyamlmerge eol=lf
*.prefab merge=unityyamlmerge eol=lf

Single Page Oban Web

Application.put_env(:sample, Sample.Repo, database: "oban_dev")

Application.put_env(:phoenix, :json_library, Jason)

Application.put_env(:sample, Sample.Endpoint,
  http: [ip: {127, 0, 0, 1}, port: 5001],
  server: true,
@alfredbaudisch
alfredbaudisch / test.gd
Created July 26, 2022 12:44 — forked from winston-yallow/test.gd
Godot 4.x Compute Example
extends Node
# Based on this tweet by Clay John:
# https://twitter.com/john_clayjohn/status/1306447928932753408
func _ready() -> void:
# Create a local rendering device.
var rd := RenderingServer.create_local_rendering_device()
@alfredbaudisch
alfredbaudisch / up-and-running-with-edeliver-on-do.md
Created December 23, 2016 18:03 — forked from mattweldon/up-and-running-with-edeliver-on-do.md
Getting Elixir / Phoenix running on Digital Ocean with edeliver

Build Server

  • Go to Digital Ocean
  • Create new droplet
  • London
  • Ubuntu
  • No apps
  • Add SSH keys