Skip to content

Instantly share code, notes, and snippets.

View mdang's full-sized avatar

Mike Dang mdang

View GitHub Profile
@mdang
mdang / RAILS_CHEATSHEET.md
Last active May 13, 2024 14:04
Ruby on Rails Cheatsheet

Ruby on Rails Cheatsheet

Architecture

Create a new application

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

@mdang
mdang / PYTHON_FUNDAMENTALS.md
Last active May 7, 2024 15:24
Python Fundamentals

Python Fundamentals

Variables

  • Variable names can only contain these characters:
    • Lowercase letters (a through z)
    • Uppercase letters (A through Z)
    • Digits (0 through 9)
    • Underscore (_)
  • Names cannot begin with a digit.
@mdang
mdang / NOTES_SASS.md
Last active February 28, 2024 18:40
Notes: Sass, SCSS, Less

Sass, SCSS and Less

Learning Objectives

  • Explain the difference between Sass and SCSS
  • List the reasons why we would want to use Sass
  • Install Sass
  • List the ways you can compile a Sass template
  • Describe what Compass is and why it's useful
  • Describe the difference between Sass and Less
@mdang
mdang / GITPRACTICE.md
Last active February 1, 2024 05:49
Team Git Practice

Team Git Practice

25 min

Let's simulate using Git in a team environment to help us better prepare for development in a professional setting.

Preparation

Split up into teams of 3-4. If You're in a group of 3, then the Release Manager will also play the role of Developer 3.

@mdang
mdang / WORLD_MYSQL.md
Created January 25, 2017 16:04
Exercise: World Lab (MySQL)

World Lab (MySQL)

This lab requires the sample world database found here: https://dev.mysql.com/doc/index-other.html

Let's learn a few things about this crazy world!

Here's a model of what you now have loaded in the world database. The first row is the table name, the second is the primary key and finally the remaining are any additional attributes.

Exercises

@mdang
mdang / FREELANCING.md
Last active November 24, 2023 12:27
Lesson: Freelancing

Freelance Development

Learning Objectives

  • Explain what freelance development is and why companies contract developers
  • List what paperwork is generally involved on both sides
  • Explain what a Statement of Work (SOW) is
  • Explain what scope creep is, and how to avoid it
  • Describe the accounting required for freelance developers
  • Explain how to price your services
@mdang
mdang / SDLC.md
Last active November 11, 2023 00:10
Lesson: SDLC

The Software Development Life Cycle

Learning Objectives

Conceptual

  • Explain what SDLC is and why we use it
  • Provide a general overview of what "Agile" means and compare it to Waterfall
  • Explain what SCRUM is, and how it relates to agile.
  • Describe the process of requirements gathering.
  • Explain what a user story is, and what specific points it should include.
@mdang
mdang / PHP_PDO.md
Last active October 31, 2023 07:36
Lesson: PHP - PDO

PHP - PDO

Learning Objectives

  • Explain what PDO is and it's role in accessing data
  • Explain how to set up environment variables using PHP dotenv
  • Explain how to establish and destroy database connections
  • Describe what prepared statements are
  • Explain how to bind parameters to safely form SQL queries
  • Explain how to get the new ID generated from an insert statement
@mdang
mdang / OOP_PYTHON.md
Last active September 22, 2023 07:16
Lesson: OOP Python

OOP Python

Learning Objectives

  • Create a function that takes arguments
  • Create instances of an object from a custom class
  • Create a module and import functions into a file
  • Explain why design patterns exist and why they're useful

User Defined Functions

@mdang
mdang / GIT_HUB_FUNDAMENTALS.md
Last active July 6, 2023 01:23
Git(Hub) Fundamentals

Git(Hub) Fundamentals

Learning Objectives

  • Describe reasons for using version control
  • Explain what Git is and why we use it
  • Start a repo by initializing locally
  • Add and commit changes
  • Check the status of a repo
  • Explain what role GitHub plays