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
# Credit: pwnsdx https://gist.github.com/pwnsdx/1217727ca57de2dd2a372afdd7a0fc21; nebular https://gist.github.com/pwnsdx/d87b034c4c0210b988040ad2f85a68d3#gistcomment-3019082 | |
# IMPORTANT: Don't forget to logout from your Apple ID in the settings before running it! | |
# IMPORTANT: You will need to disable SIP: Reboot to Recovery, in Terminal csrutil disable | |
# WARNING: It might disable things that you may not like. Please double check the services in the TODISABLE vars. | |
# Get active services: launchctl list | grep -v "\-\t0" | |
# Find a service: grep -lR [service] /System/Library/Launch* /Library/Launch* ~/Library/LaunchAgents | |
# List disabled services: launchctl print-disabled user/501 |grep true & launchctl print-disabled system |grep true |
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 UnityEditor; | |
public class UnityEditorGuiSkinSaver : Editor | |
{ | |
[MenuItem("Assets/Save Editor Skin")] | |
public static void SaveEditorSkinToAssets() | |
{ | |
var skin = Instantiate(EditorGUIUtility.GetBuiltinSkin(EditorSkin.Inspector)); | |
AssetDatabase.CreateAsset(skin, "Assets/EditorSkin.guiskin"); | |
} |