Skip to content

Instantly share code, notes, and snippets.

Grzegorz Rajchman mrliptontea

  • Birmingham, UK
Block or report user

Report or block mrliptontea

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@mrliptontea
mrliptontea / Good commit messages.md
Created Mar 5, 2019
Writing good commit messages
View Good commit messages.md

Good commit messages serve at least three important purposes:

  • To speed up the reviewing process.
  • To find out what changed in a range of commits (e.g. for a release note).
  • To help the future maintainers, say five years into the future, to find out why a particular change was made to the code or why a specific feature was added.

Structure your commit message like this:

@mrliptontea
mrliptontea / build-check.js
Last active Mar 5, 2019
Git post-checkout hook that notifies when dev should run commands
View build-check.js
/**
* ------------------------------------------------------------------
* Get notified when you should run some commands when switching
* between branches.
*
* Usage:
* Adjust `checkChange` function calls by putting a command as
* the second argument, and then a list of file/folder paths
* that you want to monitor for changes as following arguments.
*
@mrliptontea
mrliptontea / git-standup
Last active Feb 6, 2018
Git Daily Scrum helper
View git-standup
#!/bin/bash
# ------------------------------------------------------------------
# Git Daily Scrum (stand-up meeting) helper.
#
# The script helps you remember what you did last time and facilitates
# writing daily log for remote teams. Be aware that it assumes that
# meetings are conducted at the same time every day.
#
# Installation:
# 1. Place the script in some folder, e.g. your home:
@mrliptontea
mrliptontea / sublime-text-3-windows-shortcuts.md
Last active Aug 24, 2019 — forked from TheShrike/gist:6111200
Sublime Text 3 - Useful Shortcuts (Windows)
View sublime-text-3-windows-shortcuts.md

Sublime Text 3 - Useful Shortcuts (Windows)

General

Shortcut Description
Ctrl+Shift+P command prompt
Ctrl+Alt+P switch project
Ctrl+P go to file
Ctrl+G go to line
You can’t perform that action at this time.