curl -fsSL https://raw.githubusercontent.com/felipecassiors/ubuntu1804-4dev/master/src/provisioners/virtualbox-guest-additions.sh | bash

This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local json = require("json") | |
-- request body is in r.RequestBody, use it as any other string: | |
local body, err = json.decode(r.RequestBody) | |
if err then error(err) end | |
local new_body = { | |
event_type = "gerrit-" .. body["type"], | |
client_payload = body |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
. { iwr -useb git.io/Jv6q0 } | iex |
Edit ~/.bash_profile and add this:
# Workaround for Docker for Windows in Git Bash.
docker()
{
(export MSYS_NO_PATHCONV=1; "docker.exe" "$@")
}
Editor: (do not forget to tick "Add to PATH" option on VS Code installation
git config --global core.editor "code --wait"
Diff:
git config --global -e