Skip to content

Instantly share code, notes, and snippets.

View NATASHA-ct's full-sized avatar
🎯
Focusing

Natasha Tatenda Chirombe NATASHA-ct

🎯
Focusing
View GitHub Profile
@NATASHA-ct
NATASHA-ct / RAILS_Commands.md
Last active October 30, 2022 12:59 — forked from mdang/RAILS_CHEATSHEET.md
Ruby on Rails Cheatsheet

Ruby on Rails Cheatsheet

Architecture

Create a new application

Install the Rails gem if you haven't done so before

@NATASHA-ct
NATASHA-ct / ArrayOfAnimals
Created July 20, 2022 15:28
DRY code, to keep it clean, beautiful, understandable and maintainable.
const pets = ['Cat', 'Dog', 'Bird', 'Fish', 'Frog', 'Hamster', 'Pig', 'Horse', 'Lion', 'Dragon'];
// Print all pets
console.log(pets[0]);
console.log(pets[1]);
console.log(pets[2]);
console.log(pets[3]);
...
.cat {
font-family: "Times New Roman", Times, serif;