This file contains hidden or 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 ( | |
| "encoding/asn1" | |
| "crypto/elliptic" | |
| "crypto/ecdsa" | |
| "crypto/rand" | |
| "crypto/x509" | |
| "crypto/x509/pkix" | |
| "encoding/pem" |
This file contains hidden or 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
| defaults write -g CGFontRenderingFontSmoothingDisabled -bool NO | |
| defaults write com.microsoft.VSCode.helper CGFontRenderingFontSmoothingDisabled 0 | |
| defaults -currentHost write -globalDomain AppleFontSmoothing -int 2 | |
| defaults write ~/Library/Preferences/.GlobalPreferences com.apple.swipescrolldirection -bool false | |
| defaults write bluetoothaudiod "Enable AptX codec" -bool true | |
| defaults write bluetoothaudiod "Enable AAC codec" -bool true | |
| defaults write com.apple.Preview PVPDFAntiAliasOption 0 |
This file contains hidden or 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
| Dockerfile: | |
| FROM alpine | |
| RUN apk --update add --no-cache openssh bash \ | |
| && sed -i s/#PermitRootLogin.*/PermitRootLogin\ yes/ /etc/ssh/sshd_config \ | |
| && echo "root:root" | chpasswd \ | |
| && rm -rf /var/cache/apk/* | |
| RUN sed -ie 's/#Port 22/Port 22/g' /etc/ssh/sshd_config | |
| RUN sed -ri 's/#HostKey \/etc\/ssh\/ssh_host_key/HostKey \/etc\/ssh\/ssh_host_key/g' /etc/ssh/sshd_config | |
| RUN sed -ir 's/#HostKey \/etc\/ssh\/ssh_host_rsa_key/HostKey \/etc\/ssh\/ssh_host_rsa_key/g' /etc/ssh/sshd_config |
This file contains hidden or 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" | |
| metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" | |
| "k8s.io/api/core/v1" | |
| "k8s.io/client-go/kubernetes" |
This file contains hidden or 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
| apiVersion: v1 | |
| kind: ConfigMap | |
| metadata: | |
| name: config1 | |
| labels: | |
| app: vla | |
| data: | |
| config1.json: ' { | |
| "aaa": "ccc" |
This file contains hidden or 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" | |
| "net/http" | |
| "golang.org/x/net/http2" | |
| "golang.org/x/net/http2/h2c" | |
| "crypto/tls" | |
| "net" | |
| ) |
This file contains hidden or 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" | |
| "crypto" | |
| "crypto/ecdsa" | |
| "crypto/elliptic" | |
| "crypto/rand" | |
| "crypto/x509" |
This file contains hidden or 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" | |
| "crypto/ecdsa" | |
| "crypto/elliptic" | |
| "crypto/rand" | |
| "crypto/x509" | |
| "os" |
This file contains hidden or 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" | |
| "gopkg.in/square/go-jose.v2" | |
| "encoding/json" | |
| "io/ioutil" | |
| "crypto/ecdsa" | |
| ) |
This file contains hidden or 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" | |
| "gopkg.in/square/go-jose.v2" | |
| "encoding/json" | |
| "io/ioutil" | |
| "crypto/ecdsa" | |
| "crypto/x509" | |
| "encoding/pem" |