Skip to content

Instantly share code, notes, and snippets.

@zachawilson
zachawilson / markdown-details-collapsible.md
Created June 8, 2021 22:11 — forked from pierrejoubert73/markdown-details-collapsible.md
How to add a collapsible section in markdown.

A collapsible section containing markdown

Click to expand!

Heading

  1. A numbered
  2. list
    • With some
    • Sub bullets
@zachawilson
zachawilson / make_upstream_dev_repo.sh
Last active April 24, 2020 19:32
Makes it possible to share a repo without sharing the history. This will create a branch in the original repo and push to a remote without the history. Inspiration came from: https://stackoverflow.com/questions/19641108/split-git-repo-in-a-squashed-public-and-initial-private
#!/bin/bash
echo MUST be on branch dev-bridge
read -p "Do you want to make branch dev-bridge? Y or N: " -n 1 -r
echo # (optional) move to a new line
if [[ $REPLY =~ ^[Yy]$ ]]
then
git checkout -b dev-bridge
fi
#!/usr/bin/bash
################################################################################
# script template #
# #
# Use this template as the beginning of a new program. Place a short #
# description of the script here. #
# #
# Change History #
# 11/11/2019 David Both Original code. This is a template for creating #
# new Bash shell scripts. #