Before submitting your first release, identify your Github repo id
on Github API at:
https://api.github.com/repos/{user}/{repo}
---Utility for keymap creation. | |
---@param lhs string | |
---@param rhs string|function | |
---@param opts string|table | |
---@param mode? string|string[] | |
local function keymap(lhs, rhs, opts, mode) | |
opts = type(opts) == 'string' and { desc = opts } | |
or vim.tbl_extend('error', opts --[[@as table]], { buffer = bufnr }) | |
mode = mode or 'n' | |
vim.keymap.set(mode, lhs, rhs, opts) |
Exhaustive list of SPDX (Software Package Data Exchange) licenses: https://spdx.org/licenses/
Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
Commit type | Emoji |
---|---|
Initial commit | 🎉 :tada: |
Version tag | 🔖 :bookmark: |
New feature | ✨ :sparkles: |
Bugfix | 🐛 :bug: |
# Set a Bash prompt that includes the exit code of the last executed command. | |
# | |
# Setup: paste the content of this file to ~/.bashrc, or source this file from | |
# ~/.bashrc (make sure ~/.bashrc is sourced by ~/.bash_profile or ~/.profile) | |
# | |
# Daniel Weibel <danielmweibel@gmail.com> October 2015 | |
#------------------------------------------------------------------------------# | |
# Command that Bash executes just before displaying a prompt | |
export PROMPT_COMMAND=set_prompt |
#!/bin/bash | |
# Docker can't pass newlines to containers if there are \n in variables in | |
# --env-file files. This tool creates a $1.exported file with newlines that | |
# can be sourced before running your container and a $1.vars for you to pass | |
# to --env-files so docker passes those variables to the container. | |
# Usage: | |
# dockerize-env .env | |
# This creates: .env.vars and .env.exported |
$ ffmpeg -i input.mp4 -vcodec h264 -acodec mp2 output.mp4 |
#!/bin/bash | |
# | |
# DESCRIPTION: | |
# | |
# Set the bash prompt according to: | |
# * the active virtualenv | |
# * the branch of the current git/mercurial repository | |
# * the return value of the previous command | |
# * the fact you just came from Windows and are used to having newlines in | |
# your prompts. |