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
| (script-fu-register | |
| ;name | |
| "script-fu-estecka-create-sublayers" | |
| ;label | |
| "Create Sub-Layer" | |
| ;description | |
| "Turn the selected layer into a group.\ | |
| The group inherits all the attributes from the original layers, and the original is moved into the group." | |
| ;author |
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
| #!/bin/bash | |
| set -eu -o pipefail | |
| IFS='' | |
| if [[ $# -le 0 ]] | |
| then | |
| cat >&2 <<EOF | |
| Generates a painting datapack for Minecraft 1.21, using an unzipped texturepack as source. | |
| The paintings' asset_id will be derived from their variant ID, and all paintings will be added to the placeable tag. |
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
| #!/bin/bash | |
| EXEC=./a.out # Put your executable's path here. | |
| LOG=valgrind | |
| valgrind \ | |
| --tool=memcheck \ | |
| --leak-check=full \ | |
| --leak-resolution=high \ | |
| --track-origins=yes \ |
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
| console.log("Welcome, master"); | |
| var readline = require('readline'); | |
| var rl = readline.createInterface({ | |
| input: process.stdin, | |
| output: process.stdout, | |
| terminal: true | |
| }); | |
| rl.on('line', function(line){ |
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
| /* ************************************************************************** */ | |
| /* */ | |
| /* ::: :::::::: */ | |
| /* ft_print_memory.c :+: :+: :+: */ | |
| /* +:+ +:+ +:+ */ | |
| /* By: abaur <[email protected]> +#+ +:+ +#+ */ | |
| /* +#+#+#+#+#+ +#+ */ | |
| /* Created: 2019/08/04 17:01:03 by abaur #+# #+# */ | |
| /* Updated: 2019/08/07 10:25:44 by abaur ### ########.fr */ | |
| /* */ |
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
| /* ************************************************************************** */ | |
| /* */ | |
| /* ::: :::::::: */ | |
| /* .stringToInt.c :+: :+: :+: */ | |
| /* +:+ +:+ +:+ */ | |
| /* By: abaur <[email protected]> +#+ +:+ +#+ */ | |
| /* +#+#+#+#+#+ +#+ */ | |
| /* Created: 2020/01/16 14:15:40 by abaur #+# #+# */ | |
| /* Updated: 2020/01/16 14:25:04 by abaur ### ########.fr */ | |
| /* */ |
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
| using System.Collections; | |
| using System.Collections.Generic; | |
| using UnityEngine; | |
| [ExecuteAlways] | |
| [RequireComponent(typeof(RectTransform))] | |
| public class SubCanvasScaler : MonoBehaviour { | |
| public enum ScalingMode { | |
| Stretch, | |
| MatchHeight, |
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
| using System.Collections; | |
| using System.Collections.Generic; | |
| using UnityEngine; | |
| using UnityEngine.Events; | |
| using TMPro; | |
| public class Typewriter : MonoBehaviour { | |
| static readonly string format = @"{0}<alpha=#00>{1}</color>{2}"; |
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 "Estecka/Depth Mask" { | |
| SubShader { | |
| Tags { "RenderType" = "Opaque" } | |
| Blend Zero One | |
| Pass{} | |
| } | |
| } |
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
| using System.Collections; | |
| using System.Collections.Generic; | |
| using System.Text.RegularExpressions; | |
| using UnityEngine; | |
| #if UNITY_EDITOR | |
| using UnityEditor; | |
| namespace Estecka.EsteckaEditor { | |
| [CustomPropertyDrawer(typeof(TimeCodeAttribute))] | |
| public class TimeCodeDrawer : PropertyDrawer{ |
NewerOlder