Definition of Done:
- Measurable condition(s):
- Room for interpretation:
- Related out-of-scope items:
Assumptions:
- Dependencies (including state):
- Technology to be used:
- Potential issues:
#!/usr/bin/perl -wn | |
BEGIN { | |
# Separate records by nulls instead of newlines | |
$/ = "\0"; | |
# Initialize printf field widths to zero | |
$origin_width = $key_width = $value_width = 0; |
#!/bin/sh | |
# XXX: Hack to get to the cwd of the parent process | |
test "X$GIT_PREFIX" = X || cd -- "$GIT_PREFIX" | |
# Only return 0 if *everything* succeeds | |
rc=0 | |
# Output a nice header to separate this command from the others | |
cat <<EOF |
#!/usr/bin/sed -f | |
## Colorize diff input with ANSI color escape codes | |
############### | |
### Input ### | |
############### | |
# All formats | |
/^Binary files.*differ$/bf | |
/^Only in.*/bf |
Definition of Done:
Assumptions:
Mode | cd | ls | ls -l | cat | touch |
---|---|---|---|---|---|
--- 0 | |||||
--x 1 | x | x | |||
-w- 2 | |||||
-wx 3 | x | x | x | ||
r-- 4 | x | ||||
r-x 5 | x | x | x | x | |
rw- 6 | x | ||||
rwx 7 | x | x | x | x | x |
# Checkout a new feature branch off of main | |
git checkout -b feature/import-tree main | |
# Clear the worktree, but keep the index | |
cd "`git rev-parse --show-toplevel`" | |
git rm -rf . | |
git reset | |
# Replace the contents of the worktree with that of another git repo's HEAD | |
git -C ../other-repo archive --format=tar HEAD | tar xf - |
-T
: Disables pseudo-tty allocation, which is appropriate because you're not trying to create an interactive shell.-N
: Says that you want an SSH connection, but you don't actually want to run any remote commands. If all you're creating is a tunnel, then including this option saves resources.-f
: Tells ssh to background itself after it authenticates, so you don't have to sit around running something on the remote server for the tunnel to remain alive.# Become root | |
sudo su - | |
# Install OpenLDAP and our favorite scriptable editor | |
dnf -y install openldap openldap-servers openldap-clients ed | |
# Define some parameters for our LDAP directory | |
BASEDN='dc=example,dc=com' | |
BINDDN="cn=Manager,$BASEDN" | |
PASSWD=`slappasswd -s password` |
This is why I don't use Neovim: neovim/neovim#997
In essense, the maintainers are dismissive of their users. This is somewhat ironic, because similar qualms with Vim is what drove the creation of Neovim. The Emacs community is much friendlier and easier to work with.
;;; go-template-mode.el --- Major mode for Go template language | |
;;; Commentary: | |
;; 1) Copy this file somewhere in your Emacs `load-path'. To see what | |
;; your `load-path' is, run inside emacs: C-h v load-path<RET> | |
;; | |
;; 2) Add the following to your .emacs file: | |
;; | |
;; (require 'go-template-mode) |