Skip to content

Instantly share code, notes, and snippets.

@facelordgists
facelordgists / delete-git-recursively.sh
Created May 13, 2015 05:28
Recursively remove .git folders
( find . -type d -name ".git" && find . -name ".gitignore" && find . -name ".gitmodules" ) | xargs rm -rf
@joshlawton
joshlawton / Setup Visual Studio Code Live Server to Use HTTPS.md
Last active November 5, 2024 08:15
Visual Studio Code Live Server HTTPS Secure Server

Setup Visual Studio Code Live Server to Use HTTPS

How to setup Live Server extension for Visual Studio Code to use HTTPS with your own SSL certificate without Chrome complaining about an untrusted certificate or insecure origin.

✅ Chrome 115.0.5790.75

✅ macOS Monterey 12.6.7

Warning

Make sure Chrome is not already running.

@birkskyum
birkskyum / add-3d-model-with-shadow.html
Last active October 23, 2024 15:43
MapLibre GL JS - Modified Three.js model example (add-3d-model) with Shadow
<!DOCTYPE html>
<html lang="en">
<head>
<title>Add a 3D model with three.js</title>
<meta property="og:description" content="Use a custom style layer with three.js to add a 3D model to the map." />
<meta charset='utf-8'>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel='stylesheet' href='../../dist/maplibre-gl.css' />
<script src='../../dist/maplibre-gl-dev.js'></script>