Skip to content

Instantly share code, notes, and snippets.

View Cool-Runningz's full-sized avatar

Alyssa Holland Cool-Runningz

View GitHub Profile
@yannbf
yannbf / Instructions.md
Last active July 6, 2023 14:32
How to use a Storybook template on codesandbox

Howdy!

Storybook is a tool with countless shapes and configurations, and given that we give support to hundreds of people, it's very important to provide a minimal repo that can reproduce your issue/situation. Thanks for your effort! This will help us assist you better and faster.

And now, let's get to it!

Fork a Storybook sandbox

We will be using codesandbox in these instructions, and you will need an account.

// time and time end
console.time("This");
let total = 0;
for (let j = 0; j < 10000; j++) {
total += j
}
console.log("Result", total);
console.timeEnd("This");
// Memory
@bradtraversy
bradtraversy / vscode_shortcuts.md
Last active April 27, 2024 00:27
Helpful shortcuts for VSCode

VSCode Shortcuts

List of helpful shortcuts for faster coding

If you have any other helpful shortcuts, feel free to add in the comments of this gist :)

Official List of all commands

@bradtraversy
bradtraversy / myscript.sh
Last active April 28, 2024 01:38
Basic Shell Scripting
#! /bin/bash
# ECHO COMMAND
# echo Hello World!
# VARIABLES
# Uppercase by convention
# Letters, numbers, underscores
NAME="Bob"
# echo "My name is $NAME"