Skip to content

Instantly share code, notes, and snippets.

View ktortolini's full-sized avatar
🦕
Studying Deno

Kevin Tortolini ktortolini

🦕
Studying Deno
View GitHub Profile
@ktortolini
ktortolini / gist-modeling-primitive-shapes.md
Last active January 18, 2024 03:01
🧊 Primitive Shapes for 3DS Max

Primitive Shapes for 3DS Max

This gist has an educational YouTube video demonstrating how to create primitive shapes inside 3DS Max 2024 software. Since it is an instructional video it contains an introduction to the modeling software, as well as tips and tricks for achieving a quicker workflow when modeling.

Table of Contents

YouTube Video

@ktortolini
ktortolini / gist-coding-trainer-snippet.md
Last active October 2, 2023 03:51
🔎 RegExp from Coding Trainer

Coding Trainer Regex

This gist has an educational excerpt of code I made while completing the Coding Trainer educational tool. Since there were multiple JavaScript files that needed to access the same value, the solution was devised with a regular expression. While using JavaScript, in order to read the values in a string for the characters per minute (cpm/CPM), a regular expression was used to search for patterns in the given string and return the CPM.

Summary

Within the Coding Trainer educational tool, users may type lines of code to determine and improve their typing speed. The typing speed is calculated as a CPM value and the result is then added on the screen by using textContent() on an element with an id of #score. Additional metrics like the total correct characters and total incorrect characters are also shown on the screen. After the CPM is shown (and retrie