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
@echo off | |
pushd "%~dp0" | |
wsl "./%~n0.sh" %* | |
popd |
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
function oneFunctionStringify(obj) { | |
var result = ""; | |
if (obj instanceof Array) { | |
result += "["; | |
var splitChar = ""; | |
for (var i = 0; i < obj.length; ++i) { | |
result += splitChar + oneFunctionStringify(obj[i]); | |
splitChar = ","; | |
} | |
result += "]"; |
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
; PlatformIO Project Configuration File | |
; | |
; Build options: build flags, source filter | |
; Upload options: custom upload port, speed and extra flags | |
; Library options: dependencies, extra library storages | |
; Advanced options: extra scripting | |
; | |
; Please visit documentation for the other options and examples | |
; https://docs.platformio.org/page/projectconf.html |
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
// Created by ERAL | |
// These codes are licensed under CC0. | |
// https://creativecommons.org/publicdomain/zero/1.0/ | |
namespace OreOreLinq | |
{ | |
using System; | |
using System.Collections.Generic; | |
public static class Enumerable |
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
// (C) 2018 ERAL | |
// Distributed under the Boost Software License, Version 1.0. | |
// (See copy at http://www.boost.org/LICENSE_1_0.txt) | |
using UnityEngine; | |
#if UNITY_EDITOR | |
using UnityEditor; | |
using System.Collections.Generic; | |
using System.Linq; |
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
// (C) 2015 ERAL | |
// Distributed under the Boost Software License, Version 1.0. | |
// (See copy at http://www.boost.org/LICENSE_1_0.txt) | |
using UnityEngine; | |
#if UNITY_EDITOR | |
using UnityEditor; | |
[CustomPropertyDrawer(typeof(MinMaxSliderAttribute))] |
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
// Created by ERAL | |
// This is free and unencumbered software released into the public domain. | |
using UnityEngine; | |
using UnityEditor; | |
class HorizontalGroup : System.IDisposable { | |
public Rect Rect; | |
public HorizontalGroup(params GUILayoutOption[] options) { | |
Rect = EditorGUILayout.BeginHorizontal(options); |
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
// Created by ERAL | |
// This is free and unencumbered software released into the public domain. | |
using UnityEngine; | |
using UnityEditor; | |
using System.Collections.Generic; | |
using System.Linq; | |
public class CancelableLinq { |
NewerOlder