Skip to content

Instantly share code, notes, and snippets.

@sliptrixx
sliptrixx / Brief.md
Last active June 5, 2023 19:27
Scriptable Lists - A property drawer for nested scriptable objects

Brief

The scriptable list framework allows developers to create a list of scriptable objects inside a scriptable object and provides a neat way to modify the values in the inspector. Have a look at this:

image

The source code to build that scriptable object is this simple:

@sliptrixx
sliptrixx / extract_fluentui_icons.ts
Created June 13, 2023 07:09
This script is used extract fluentui emoji icon svgs from microsoft/fluentui-emoji into a typescript file for use in Astro
// File: extract_fluentui_icon.ts
// Description: This script is used to extract fluentui emoji icons svgs into a typsecript class as a single file so
// that astro components can use it. Place this script in the root folder of the cloned
// microsoft/fluentui-emoji GitHub repository and use tsc to compile + node to execute the created javascript
// Author: sliptrixx (for Hibzz.Games)
// Date: 2023-06-13
// libraries
import * as fs from 'fs';
@sliptrixx
sliptrixx / generate.ps1
Created February 21, 2024 06:55
PowerShell Script for generating rust-project.json
<#
MIT License
Copyright (c) 2024 Hibnu Hishath
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is