brew install git bash-completion
Configure things:
git config --global user.name "Your Name"
git config --global user.email "[email protected]"
| <# | |
| .SYNOPSIS | |
| Converts files to the given encoding. | |
| Matches the include pattern recursively under the given path. | |
| .EXAMPLE | |
| Convert-FileEncoding -Include *.js -Path scripts -Encoding UTF8 | |
| #> | |
| function Convert-FileEncoding([string]$Include, [string]$Path, [string]$Encoding='UTF8') { | |
| $count = 0 |
brew install git bash-completion
Configure things:
git config --global user.name "Your Name"
git config --global user.email "[email protected]"
Please consider using http://lygia.xyz instead of copy/pasting this functions. It expand suport for voronoi, voronoise, fbm, noise, worley, noise, derivatives and much more, through simple file dependencies. Take a look to https://github.com/patriciogonzalezvivo/lygia/tree/main/generative
float rand(float n){return fract(sin(n) * 43758.5453123);}
float noise(float p){
float fl = floor(p);
float fc = fract(p);
| // The MIT License (MIT) - https://gist.github.com/bcatcho/1926794b7fd6491159e7 | |
| // Copyright (c) 2015 Brandon Catcho | |
| using System; | |
| // Place this file in any folder that is or is a descendant of a folder named "Scripts" | |
| namespace CatchCo | |
| { | |
| // Restrict to methods only | |
| [AttributeUsage(AttributeTargets.Method)] | |
| public class ExposeMethodInEditorAttribute : Attribute |
| /* | |
| * Copyright 2017 Ben D'Angelo | |
| * | |
| * MIT License | |
| * | |
| * 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: |
| #ifndef NOISE_SIMPLEX_FUNC | |
| #define NOISE_SIMPLEX_FUNC | |
| /* | |
| Description: | |
| Array- and textureless CgFx/HLSL 2D, 3D and 4D simplex noise functions. | |
| a.k.a. simplified and optimized Perlin noise. | |
| The functions have very good performance | |
| and no dependencies on external data. |
| using System; | |
| using System.IO; | |
| using System.Linq; | |
| using System.Linq.Extensions; | |
| using UnityEditor; | |
| using UnityEngine; | |
| namespace PachowStudios.BadTummyBunny.Editor | |
| { | |
| [CustomPropertyDrawer(typeof(ScriptableObject), true)] |
| ScriptableObject Icon | |
| _Popup | |
| _Help | |
| Clipboard | |
| SocialNetworks.UDNOpen | |
| SocialNetworks.Tweet | |
| SocialNetworks.FacebookShare | |
| SocialNetworks.LinkedInShare | |
| SocialNetworks.UDNLogo | |
| animationvisibilitytoggleoff |