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
// ==UserScript== | |
// @name noVNC Paste for Proxmox | |
// @namespace http://tampermonkey.net/ | |
// @version 0.2a | |
// @description Pastes text into a noVNC window (for use with Proxmox specifically) | |
// @author Chester Enright | |
// @match https://* | |
// @include /^.*novnc.*/ | |
// @require http://code.jquery.com/jquery-3.3.1.min.js | |
// @grant none |
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
// MIT License | |
// Copyright (c) 2022 anarkila - https://github.com/anarkila | |
// Permission is hereby granted, free of charge, to any person obtaining a copy | |
// of this software and associated documentation files (the "Software"), to deal | |
// in the Software without restriction, including without limitation the rights | |
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
// copies of the Software, and to permit persons to whom the Software is | |
// furnished to do so, subject to the following conditions: |
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
@ECHO off | |
SETLOCAL enableextensions enabledelayedexpansion | |
CD /D "%~dp0" | |
SET BASEPATH=%~dp0 | |
REM =============================[CONFIG START]============================= | |
SET STEAMCMDPATH=.steamcmd | |
REM Steam login details, you may need to run this twice if you have Auth Guard enabled (which you should) |
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
#if UNITY_EDITOR | |
using System; | |
using System.Linq; | |
using OdinExtensions; | |
using Sirenix.OdinInspector.Editor; | |
using Sirenix.OdinInspector.Editor.Validation; | |
using Sirenix.Serialization; | |
using UnityEngine; | |
using Object = UnityEngine.Object; |
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.Generic; | |
using System.Linq; | |
using UnityEngine; | |
using UnityEngine.Networking; | |
// License: MIT | |
// Created by: Aceria_ | |
// Edited by: Nesh108 | |
// To use, add these to any MonoBehaviour: | |
// OnEnable: `Application.logMessageReceived += DiscordLogger.HandleLog;` |
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
/* | |
* @brief Editor menu item for turning a prefab into a variant of a new empty prefab. | |
* | |
* @usage Access from the MenuItem defined in the code. As right-click or from the menu bar. | |
* | |
* @author Aurelio Provedo | |
* Contact: [email protected] | |
* | |
*/ |
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
/* MIT License | |
Copyright (c) 2016 RedBlueGames | |
*/ | |
using UnityEditor; | |
using UnityEngine; | |
using UnityEditor.Build.Reporting; | |
public class BuildToolExample : MonoBehaviour | |
{ |
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 UnityEngine; | |
using System.Collections.Generic; | |
[CreateAssetMenu(fileName = "new-controller-icon-mapping", menuName = "Controller Icon Mapping")] | |
public class ControllerIconMapDefinition : ScriptableObject | |
{ | |
[SerializeField] | |
private InputIconMapDefinition gamepadMap = null; | |
[SerializeField] |
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 UnityEngine; | |
public class MacosKeychain | |
{ | |
public static string GetKeychainPassword(string accountName,string serviceName) | |
{ | |
var value = ShellHelper.Bash($"security find-generic-password -a {accountName} -s {serviceName} -w -g"); | |
return value.TrimEnd( '\r', '\n' ); |
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.Generic; | |
using System.Linq; | |
using UnityEngine; | |
using UnityEditor; | |
public static class FindMissingScriptsRecursively | |
{ | |
[MenuItem("Auto/Remove Missing Scripts Recursively Visit Prefabs")] | |
private static void FindAndRemoveMissingInSelected() | |
{ | |
// EditorUtility.CollectDeepHierarchy does not include inactive children |
NewerOlder