Skip to content

Instantly share code, notes, and snippets.

VIM KEYBOARD SHORTCUTS

MOVEMENT

h        -   Move left
j        -   Move down
k        -   Move up
l        -   Move right
$        -   Move to end of line
0        -   Move to beginning of line (including whitespace)
@nicksherron
nicksherron / compile_git.md
Created June 24, 2020 15:42 — forked from samrocketman/compile_git.md
Compiling git

The version of git that comes with RHEL6 is very old. I'll outline steps for compiling the latest git version on RHEL6. Working from /usr/local/src.

Following instructions for Git Pro book Getting Started Installing Git.

Prerequisites

yum install gcc curl-devel expat-devel gettext-devel openssl-devel zlib-devel perl-ExtUtils-MakeMaker

Optional man page prereqs.

@nicksherron
nicksherron / search_strings.go
Created November 13, 2018 00:20 — forked from xeoncross/search_strings.go
Testing searching through thousands of strings looking for indexes or keys - Go - golang https://play.golang.org/p/1qXo5kT6LfL
package main
import (
"errors"
"fmt"
"log"
"math/rand"
"sort"
"time"
)