Skip to content

Instantly share code, notes, and snippets.

View JohannesDeml's full-sized avatar
🥽
Making Science

Johannes Deml JohannesDeml

🥽
Making Science
View GitHub Profile
@JohannesDeml
JohannesDeml / CpuDiagnoser.cs
Created January 5, 2023 16:28 — forked from MarkPflug/CpuDiagnoser.cs
BenchmarkDotNet CPU utilization
using BenchmarkDotNet.Analysers;
using BenchmarkDotNet.Columns;
using BenchmarkDotNet.Configs;
using BenchmarkDotNet.Diagnosers;
using BenchmarkDotNet.Engines;
using BenchmarkDotNet.Exporters;
using BenchmarkDotNet.Loggers;
using BenchmarkDotNet.Reports;
using BenchmarkDotNet.Running;
using BenchmarkDotNet.Validators;
@JohannesDeml
JohannesDeml / README.md
Last active August 13, 2021 10:07 — forked from handcircus/unity.rb
Fastlane action to build Unity Project

Usage

lane :build_unity do
  unity(
    execute_method: 'CommandLineBuild.BuildIos'
  )
end
@JohannesDeml
JohannesDeml / .gitattributes
Last active September 15, 2020 14:37 — forked from nemotoo/.gitattributes
.gitattributes for Unity3D with git-lfs
# Unity .gitattributes - Deml v1.0.0
# Source https://gist.github.com/JohannesDeml/0d25d654f8bbced6fcf651281e555397/
# Unity
*.cs diff=csharp text
*.cginc text
*.shader text
*.mat merge=unityyamlmerge eol=lf
@JohannesDeml
JohannesDeml / EditPrefabInScene.cs
Last active May 17, 2023 04:40 — forked from ulrikdamm/EditPrefab.cs
Unity editor script for better editing of prefabs. Put in Assets/Editor.
using UnityEngine;
using UnityEditor;
using UnityEditor.SceneManagement;
using UnityEngine.SceneManagement;
// From https://gist.github.com/JohannesDeml/5802473b569718c9c86de906b7039aec
// Original https://gist.github.com/ulrikdamm/338392c3b0900de225ec6dd10864cab4
// Adds a "Edit Prefab" option in the Assets menu (or right clicking an asset in the project browser).
// This opens an empty scene with your prefab where you can edit it.
// Put this script in your project as Assets/Editor/EditPrefab.cs