alex-benz.de Blog
Mac OS aufsetzen
First Things First Install all current software updates Remove all irrelevant programs from the dockKeep: Finder, Browser, Mail, Calendar, Notes, MusicAdd: Terminal System preferences General – Set preferred mode Desktop – Set preferred background...
TypeScript Tips & Tricks
Types no need for explicit type assignment needed – because of type inference (typescript knows the type in most of the cases) Core Types: number string boolean object Array [] Tuple [number, string] –...
Mutagen File Sync
Nice little tool to sync files between two destinations. https://mutagen.io/ There are two modes: one-way and two-way sync mutagen list
Vue JS 2 – Basics
Entry Point Create a vue as a new entry point for the application and add an html element with the vue syntax to your page. Syntax Magic and directives Directives are special attributes provided...
Connecting different docker containers
There are two different methods to connecting container:1. docker cli (never really used)2. docker compose docker-compose Different CLI tool for starting and managing multiple containers. Use YAML files to better manage what to do:...
Creating images with dockerfiles
Dockerfiles are the base to create images. They contain a set of instructions for docker to execute. You can use different names to target different environments:Dockerfile – Production fileDockerfile.dev – Development file Instructions FROM...
Docker Intro
An image is the template of a docker container. A container is a set of commands and a file system. Starting and Stopping Containers docker run -t -p [localPort]:[containerPort] -v [containerPath] -v [localPath]:[containerPath] [image-name/image-id]...
Helpfull Unix commands
Basic Commands Change user – su username Run commands as admin – sudo command Create a folder – mkdir Create a file – touch List contents of files – less filename or cat filename...
Unity Coroutines Animation
Using coroutines you can animate different parameters of an object from your script. Using LERP (linear interpolation) you can easily go from one value to another. By extending your Animation with AnimationCurves you can...
Real World Unity Learnings
While developing ColorClicker (Google Play / AppStore) I learned some things in unity. Singletons Singletons exist over multiple scenes. Therefore you are not able to add multiple game objects to different scenes because you...
