Skip to content

Instantly share code, notes, and snippets.

View Helveg's full-sized avatar

Robin De Schepper Helveg

View GitHub Profile
@MatiasDuhalde
MatiasDuhalde / mutually-exclusive.decorator.ts
Last active December 10, 2024 00:27
class-validator Mutually Exclusive decorator
import {
ValidationArguments,
ValidationOptions,
ValidationTypes,
registerDecorator,
} from 'class-validator';
import 'reflect-metadata';
// Must not conflict with other existing properties in the application
const MUTUALLY_EXCLUSIVE_KEY = (tag: string) =>
@Helveg
Helveg / blender-pizdaint.md
Created September 18, 2020 17:08
Building a headless Blender on PizDaint
  1. Download source & dependencies
# Make a folder
mkdir ~/blender-git
cd  ~/blender-git
# Clone the Blender repo
git clone https://git.blender.org/blender.git
# Clone the dependencies
mkdir ~/blender-git/lib
cd ~/blender-git/lib