Skip to content

Instantly share code, notes, and snippets.

View slvdrvlc's full-sized avatar

Salvador Vilca slvdrvlc

View GitHub Profile
slvdrvlc /
Last active February 28, 2024 15:58
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

"": {
  "Bash": {
    "path": "C:\laragon\bin\git\bin\bash.exe",
  "MSYS2": {
    "path": "C:\msys64\usr\bin\bash.exe",
    "label": "MSYS2",
 "args": ["--login", "-i"],
slvdrvlc /
Created August 28, 2021 00:16 — forked from patriciogonzalezvivo/
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 /
Created July 11, 2021 16:19 — forked from Klerith/
Instalaciones recomendadas para mi curso de React de cero a experto
slvdrvlc /
Created June 26, 2021 21:55 — forked from dhkatz/
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 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 / .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