This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 |
This file contains hidden or 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
| import java.awt.Color; | |
| import java.awt.Font; | |
| import java.awt.FontMetrics; | |
| import java.awt.Graphics2D; | |
| import java.awt.image.BufferedImage; | |
| import java.io.File; | |
| import javax.imageio.ImageIO; | |
| public class MakeStencilScannerGrid { |
This file contains hidden or 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
| // Made with Amplify Shader Editor | |
| // Available at the Unity Asset Store - http://u3d.as/y3X | |
| Shader "3D/OU3DScreen" | |
| { | |
| Properties | |
| { | |
| [HideInInspector] __dirty( "", Int ) = 1 | |
| _MainTex("MainTex", 2D) = "white" {} | |
| [Toggle]_ToggleSwitch2("Toggle Switch2", Float) = 0 | |
| } |
This file contains hidden or 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
| #!/usr/bin/env ruby | |
| require_relative 'obj' | |
| obj = Obj.build('cube') do | |
| # More about material properties here: | |
| # https://en.wikipedia.org/wiki/Wavefront_.obj_file | |
| # http://www.fileformat.info/format/material/ | |
| material = material('cube', |
This file contains hidden or 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
| color([0,0,0,1]) { | |
| difference() { | |
| cube([10,10,1], true); | |
| cube([8,8,1.1], true); | |
| for (i = [0:90:270]) { | |
| rotate([0,0,i]) { | |
| translate([4.8,0,0]) { | |
| cube([0.6,11,1/3], true); | |
| } |
This file contains hidden or 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
| Shader "Pixelate" { | |
| Properties { | |
| _CellSize ("Cell Size", Vector) = (0.02, 0.02, 0, 0) | |
| } | |
| SubShader { | |
| Tags { "RenderType"="Opaque" } | |
| LOD 200 | |
| GrabPass { "_PixelationGrabTexture"} | |