Skip to content

Instantly share code, notes, and snippets.

View chodges15's full-sized avatar

Chris Hodges chodges15

  • Dropbox
  • Huntsville, AL
View GitHub Profile
@chodges15
chodges15 / upgrade-vim.sh
Created January 25, 2021 12:18
Quick Install of Tolerable VIM Environment into CentOS7
# PART 1: VIM 8 install (with native package manager): (credit to yevrah)
################################################################################
# Method 1: Install using rpm packages (credit to DarkMukke)
#
rpm -Uvh http://mirror.ghettoforge.org/distributions/gf/gf-release-latest.gf.el7.noarch.rpm
rpm --import http://mirror.ghettoforge.org/distributions/gf/RPM-GPG-KEY-gf.el7
# WARNING: removing vim-minimal uninstalls `sudo` if you skip the second step
# make sure to at least run `yum install sudo`
@chodges15
chodges15 / date-ago.pipe.ts
Last active March 4, 2020 03:06 — forked from shifatul-i/date-ago.pipe.ts
Angular — date ago pipe (minutes / hours / days / months / years ago)
import {Pipe, PipeTransform} from '@angular/core';
@Pipe({
name: 'dateAgo',
pure: true
})
export class DateAgoPipe implements PipeTransform {
transform(value: any, args?: any): any {
if (value) {

Keybase proof

I hereby claim:

  • I am chodges15 on github.
  • I am gowareagle (https://keybase.io/gowareagle) on keybase.
  • I have a public key ASA75zoCUL_VRgyxHT4mX4O8-YOYHv5FhJ9ZIg7aibazzAo

To claim this, I am signing this object: