Skip to content

Instantly share code, notes, and snippets.

View BotMasterza's full-sized avatar
😀
happy!

BOTMASTER LABS BotMasterza

😀
happy!
View GitHub Profile
{"entities": [
{ "id":"backdrop", "environment":"preset:forest" },
{ "id":"tree", "scale":"5 5 5", "position":"15 10 -15", "obj-model":"obj: #tree-obj; mtl: #tree-mtl" },
{ "id":"floor", "geometry": { "primitive": "box", "height": 0.1, "width": 12, "depth":18 }, "material": { "color": "#CBF" } },
{ "id":"wall1", "position": "-6 6 0", "geometry": { "primitive": "box", "height": 12, "width": 0.1, "depth":18 }, "material": { "color": "#CBF" } },
{ "id":"chimney", "position": "5 6 5", "geometry": { "primitive": "box", "height": 12, "width": 2, "depth":8 }, "material": { "color": "#CBF" } },
{ "id":"basement", "position": "-4.5 6 7.5", "geometry": { "primitive": "box", "height": 12, "width": 3, "depth":3 }, "material": { "color": "#CBF" } },
{ "id":"wall2", "position": "6 6 0", "geometry": { "primitive": "box", "height": 12, "width": 0.1, "depth":18 }, "material": { "color": "#CBF" } },
{ "id":"wall1", "position": "-6 6 0", "geometry": { "primitive": "box", "height": 12, "width": 0.1, "depth":18 }, "material": { "
/*
* edgeDetection
* Author: Latrokles - latrokles_at_gmail_dot_com
* DISCLAIMER: The Edge Detection algorithm used in this sketch comes from "An
* Introduction to Image Processing" by Frederic Patin, which is available at:
* http://www.gamedev.net/reference/articles/article2007.asp
*
* This sketch demonstrates a very simple algorithm for edge detection.
* The algorithm iterates through the each pixel in the frame, compares it with
* it's right and bottom neighbor, if the distance between the colors is greater
@BotMasterza
BotMasterza / node_nginx_ssl.md
Created September 19, 2021 17:33 — forked from bradtraversy/node_nginx_ssl.md
Node app deploy with nginx & SSL

Node.js Deployment

Steps to deploy a Node.js app to DigitalOcean using PM2, NGINX as a reverse proxy and an SSL from LetsEncrypt

1. Sign up for Digital Ocean

If you use the referal link below, you get $10 free (1 or 2 months) https://m.do.co/c/5424d440c63a

2. Create a droplet and log in via ssh

I will be using the root user, but would suggest creating a new user