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 May 5, 2024 14:52
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 15, 2024 16:27
Basic Shell Scripting
#! /bin/bash
# ECHO COMMAND
# echo Hello World!
# VARIABLES
# Uppercase by convention
# Letters, numbers, underscores
NAME="Bob"
# echo "My name is $NAME"