Skip to content

Instantly share code, notes, and snippets.

View slvdrvlc's full-sized avatar
🎯
Focusing

Salvador Vilca slvdrvlc

🎯
Focusing
View GitHub Profile
@slvdrvlc
slvdrvlc / windows-msys2-vscode-jetbrains-PATH.md
Last active September 18, 2024 19:49
integrate msys2 to VSCode and JetBrains on windows inheriting the path variable from the user. optionally you can install fish with msys2, intuitive terminal, I recommend it

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"],
@slvdrvlc
slvdrvlc / GLSL-Noise.md
Created August 28, 2021 00:16 — forked from patriciogonzalezvivo/GLSL-Noise.md
GLSL Noise Algorithms

Generic 1,2,3 Noise

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);
}
@slvdrvlc
slvdrvlc / Instalaciones-React.md
Created July 11, 2021 16:19 — forked from Klerith/Instalaciones-React.md
Instalaciones recomendadas para mi curso de React de cero a experto
@slvdrvlc
slvdrvlc / msys2-visual-studio-code.md
Created June 26, 2021 21:55 — forked from dhkatz/msys2-visual-studio-code.md
Using MSYS2 with Visual Studio Code

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:

# -------------------------------------------------
# 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/">
@slvdrvlc
slvdrvlc / .gitattributes
Created March 10, 2021 03:14 — forked from vhbsouza/.gitattributes
Sample Git Attributes File
# 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