Skip to content

Instantly share code, notes, and snippets.

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

Diana Espinoza Diana20920

:octocat:
Focusing
View GitHub Profile
@Diana20920
Diana20920 / README.md
Created May 11, 2021 23:05 — forked from iandouglas/README.md
Intro to Co-Authored Git Commits

Intro to Co-Authored Git Commits

Why

In student projects, I commonly look at contribution graphs to see how much code they worked on, to get an idea if one student is doing more work than others on the project. This can be used for coaching and performance grading.

How

Start with your ~/.gitconfig file in your home folder. Add these lines:

@Diana20920
Diana20920 / heroku-remote.md
Created March 23, 2021 02:49 — forked from randallreedjr/heroku-remote.md
Add a Heroku remote to an existing git repo

Working with git remotes on Heroku

Generally, you will add a git remote for your Heroku app during the Heroku app creation process, i.e. heroku create. However, if you are working on an existing app and want to add git remotes to enable manual deploys, the following commands may be useful.

Adding a new remote

Add a remote for your Staging app and deploy

Note that on Heroku, you must always use master as the destination branch on the remote. If you want to deploy a different branch, you can use the syntax local_branch:destination_branch seen below (in this example, we push the local staging branch to the master branch on heroku.

$ git remote add staging https://git.heroku.com/staging-app.git
# Terminal Cheat Sheet
pwd # print working directory
ls # list files in directory
cd # change directory
~ # home directory
.. # up one directory
- # previous working directory
help # get help
-h # get help
@Diana20920
Diana20920 / intermediate_sql.md
Created March 18, 2021 20:19 — forked from case-eee/intermediate_sql.md
Intermediate SQL

Intermediate SQL Workshop

  • Run psql
  • You may need to run CREATE DATABASE intermediate_sql;
  • To exit this shell, you can run CTRL d

Create tables

Let's create some tables in the database.

@Diana20920
Diana20920 / feedback_from_me.md
Last active December 16, 2020 18:04 — forked from megstang/feedback_from_me.md
Project Feedback (Mod 1 && Mod 2)

Project Feedback TEMPLATE

Directions

  1. For every partner you have, make a copy of this gist
  2. Fill out the copied gists with feedback for each group project partner (one gist per partner)
  3. Send us your feedback for each partner using the form posted in slack/assignment tracker (one submission per partner)
  4. Individually slack your partners the link of the gist you filled out for them
  5. Spend some time reviewing your partner’s feedback that they sent you
  6. Get on a video call with your partner(s) for the in person partner retro to discuss feedback.