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
#!/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 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 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 <abaur@student.42.fr> +#+ +:+ +#+ */ | |
/* +#+#+#+#+#+ +#+ */ | |
/* Created: 2019/08/04 17:01:03 by abaur #+# #+# */ | |
/* Updated: 2019/08/07 10:25:44 by abaur ### ########.fr */ | |
/* */ |
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
/* ************************************************************************** */ | |
/* */ | |
/* ::: :::::::: */ | |
/* .stringToInt.c :+: :+: :+: */ | |
/* +:+ +:+ +:+ */ | |
/* By: abaur <abaur@student.42.fr> +#+ +:+ +#+ */ | |
/* +#+#+#+#+#+ +#+ */ | |
/* Created: 2020/01/16 14:15:40 by abaur #+# #+# */ | |
/* Updated: 2020/01/16 14:25:04 by abaur ### ########.fr */ | |
/* */ |
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.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
[ExecuteAlways] | |
[RequireComponent(typeof(RectTransform))] | |
public class SubCanvasScaler : MonoBehaviour { | |
public enum ScalingMode { | |
Stretch, | |
MatchHeight, |
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.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 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 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{ |
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.Collections; | |
using System.Collections.Generic; | |
using System.Text.RegularExpressions; | |
namespace Estecka { | |
/// <summary> | |
/// A parser for those CSV with quoted newlines that tend to mess up other parsers. | |
/// </summary> | |
static public class AngryCSVParser { | |
static char escapeCharacter = '\\'; |