Skip to content

Instantly share code, notes, and snippets.

hub

hub is a package that adds additional functionalities to git workflow that purtain to GitHub specifically.

adding to Ubuntu

You can add hub to an Ubuntu system (16.04 or later) using a snap:

sudo snap install --classic hub
public class Movie implements Comparable<Movie> {
private String title;
private int year;
private ArrayList<Location> locations;
private String director;
private String writer;
private ArrayList<Actor> actors;
public Movie(String title, int year) {
@joannakl
joannakl / HFOSS_projects.md
Last active November 11, 2023 15:49
humanitarian open source projects
@joannakl
joannakl / accessibility.md
Created June 30, 2018 19:13
collection of resources about making web-pages accessible
  • The text files for different creative commons licenses are located at the repository: https://github.com/creativecommons/legalcode. Download the file that you are planning to use.

  • Go to your repository, and click Create New File button. Type the name of the file as LICENSE.txt. (Note that you will be given an option of using a license template. This template does not provide an option of adding a creative commons license.)

  • Paste the content of your chosen license into the body of the file. Add a commit message and commit.

  • Once you refresh the repository view, GitHub will correctly recognize the license.

@joannakl
joannakl / git-101-exercises.md
Created February 11, 2018 04:08 — forked from peterhurford/git-101-exercises.md
Git 101, with Exercises

Git 101, with Exercises

Git is the key tool we use to allow multiple people to work on the same code base. Git takes care of merging everyone's contributions smoothly. Hence, learning how to use Git is critical to contributing to open source.

Exercises

Exercise 1: Go through the Try Git Guide

Exercise 2: Learn How to file a github issue.

@joannakl
joannakl / repo-reset.md
Created February 11, 2018 04:02 — forked from heiswayi/repo-reset.md
GitHub - Delete commits history with git commands

First Method

Deleting the .git folder may cause problems in our git repository. If we want to delete all of our commits history, but keep the code in its current state, try this:

# Check out to a temporary branch:
git checkout --orphan TEMP_BRANCH

# Add all the files:
git add -A