Skip to content

Instantly share code, notes, and snippets.

Avatar

Danilo Barros danilobjr

View GitHub Profile
@danilobjr
danilobjr / gist:0c36f15f879df0f43b1c874143530db0
Last active Feb 8, 2019
Git Commit Message Conventions
View gist:0c36f15f879df0f43b1c874143530db0

Git Commit Message Conventions

The reasons for these conventions:

  • automatic generating of the changelog
  • simple navigation through git history (e.g. ignoring style changes)

Format of the commit message:

<type>(<scope>): <subject>
View gist:23974e9641cfc03ebd7a23e4e5ca2830
You only need to install xorg and lightdm if you have installed Ubuntu Minimal.
If you installed a regullar Ubuntu desktop, just skip to the i3-gaps section.
xorg
====
# Xorg provides a base for a graphical environment
sudo apt install xorg
lightdm
@danilobjr
danilobjr / zsh.md
Created Jul 24, 2018 — forked from tsabat/zsh.md
Getting oh-my-zsh to work in Ubuntu
View zsh.md

Prereq:

apt-get install zsh
apt-get install git-core

Getting zsh to work in ubuntu is weird, since sh does not understand the source command. So, you do this to install zsh

wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | zsh
@danilobjr
danilobjr / gstep.ps1
Created Mar 22, 2017
git + presenter + powershell
View gstep.ps1
param(
[switch]$autoclear
)
$options = @{}
$options.Add('next', "Next step")
$options.Add('prev', "Previous step")
$options.Add('reset', "Reset the current changes")
$options.Add('rebase', "Rebase all steps that follow the current")
You can’t perform that action at this time.