Skip to content

Instantly share code, notes, and snippets.

View kevinbowen777's full-sized avatar
🏠
Working from home

Kevin Bowen kevinbowen777

🏠
Working from home
View GitHub Profile
@kevinbowen777
kevinbowen777 / git-pushing-multiple.rst
Created August 20, 2019 18:49 — forked from rvl/git-pushing-multiple.rst
How to push to multiple git remotes at once. Useful if you keep mirrors of your repo.

Pushing to Multiple Git Repos

If a project has to have multiple git repos (e.g. Bitbucket and Github) then it's better that they remain in sync.

Usually this would involve pushing each branch to each repo in turn, but actually Git allows pushing to multiple repos in one go.

If in doubt about what git is doing when you run these commands, just

@kevinbowen777
kevinbowen777 / furacode.sh
Created September 25, 2022 16:38 — forked from m-rey/furacode.sh
Install Fura Code (Fira Code Nerd Font). Adapted from https://github.com/tonsky/FiraCode/wiki/Linux-instructions#manual-installation
#!/bin/bash
fonts_dir="${HOME}/.local/share/fonts"
if [ ! -d "${fonts_dir}" ]; then
echo "mkdir -p $fonts_dir"
mkdir -p "${fonts_dir}"
else
echo "Found fonts dir $fonts_dir"
fi
@kevinbowen777
kevinbowen777 / README.rst
Created January 19, 2023 02:14 — forked from dupuy/README.rst
Common markup for Markdown and reStructuredText

Markdown and reStructuredText

GitHub supports several lightweight markup languages for documentation; the most popular ones (generally, not just at GitHub) are Markdown and reStructuredText. Markdown is sometimes considered easier to use, and is often preferred when the purpose is simply to generate HTML. On the other hand, reStructuredText is more extensible and powerful, with native support (not just embedded HTML) for tables, as well as things like automatic generation of tables of contents.