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 | |
# Script originally from https://blog.arrogantrabbit.com/backup/Duplicacy-Web-on-Synology-Diskstation/ | |
# Duplicacy version. Modify and re-run the script when new version is released | |
DUPLICACY_WEB_VERSION=1.3.0 | |
# Username for the daemon to run on behalf of. Give this user permission to read stuff that needs to be backed up. | |
USERNAME=duplicacy | |
GROUPNAME=users |
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 UnityEditor; | |
using System.IO; | |
public class FixPrefabThing | |
{ | |
// Add menu item named "My Window" to the Window menu | |
[MenuItem("Sam/FixPrefabThing")] | |
public static void DoSomething() | |
{ |
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
// Terrain offset thing | |
// Offsets terrain height, splats, details, trees | |
// I place this code in the public domain. I accept no responsibility for broken terrains or any other bad things. | |
// Version 1 | |
using UnityEngine; | |
using UnityEditor; | |
using System.Collections.Generic; | |
public class TerrainFixer : MonoBehaviour { |