Skip to content

Instantly share code, notes, and snippets.

View bright-spark's full-sized avatar
♥️
Tinkering with stuff!

Myburgh bright-spark

♥️
Tinkering with stuff!
View GitHub Profile
@bright-spark
bright-spark / VSCode_Marketplace_Tutorial.md
Created June 14, 2025 16:00 — forked from anxkhn/VSCode_Marketplace_Tutorial.md
Enable Marketplace on non MS VSCode Forks.

Enabling VS Code Marketplace in VSCodium and Trae

Microsoft claims Visual Studio Code (VS Code) is open source, yet it restricts the use of its Marketplace extensions in non-Microsoft products like VSCodium (telemetry/tracking free open source fork), Cursor, Windsurf, Trae, and other VS Code-based IDEs, enforcing what some see as monopolistic control. This guide provides a workaround to enable the VS Code Marketplace in VSCodium and Trae (more to be added soon), allowing you to freely use extensions. Note that using the VS Code Marketplace with non-Microsoft products may violate its terms of use, which state that extensions are intended for use only with Microsoft Visual Studio products. Proceed at your discretion after reviewing the terms.


Enabling VS Code Marketplace in VSCodium

To configure VSCodium to use the VS Code Marketplace instead of the default OpenVSX Registry, you can either set environment variables or create a custom product.json file.

@bright-spark
bright-spark / index.html
Created December 31, 2024 18:31
moon toggle 🌛
<main>
<!-- <img src="./dark.png" alt="" /> -->
<button aria-pressed="false" class="toggle">
<div class="socket">
<div class="socket-shadow"></div>
</div>
<div class="face">
<div class="face-shadow"></div>
<div class="face-glowdrop"></div>
<div class="face-plate"></div>
@bright-spark
bright-spark / readme.md
Created December 21, 2024 01:13 — forked from jimmywarting/readme.md
Cors proxies
Exposed headers
Service SSL status Response Type Allowed methods Allowed headers
@bright-spark
bright-spark / kasm_cert.sh
Created September 15, 2024 00:51 — forked from m-triassi/kasm_cert.sh
Generate an SSL certificate for a KASM instance. Requires Certbot & Docker to be installed.
#!/usr/bin/env bash
# Leverages Docker containers to create a temporary signing server
# Obtain a SSL cert and then apply it to the service in question we're interested in
# Usage: ./kasm_cert.sh mydomain.test
mkdir -p /tmp/webroot
# Start an ephemeral nginx container
@bright-spark
bright-spark / Install KASM Workspace.sh
Created September 11, 2024 01:38 — forked from Udara-Dananjaya/Install KASM Workspace.sh
Build Kasm Workspace on Ubuntu: Setup swap, firewall, hostname & Kasm installation with SSL. Simplify secure virtual workspaces!
# Gain superuser privileges
sudo -i
# Create swap area for managing memory
sudo dd if=/dev/zero bs=1M count=5024 of=/mnt/swapfile.swap
sudo chmod 600 /mnt/swapfile.swap
sudo mkswap /mnt/swapfile.swap
sudo swapon /mnt/swapfile.swap
echo '/mnt/swapfile.swap swap swap defaults 0 0' | sudo tee -a /etc/fstab
@bright-spark
bright-spark / animated-tabbed-gooey-app.markdown
Created November 6, 2023 19:39
Animated Tabbed Gooey App
@bright-spark
bright-spark / carbon.txt
Created August 28, 2023 04:54
what to carbonize
https://appsco.pe
@bright-spark
bright-spark / squid.conf
Last active August 27, 2023 22:28 — forked from kipyegonmark/squid.conf
Sample configuration for squid proxy server. Source here -> https://calomel.org/squid.html
#
### Calomel.org Squid squid.conf
#
########### squid.conf ###########
#
## interface, port and proxy type
#http_port 10.10.10.1:8080 transparent
http_port 10.10.10.1:8080
## general options

Push Only dist/ Folder To Live Server

I have googled many things and explored many questions on Stack Overflow to find the best way to push only dist/ directory to live server. I couldn't find any good solution but one person on Stackoverflow suggested to look at Git Submodules and this is the best solution I could come up with. I have never heard of submodules before because almost nobody uses them. If you never heard of it too then I'll first explain what a submodule is and then I'll show you how you can use submodules to push only dist/ directory to a live server.