Skip to content

Instantly share code, notes, and snippets.

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

agnė agnaite

🇺🇦
#slavaukraini
View GitHub Profile
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
package main
import (
"fmt"
"os"
"github.com/jetstack/cert-manager/pkg/issuer/acme/dns/util"
)
func main() {
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"
)
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):
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 ./...
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] = {}
module.exports = (logSources, printer) => {
const entries = []
logSources.forEach(logSource => {
console.log("new log source")
let newEntry = logSource.pop()
while (newEntry) {
entries.push(newEntry)
newEntry = logSource.pop()
}
'use strict'
module.exports = (logSources, printer) => {
const entries = []
logSources.forEach(logSource => {
let newEntry = logSource.pop()
while (newEntry) {
entries.push(newEntry)
newEntry = logSource.pop()
# You are given 2 sorted arrays A and B
# A has enough placeholders at the end to hold B
# Write a method to merge B into A in sorted order
# i.e.
# A = [3, 6, 8]
# B = [2, 5, 10, 11]
# => [2, 3, 5, 6, 8, 10, 11]
def get_last_item_index(arr):