Skip to content

Instantly share code, notes, and snippets.

View travelhawk's full-sized avatar

Michael Falk travelhawk

  • Humatects GmbH
  • Oldenburg
View GitHub Profile
@travelhawk
travelhawk / #boxstarter_builds
Last active May 17, 2019 09:06
Bulk Windows Install using Boxstarter and chocolatey
# README
########################################################################
# Windows Install using Boxstarter and chocolatey
# You can use the Install script or install it manually using chocolatey
@travelhawk
travelhawk / #doskey_env
Last active June 28, 2018 12:53
Define own environment for cmd for aliases, shortcuts and adding to the PATH
# README
#############################################################################
Installation
1. clone the the env.cmd file and place it somewhere on your computer
2. create a shortcut to c:\windows\system32\cmd.exe
3. set the target to C:\Windows\System32\cmd.exe /K path-to-file/env.cmd
@travelhawk
travelhawk / IpManager.cs
Created March 19, 2019 15:59
Use this class to obtain the ip on different platforms including HoloLens using Unity3D as a development platform.
using System.Collections.Generic;
using System.Net.NetworkInformation;
using System.Net.Sockets;
#if WINDOWS_UWP
using Windows.Networking.Connectivity;
using Windows.Networking;
#endif
/// <summary>
/// Get the ip of the actual device. Also works on UWP (e.g. HoloLens).
@travelhawk
travelhawk / TMP_SDF-MobileInstanced.shader
Created April 30, 2019 10:39 — forked from peted70/TMP_SDF-MobileInstanced.shader
TextMeshPro Shader updated to work with Single pass stereo rendering in Unity
// Simplified SDF shader:
// - No Shading Option (bevel / bump / env map)
// - No Glow Option
// - Softness is applied on both side of the outline
Shader "TextMeshPro/Mobile/Distance Field Instanced" {
Properties {
_FaceColor ("Face Color", Color) = (1,1,1,1)
_FaceDilate ("Face Dilate", Range(-1,1)) = 0
@travelhawk
travelhawk / 82-IUnified Interface-INewInterface.cs.txt
Last active September 10, 2019 15:18
Adds an "IUnified Interface" to the create asset context menu in Unity3D. The template creates the appropriate container needed for IUnified automatically.
using System;
public interface #SCRIPTNAME# {
}
[Serializable]
public class #SCRIPTNAME#Container : IUnifiedContainer<#SCRIPTNAME#> {}
@travelhawk
travelhawk / neural-style-transfer-with-eager-execution.ipynb
Last active November 11, 2019 14:10
Neural Style Transfer with Eager Execution
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@travelhawk
travelhawk / install_software.sh
Last active September 22, 2020 12:25
bash script to install basic development software for Ubuntu automatically
# standard developer tools for building software
sudo apt install -y build-essential
# development
sudo apt install -y python3
sudo apt install -y openjdk-8-jdk
sudo apt install -y git
sudo apt install -y vlc browser-plugin-vlc
sudo apt install -y putty
sudo apt install -y slack
@travelhawk
travelhawk / ffmpeg_commands.md
Last active April 2, 2024 16:23
Collection of ffmpeg commands (basic usage, streaming, advanced usage)

ffmpeg

ffmpeg is a fast video and audio converter that can also grab from a live audio/video source.

Standard usage

Getting help and information

  • -h show all options
  • -h(elp) topic show help
  • -version show version
  • -formats show available formats
@travelhawk
travelhawk / Technologies_Collection.md
Last active May 31, 2022 10:19
Link Collection for Software Development and technologies
@travelhawk
travelhawk / unity_addressables.md
Last active February 4, 2020 15:41
Unity Addressables

Unity3D Addressables

Addressables are a new feature by Unity3D to allow the loading of an asset by a simple address no matter whether it is stored locally or remotely. Required assets are loaded at runtime which can reduce build time, installation size and Unity Editor play times. It can also be used to deliver content for deployed games and applications.

However, the setup and the content update after you deployed your game / application can be challenging.

The manual is found here: https://docs.unity3d.com/Packages/com.unity.addressables@0.6/manual/index.html