Skip to content

Instantly share code, notes, and snippets.

View donaldG21's full-sized avatar

Donald G donaldG21

View GitHub Profile
@donaldG21
donaldG21 / settings.json
Created March 28, 2023 18:08
My VSCode workspace settings
{
"editor.fontFamily": "Fira Code Retina",
"editor.fontLigatures": true,
"editor.fontSize": 13,
"editor.inlineSuggest.enabled": true,
"editor.tabSize": 2,
"editor.tokenColorCustomizations": {
"comments": "#c1fdd031",
"textMateRules": [
{
@donaldG21
donaldG21 / .zshrc
Last active March 28, 2023 18:05
My powerlevel10k zsh profile
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
# Initialization code that may require console input (password prompts, [y/n]
# confirmations, etc.) must go above this block; everything else may go below.
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
fi
# Path to your oh-my-zsh installation.
export ZSH="$HOME/.oh-my-zsh"
ZSH_THEME="powerlevel10k/powerlevel10k"
class Elevator {
constructor() {
this.currentFloor = 1;
this.direction = 'none';
this.needsService = false;
this.tripCount = 0;
this.trip = null;
this.occupied = false;
this.destination = null;
this.queue = [];