Skip to content

Instantly share code, notes, and snippets.

View Kiro47's full-sized avatar

James Kiro47

  • United States
View GitHub Profile
@Kiro47
Kiro47 / Dockerfile
Created May 3, 2020 21:01
Multi-stage container
### Multistage container
## Build the Go binary
# Specify builder stage
FROM golang:latest AS builder
# Copy in source
COPY ./Server.go /
# Copy in compile script
COPY ./compile.sh /
# Pull in dependencies required
RUN go get -u github.com/gorilla/mux
@Kiro47
Kiro47 / LinuxCheatSheet.md
Last active May 23, 2019 23:00
General Linux cheat sheet

Recursively find specific string inside files

grep -Ril "text-to-find-here" /
    i stands for ignore case (optional in your case).
    R stands for recursive.
    l stands for "show the file name, not the result itself".
    / stands for starting at the root of your machine.

Stream file editor

@Kiro47
Kiro47 / keybase.md
Last active September 9, 2019 23:54

Keybase proof

I hereby claim:

  • I am kiro47 on github.
  • I am kiro_47 (https://keybase.io/kiro_47) on keybase.
  • I have a public key ASCwR56OOeiR5ux0e3pgE84MxQwtJi4I2oFpLyC5Ftpv5Ao

To claim this, I am signing this object: