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 design | |
import . "goa.design/goa/v3/dsl" | |
// TODO | |
// var _ = API("foo", func() { .... | |
var SourceFilePayload = Type("SourceFilePayload", func() { | |
Attribute("file_name", String, "uploaded file name", func() { |
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
Go 13 hrs 56 mins █████████████▌░░░░░░░ 64.6% | |
Terraform 3 hrs 5 mins ███░░░░░░░░░░░░░░░░░░ 14.3% | |
SQL 1 hr 32 mins █▍░░░░░░░░░░░░░░░░░░░ 7.1% | |
TypeScript 1 hr 15 mins █▏░░░░░░░░░░░░░░░░░░░ 5.8% | |
YAML 1 hr 11 mins █▏░░░░░░░░░░░░░░░░░░░ 5.5% |
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
#!/bin/sh | |
set -e | |
PJROOT_DIR=$(pwd) | |
CONFLICT_IDENTIFIER="=======" | |
# expected directory structure | |
# src/gql/queries/*.gql | |
# src/gql/mutations/*.gql | |
# ./schema.graphql |
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 scratch | |
COPY --from=golang:1.13 /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt | |
COPY server /app/ | |
CMD ["/app/server"] |
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
#!/bin/sh | |
# refreshes Desktop Pictures in Mac picking them up from Google search results. | |
# | |
# How to achieve: | |
# 1. Download dependent packages | |
# - you should first install googliser.sh | |
# see https://github.com/teracow/googliser | |
# | |
# 2. Donload this file | |
# 3. Create a directory and Modify this file |
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
echo "GET http://localhost:1323/hoge" | vegeta attack -duration=1m -rate=100 | vegeta report -reporter=plot > plot.html |
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
<script type='application/javascript' src='https://cdnjs.cloudflare.com/ajax/libs/fastclick/1.0.6/fastclick.min.js'></script> |