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 / keybase.md
Created February 21, 2019 16:20
Keybase.io proof

Keybase proof

I hereby claim:

  • I am johannesdeml on github.
  • I am johannesdeml (https://keybase.io/johannesdeml) on keybase.
  • I have a public key ASDVKatOMHNSM90leOf-tulfdkAhpoDtVSAxGx_PtY7R5Ao

To claim this, I am signing this object:

@JohannesDeml
JohannesDeml / ShaderChunkNames.md
Last active June 17, 2022 12:56
PlayCanvas ShaderChunk names
@JohannesDeml
JohannesDeml / TooltipDrawer.cs
Last active April 13, 2021 20:58
Unity Tooltip drawer for Material properties using reflection
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="TooltipDrawer.cs" company="Supyrb">
// Copyright (c) 2018 Supyrb. All rights reserved.
// </copyright>
// <author>
// Johannes Deml
// send@johannesdeml.com
// </author>
// --------------------------------------------------------------------------------------------------------------------
@JohannesDeml
JohannesDeml / SceneViewFocusChangerWindow.cs
Last active January 20, 2020 08:53
Unity scene view focus changer
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="SceneViewFocusChangerWindow.cs" company="Supyrb">
// Copyright (c) 2018 Supyrb. All rights reserved.
// </copyright>
// <author>
// Johannes Deml
// send@johannesdeml.com
// </author>
// --------------------------------------------------------------------------------------------------------------------
@JohannesDeml
JohannesDeml / CreateArtboardsForSelectedImages.jsx
Last active April 5, 2018 14:17
Adobe Illustator script: Creates an artboard for each selected image with the name of the imageFile and its size on the canvas
// ----------------------------------------------------------------------------
// <copyright file="CreateArtboardsForSelectedImages.jsx" company="Supyrb">
// Copyright (c) 2018 Supyrb. All rights reserved.
// </copyright>
// <author>
// Johannes Deml
// send@johannesdeml.com
// </author>
// <summary>
// Creates an artboard for each selected image with the name of the imageFile and its size on the canvas.
@JohannesDeml
JohannesDeml / ApplySelectedPrefabs.cs
Created March 31, 2018 08:15
Apply prefabs for all selected objects and their children
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ApplySelectedPrefabs.cs" company="Supyrb">
// Copyright (c) 2017 Supyrb. All rights reserved.
// </copyright>
// <author>
// baptisteLar
// http://baptistelargaiolli.com/
// </author>
// <author>
// Johannes Deml
@JohannesDeml
JohannesDeml / README.md
Last active April 22, 2024 22:14
Batch convert images with inkscape on windows

Batch convert svg|pdf|eps|emf|wmf|ai|ps|cdr to eps|pdf|png|jpg|tiff|svg|ps|emf|wmf

Screenshot Batch converter for Windows using Inkscape with the command line
InkscapeBatchConvert is an easy to use solution to quickly convert all files of a folder to another type without the need to open Inkscape. The program uses Windows Batch scripting and will only work on Windows.
Tested with Inkscape 1.0.x - 1.3.x ✅ (The last version that supports Inkscape 0.9.x can be found here)

Usage

  1. Download _InkscapeBatchConvert.bat
  2. Put it in the folder where you have files you wish to convert (will also scan on all subfolders for files of input type).
  3. Then double click the file to start it.
@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
@JohannesDeml
JohannesDeml / PokemonGo.md
Last active October 7, 2017 08:14
Pokemon Go included Libraries
@JohannesDeml
JohannesDeml / CustomEditorScript.txt
Created December 6, 2016 08:34
Unity Custom inspector template
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="#SCRIPTNAME#.cs" company="Supyrb">
// Copyright (c) #YEAR# Supyrb. All rights reserved.
// </copyright>
// <author>
// Johannes Deml
// send@johannesdeml.com
// </author>
// --------------------------------------------------------------------------------------------------------------------