This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This file is auto-generated by the Mailu configuration wizard. | |
# Please read the documentation before attempting any change. | |
# Generated for compose flavor | |
version: '3.6' | |
services: | |
# External dependencies | |
redis: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"sort" | |
) | |
type myIntMap map[int]string | |
func (m myIntMap) sort() (index []int) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
/* | |
Run with: | |
go run main.go | |
Flags: | |
-number int | |
Number of requests (default 10) | |
-wait int | |
Max wait for requests (default 100) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"errors" | |
"fmt" | |
"sync" | |
"time" | |
) | |
type clientSession struct { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"bytes" | |
"encoding/binary" | |
"errors" | |
"fmt" | |
"io" | |
"log" | |
"sync" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM golang:latest | |
WORKDIR /master | |
RUN git clone --depth 1 https://github.com/golang/go.git | |
WORKDIR /master/go/src | |
RUN ./make.bash | |
ENV PATH "/master/go/bin:${PATH}" | |
RUN echo "PATH=${PATH}" >> /etc/bash.bashrc && echo "${PATH}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"path" | |
"testing" | |
"github.com/gobwas/glob" | |
) | |
var patterns = []string{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.8' | |
services: | |
zitadel: | |
image: ghcr.io/zitadel/zitadel:${ZITADEL_VERSION:-latest} | |
command: start-from-init --masterkeyFromEnv --tlsMode disabled --config /config/zitadel.yaml | |
environment: | |
ZITADEL_MASTERKEY: ${ZITADEL_MASTERKEY:-MasterkeyNeedsToHave32Characters} | |
ZITADEL_SYSTEMDEFAULTS_PASSWORDHASHER_VERIFIERS: pbkdf2 | |
restart: always |