Skip to content

Instantly share code, notes, and snippets.

View agnaite's full-sized avatar
🇺🇦
#slavaukraini

agnė agnaite

🇺🇦
#slavaukraini
View GitHub Profile
def make_chains(words)
chains = {}
for i in 0..words.length-2
word_1 = words[i]
word_2 = words[i + 1]
value = words[i + 2]
if !chains.include? word_1
chains[word_1] = {}
FROM golang
ARG app_env
ENV APP_ENV $app_env
COPY ./spec /go/src/github.com/heroku/agnaite-runtime-university/spec
COPY ./client /go/src/github.com/heroku/agnaite-runtime-university/client
WORKDIR /go/src/github.com/heroku/agnaite-runtime-university/
RUN go get ./...
import bcrypt
import six
def get_hashed_password(password):
if not isinstance(password, six.text_type):
password = six.text_type(password, "utf-8")
return bcrypt.hashpw(password, bcrypt.gensalt())
def check_password(password, hashed_password):
if not isinstance(password, six.text_type):
package checker
import (
"fmt"
"testing"
"github.com/heroku/runtime/acm/domain"
"github.com/heroku/runtime/lib/testlog"
"github.com/heroku/x/go-kit/metrics/provider/discard"
)
package checker
import (
"fmt"
"testing"
"github.com/heroku/runtime/acm/domain"
"github.com/heroku/runtime/lib/testlog"
"github.com/heroku/x/go-kit/metrics/provider/discard"
)
package main
import (
"fmt"
"os"
"github.com/jetstack/cert-manager/pkg/issuer/acme/dns/util"
)
func main() {
12/2017-present "The Bear & Peacock Brewery", Orlando, FL
04/2017-10/2017 "The Bear & Peacock Brewery", Orlando, FL
02/2017 "Nude Nite", Orlando, FL
09/2016 "Small Works Show" City Arts Factory, Orlando, FL
08/2016 "Declaration of the Mind" 1st Thursdays, Orlando Museum of Art, FL
07/2016 "Rock", 1st Thursdays, Orlando Museum of Art, FL - People's Choice Award Winner
03/2016 "Viva La Diva", 1st Thursdays, Orlando Museum of Art, FL
03/2016 "Nude Nite", Tampa, FL
02/2016 "Peace and Harmony", 1st Thursdays, Orlando Museum of Art, FL