float rand(float n){return fract(sin(n) * 43758.5453123);}
float noise(float p){
float fl = floor(p);
float fc = fract(p);
return mix(rand(fl), rand(fl + 1.0), fc);
}
FOR VSCODE IN FILE settings.json
"terminal.integrated.profiles.windows": {
"Bash": {
"path": "C:\laragon\bin\git\bin\bash.exe",
},
"MSYS2": {
"path": "C:\msys64\usr\bin\bash.exe",
"label": "MSYS2",
"args": ["--login", "-i"],
Using MSYS2 with Visual Studio Code is extremely easy now thanks to the Shell Launcher extension by Tyriar.
First, install the extension and reload Visual Studio Code.
Then, open the settings.json
to edit your settings.
Add the field shellLauncher.shells.windows
. I recommend using autocompletion here so that all the default shells are added.
You should having something like this now:
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
# ------------------------------------------------- | |
# Protect your .git directory! | |
# (You don't want anyone to download a copy of your website) | |
# ------------------------------------------------- | |
# Add to .htaccess | |
# For Apache 2.4 | |
<DirectoryMatch "^/.*/\.git/"> |
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
# Encrypt the repository | |
# Remove/modify this line if the repository is meant to be open-source | |
*.* filter=git-crypt diff=git-crypt | |
.gitattributes !filter !diff | |
# These files are text and should be normalized (Convert crlf => lf) | |
*.php text | |
*.css text | |
*.js text | |
*.htm text |