This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "UnityCG.cginc" | |
fixed4 _Color; | |
float _DepthScale; | |
float _Sigma; | |
struct VertexInput | |
{ | |
float3 objectPos : POSITION; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
uint faceIndexFromDirection(float3 worldViewPos, float3 worldViewDir) | |
{ | |
//todo carry these from the source | |
float3 objectViewPos = mul(unity_WorldToObject, float4(worldViewPos, 1)).xyz; | |
float3 objectViewDir = mul(unity_WorldToObject, float4(worldViewDir, 0)).xyz; | |
fixed3 directionSign = sign(objectViewDir); | |
float3 directionInverse = 1.0 / objectViewDir; | |
float3 xHit = (-directionSign.x - objectViewPos.x) * directionInverse.x * objectViewDir; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
For a 256-block image: (I see the same for 246-block images) | |
1 block for main (current checkpoint's) container superblock | |
8 blocks for previous checkpoints and container superblocks | |
52 blocks for space manager and related objects | |
16 blocks for future expansion? | |
6 blocks for allocation info file blocks | |
------ | |
83 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
APFS XAttr com.apple.system.Security | |
==================================== | |
Original command I ran: | |
chmod +a 'group:staff allow list,add_file,search,add_subdirectory,delete_child,readattr,writeattr,readextattr,writeextattr,readsecurity,file_inherit,directory_inherit' file | |
Resulting xattr: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections; | |
using System.Collections.Generic; | |
using System.IO; | |
using UnityEngine; | |
using UnityEngine.UI; | |
using UnityEngine.SceneManagement; | |
using UnityEngine.Video; | |
using VRCSDK2; | |
using YamlDotNet.RepresentationModel; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* A checksum calculator for Windows 8.3 filenames. | |
* The relevant post can be found at http://usn.pw/blog/cs/2015/06/09/filenames/ | |
* Written by Thomas Galvin. */ | |
#include <stdio.h> | |
#include <stdint.h> | |
#include <stdlib.h> | |
#include <string.h> | |
uint16_t chksum(wchar_t * name) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* A checksum calculator for Windows 8.3 filenames. | |
* The relevant post can be found at http://usn.pw/blog/cs/2015/06/09/filenames/ | |
* Written by Thomas Galvin. */ | |
#include <stdio.h> | |
#include <stdint.h> | |
#include <stdlib.h> | |
#include <string.h> | |
uint16_t chksum(wchar_t * name) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This is an automated message generated by Big Brother, | |
Mom... Dad, this is my last message to you... I love you both... But you leave me no choice, you took away my pride, happiness... What do you expect me to do? | |
When the new child is born I shall take way everything you love... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some directory: | |
01 00 00 00 00 00 00 00 parent node ID | |
02 00 00 00 00 00 00 00 our node ID | |
12 13 b0 25 44 1a 22 15 time created | |
29 28 23 65 45 1a 22 15 time modified | |
29 28 23 65 45 1a 22 15 time changed | |
12 13 b0 25 44 1a 22 15 time accessed | |
00 80 00 00 00 00 00 00 0x8000 = flags |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
meta: | |
id: fbx | |
title: FBX 3D model interchange format | |
file-extension: fbx | |
encoding: UTF-8 | |
endian: le | |
license: WTFPL | |
seq: | |
- id: header |