Skip to content

Instantly share code, notes, and snippets.

@Nogbit
Nogbit / process.py
Last active August 14, 2023 21:32
Unreal Paragon Asset Consolidation
import unreal
#####
# For Texture2D, Material and TextureCube
# BEFORE - 72.8 GB
# AFTER - 49.0 GB, deleted 6869 duplicate files
# 22GB savings of data in /Game/Content
#
# Regarding MaterialFunctions, there are over 3200 of them, unfortunately the editor crashes when
# processing these, and the crash results in your character no longer having a material
@kebby
kebby / ZLibDecoder.cs
Created October 28, 2013 10:31
Inflate (ZLib decoder) implementation in C#, taken from Sean Barrett's stb_image: http://nothings.org/stb_image.c You might wonder why I did this if there has always been DeflateStream which works well enough: I had to learn that DeflateStream isn't always available. One example is the Unity3D engine where you can't use it in web player projects…
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
namespace Utility
{
/// <summary>
/// public domain zlib decode
/// original: v0.2 Sean Barrett 2006-11-18
@mages
mages / googleVis_with_knitr_and_RStudio.Rmd
Created May 15, 2012 19:59
Interactive reports in R with knitr and RStudio
My first examples with [***knitr***](http://yihui.name/knitr/)
-----------------------------------------
Let's include some simple R code:
```{r}
1+2
```
That worked.
Let's include a plot:
```{r fig.width=4, fig.height=4}