Skip to content

Instantly share code, notes, and snippets.

View ndrewnee's full-sized avatar

Andrew Nee ndrewnee

View GitHub Profile
@ndrewnee
ndrewnee / VSCODE_GOLANG_FIX.md
Last active March 29, 2019 09:44
Use this if golang tools don't work in VsCode
@ndrewnee
ndrewnee / sVim.css
Last active October 26, 2017 07:59
sVim.css
@-webkit-keyframes fadein {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
#sVim-command {
@ndrewnee
ndrewnee / sVim.rc
Last active November 5, 2017 16:08
sVim.rc
" let
let scrollstep = 130
let homeurl = "favorites://"
let newtaburl = "favorites://"
unmap "space"
unmap "left"
unmap "right"
unmap "up"
unmap "down"
@ndrewnee
ndrewnee / echo_zap.go
Created October 14, 2017 22:06
ZapLogger is an example of echo middleware that logs requests using logger "zap"
package echomw
import (
"time"
"github.com/labstack/echo"
"go.uber.org/zap"
"go.uber.org/zap/zapcore"
)
@ndrewnee
ndrewnee / zebra.go
Created October 14, 2017 21:58
Example of printing barcodes on USB printer "Zebra" https://www.zebra.com/ru/ru.html
package main
import (
"flag"
"fmt"
"io/ioutil"
"os"
"os/exec"
)