I hereby claim:
- I am rmulley on github.
- I am rmulley (https://keybase.io/rmulley) on keybase.
- I have a public key ASBEnGUt0bvUWD6hnHU5mHdHqPw26JKWMIbOVJxEE0sNPAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
GO ?= go | |
export GOPATH := $(CURDIR)/_vendor:$(GOPATH) | |
all: build | |
build: | |
$(GO) fmt src/* | |
$(GO) vet src/* | |
$(GO) build -o ./bin/program_name src/main.go |
package main | |
import ( | |
"bytes" | |
"encoding/base64" | |
"fmt" | |
"io/ioutil" | |
"log" | |
"net/smtp" | |
) //import |
use strict; | |
use warnings; | |
my %pids; | |
#open log file | |
open LOG, "<mysql-general.log"; | |
#check file opened properly | |
if(!fileno(LOG)) { |