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; | |
using UnityEditor; | |
[InitializeOnLoad] | |
public class HierarchyHighlighter | |
{ | |
static HierarchyHighlighter() | |
{ | |
EditorApplication.hierarchyWindowItemOnGUI += HierarchyItemCB; | |
} |
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 pandas as pd | |
import xml.etree.ElementTree as ET | |
import matplotlib.pyplot as plt | |
import argparse | |
from typing import List, Dict, Optional | |
def parse_kml(file_path: str) -> ET.Element: | |
""" | |
Parses a KML file and returns the root of the XML tree. |
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
# TensorRT | |
export COMMANDLINE_ARGS="--xformers" | |
export TORCH_COMMAND="pip install -U pip wheel build setuptools pyproject.toml fonts ninja colored onnxruntime && \ | |
pip install -U torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121 && \ | |
pip install -U --pre tensorrt --extra-index-url https://pypi.nvidia.com && \ | |
pip install -U polygraphy onnx-graphsurgeon --extra-index-url https://pypi.ngc.nvidia.com && \ | |
pip install -U 'httpx==0.24.*' protobuf==3.20.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
FROM debian:stable-slim as box | |
RUN dpkg --add-architecture armhf | |
RUN apt-get update && apt-get full-upgrade -y | |
RUN apt-get install -y git binfmt-support build-essential cmake python3 python3-pip gcc-arm-linux-gnueabihf libc6-dev-armhf-cross libc6:armhf libncurses5:armhf libstdc++6:armhf && apt-get clean | |
# install box86 and box64 | |
RUN mkdir -p /home/user/box/usr/share/binfmts/ | |
WORKDIR /build | |
ADD https://api.github.com/repos/ptitSeb/box86/releases/latest latest_box86 | |
RUN git clone https://github.com/ptitSeb/box86 |
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
// ==UserScript== | |
// @name Nexus Auto Downloader | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description Auto download files with "SLOW DOWNLOAD" | |
// @author @a1678991 | |
// @match https://www.nexusmods.com/*/mods/*?tab=files&file_id=* | |
// @grant none | |
// ==/UserScript== |
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
/* | |
* © @a1678991 | |
*/ | |
using System.Linq; | |
using UnityEditor; | |
using UnityEngine; | |
public class GameObjectSelector : MonoBehaviour | |
{ | |
private static void SelectGameObjectsInChildren(GameObject root, Component selectedComponent) |
NewerOlder