Skip to content

Instantly share code, notes, and snippets.

View elidvenega's full-sized avatar
:octocat:
Focusing

Elid elidvenega

:octocat:
Focusing
View GitHub Profile
@bradtraversy
bradtraversy / typescript-crash.ts
Last active May 14, 2025 14:58
Basic intro to TypeScript (From YouTube Crash Course)
// Basic Types
let id: number = 5
let company: string = 'Traversy Media'
let isPublished: boolean = true
let x: any = 'Hello'
let ids: number[] = [1, 2, 3, 4, 5]
let arr: any[] = [1, true, 'Hello']
// Tuple
@vratiu
vratiu / .bash_aliases
Last active May 18, 2025 22:21
Git shell coloring
# Customize BASH PS1 prompt to show current GIT repository and branch.
# by Mike Stewart - http://MediaDoneRight.com
# SETUP CONSTANTS
# Bunch-o-predefined colors. Makes reading code easier than escape sequences.
# I don't remember where I found this. o_O
# Reset
Color_Off="\[\033[0m\]" # Text Reset