Skip to content

Instantly share code, notes, and snippets.

View kyp0717's full-sized avatar

Phage Ky kyp0717

  • Cigna
  • Boston, MA
View GitHub Profile
@kyp0717
kyp0717 / Dockerfile.base-os
Created December 27, 2019 18:18
Base Dockerfile with nvim, ripgrep, tmux, fzf
FROM quay.sys.cigna.com/cigna/rhel:latest
RUN yum install -y zsh git cmake gcc-c++ unzip libtool make curl gettext kernel-devel ncurses-devel xterm python36
WORKDIR /home
RUN curl -LOk https://github.com/libevent/libevent/releases/download/release-2.1.8-stable/libevent-2.1.8-stable.tar.gz
RUN tar -xf libevent-2.1.8-stable.tar.gz && \
cd libevent-2.1.8-stable && \
./configure --prefix=/usr/local && \
make && make install
@kyp0717
kyp0717 / getStockPrice2.go
Created December 23, 2019 16:00
Get stock price using go version 2
package main
import (
"fmt"
"github.com/piquette/finance-go/equity"
"sync"
"time"
)
func nowx() int64 {
@kyp0717
kyp0717 / ibEndPt.go
Last active August 12, 2019 14:04
List of endpoints for interactive broker client web portal
// session endpoints
const (
UrlStatus = "/iserver/auth/status"
UrlReauth = "/iserver/reauthenticate"
UrlValidate = "/sso/validate"
UrlTickle = "/tickle"
UrlLogout = "/logout"
)
Installing
Their installation instructions are spot on, they present many ways to install in various OSs.
I personally prefer to use the Appimage method.
curl -LO https://github.com/neovim/neovim/releases/download/nightly/nvim.appimage
chmod u+x nvim.appimage
./nvim.appimage
Python Provider
A lot of awesome plugins like VDebug and NeoSnippet require Python provider support.