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 | |
| cd /d %~dp0 | |
| "C:\Program Files\PowerShell\7\pwsh.exe" -File Encode.ps1 %1 |
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; | |
| using System.IO; | |
| using System.Linq; | |
| using System.Reflection; | |
| using UnityEditor; | |
| using UnityEditor.DeviceSimulation; | |
| using UnityEngine; | |
| using UnityEngine.UIElements; | |
| public class TakeScreenShotPlugin : DeviceSimulatorPlugin |
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; | |
| using System.IO; | |
| using System.Text; | |
| public static class PathUtil | |
| { | |
| public static string AbsoluteToRelative(DirectoryInfo baseDir, FileInfo target) | |
| { | |
| var baseParts = baseDir.FullName.Replace('/', '\\').TrimEnd('\\').Split('\\'); | |
| var targetParts = target.FullName.Replace('/', '\\').Split('\\'); |
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
| currentProject, _ = reaper.EnumProjects(-1, "") -- -1 is current currentProjectect | |
| for midiIndex = 0,64,1 | |
| do | |
| exists, name = reaper.GetMIDIInputName(midiIndex, "") | |
| if (exists and (name == "A" or name == "B" or name == "C" or name == "D")) | |
| then | |
| for channelIndex = 0,15,1 | |
| do | |
| trackIndex = reaper.GetNumTracks() |
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 UnityEngine; | |
| [ExecuteInEditMode] | |
| public class Layout3D : MonoBehaviour | |
| { | |
| public bool mirrorX; | |
| public bool mirrorY; | |
| public bool mirrorZ; | |
| public bool enableXPos; |
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 SmfNoteTiming; | |
| using System; | |
| using UnityEngine; | |
| namespace Idol | |
| { | |
| public class NoteStar : MonoBehaviour | |
| { | |
| [SerializeField] | |
| public float seconds; |
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 Battlehub.SplineEditor; | |
| using UnityEngine; | |
| [ExecuteInEditMode] | |
| [RequireComponent(typeof(MeshRenderer), typeof(MeshFilter), typeof(MeshCollider))] | |
| public class MyLineRenderer : MonoBehaviour | |
| { | |
| [SerializeField] | |
| public Material material; | |
| [SerializeField] |
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; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Text; | |
| using System.IO; | |
| namespace ObjUVProjector | |
| { | |
| class Program | |
| { |
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
| package main | |
| import ( | |
| "fmt" | |
| "regexp" | |
| "github.com/ChimeraCoder/anaconda" | |
| ) | |
| func main() { |
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
| require "webrick" | |
| # put this file to [your jekyll root]/_plugins/non-ascii-filename.rb | |
| module Jekyll | |
| module Commands | |
| class Serve | |
| class Servlet < WEBrick::HTTPServlet::FileHandler | |
| # original: webrick/httpservlet/filehandler.rb | |
| def prevent_directory_traversal(req, res) |
NewerOlder