Skip to content

Instantly share code, notes, and snippets.

View jacinyan's full-sized avatar
👋
Greeting

Jacin Yan jacinyan

👋
Greeting
View GitHub Profile
@iangreenleaf
iangreenleaf / gist:b206d09c587e8fc6399e
Last active June 1, 2024 14:36
Rails naming conventions

Rails naming conventions

General Ruby conventions

Class names are CamelCase.

Methods and variables are snake_case.

Methods with a ? suffix will return a boolean.

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