Thank you everybody, Your comments makes it better
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"| sudo yum update | |
| # Installing ZSH | |
| sudo yum -y install zsh | |
| # Check ZSH has been installed | |
| zsh --version | |
| # Install "util-linux-user" because "chsh" is not available by default | |
| # See https://superuser.com/a/1389273/599050 |
| #cloud-config | |
| groups: | |
| - docker | |
| users: | |
| - default | |
| # the docker service account | |
| - name: docker-service | |
| groups: docker | |
| package_upgrade: true | |
| packages: |
| /******************************************************************************* | |
| * Don't Be a Jerk: The Open Source Software License. | |
| * Adapted from: https://github.com/evantahler/Dont-be-a-Jerk | |
| ******************************************************************************* | |
| * _I_ am the software author - JohannesMP on Github. | |
| * _You_ are the user of this software. You might be a _we_, and that's OK! | |
| * | |
| * This is free, open source software. I will never charge you to use, | |
| * license, or obtain this software. Doing so would make me a jerk. | |
| * |
| using UnityEngine; | |
| using UnityEngine.UI; | |
| public class HexGridLayout : LayoutGroup { | |
| const float SQUARE_ROOT_OF_3 = 1.73205f; | |
| public enum Axis { Horizontal = 0, Vertical = 1 } | |
| public enum Constraint { Flexible = 0, FixedColumnCount = 1, FixedRowCount = 2 } |
| using UnityEngine; | |
| using UnityEngine.UI; | |
| /* | |
| Radial Layout Group by Just a Pixel (Danny Goodayle) - http://www.justapixel.co.uk | |
| Copyright (c) 2015 | |
| 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 |
Thank you everybody, Your comments makes it better
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"| using UnityEditor; | |
| using System.Reflection; | |
| using System; | |
| public static class ConsoleUtilitiesEditor | |
| { | |
| [MenuItem("Tools/Clear Console %#c")] // Cmd/Ctrl + Shift + C | |
| private static void ClearConsoleMenuItem() | |
| { | |
| ClearConsole(); |
| using System.Collections.Generic; | |
| using System.Diagnostics; | |
| using System.IO; | |
| using UnityEditor; | |
| using UnityEngine; | |
| using Debug = UnityEngine.Debug; | |
| using Object = UnityEngine.Object; | |
| namespace FoundationEditor.Editor.ReferenceFinder | |
| { |
| using UnityEngine; | |
| using UnityEditor; | |
| [InitializeOnLoad] | |
| internal class PrefabExtension | |
| { | |
| static PrefabExtension() | |
| { | |
| UnityEditor.PrefabUtility.prefabInstanceUpdated += OnPrefabInstanceUpdate; | |
| } |
| public static class DebugUtil | |
| { | |
| public static void DumpRenderTexture(RenderTexture rt, string pngOutPath) | |
| { | |
| var oldRT = RenderTexture.active; | |
| var tex = new Texture2D(rt.width, rt.height); | |
| RenderTexture.active = rt; | |
| tex.ReadPixels(new Rect(0, 0, rt.width, rt.height), 0, 0); |