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
import { Buffer } from "buffer"; | |
import file0 from "../../.next/BUILD_ID?staticBinary"; | |
import file1 from "../../.next/build-manifest.json?staticText"; | |
import file2 from "../../.next/export-marker.json?staticText"; | |
import file3 from "../../.next/images-manifest.json?staticText"; | |
import file4 from "../../.next/next-server.js.nft.json?staticText"; | |
import file5 from "../../.next/package.json?staticText"; | |
import file6 from "../../.next/prerender-manifest.json?staticText"; | |
import file7 from "../../.next/react-loadable-manifest.json?staticText"; | |
import file8 from "../../.next/required-server-files.json?staticText"; |
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/bash | |
findup () { | |
CWD=$1 | |
while [ "$CWD" != "/" ]; do | |
if [ -f "$CWD/go.mod" ]; then | |
echo "$CWD/go.mod" | |
return 0 | |
fi | |
CWD=$(dirname $CWD) |
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
# Dockerfile - Ubuntu Xenial | |
# https://github.com/openresty/docker-openresty | |
ARG RESTY_IMAGE_BASE="ubuntu" | |
ARG RESTY_IMAGE_TAG="xenial" | |
FROM ${RESTY_IMAGE_BASE}:${RESTY_IMAGE_TAG} | |
LABEL maintainer="Evan Wies <[email protected]>" |
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
---------------------------------------------------------------- | |
-- Lua common HTTP request library | |
-- | |
-- This library is utility for common HTTP/HTTPS request usage, | |
-- and provide easy syntax like python requests module. | |
-- | |
-- Dependencies | |
-- - [luasocket](https://github.com/diegonehab/luasocket) | |
-- - [luasec](https://github.com/brunoos/luasec) | |
-- - [net-url](https://github.com/golgote/neturl) |
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 ( | |
"bufio" | |
"context" | |
"errors" | |
"fmt" | |
"time" | |
"encoding/json" |
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" | |
"github.com/satori/go.uuid" | |
"github.com/stretch/testify/assert" | |
) | |
func main() { |
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 ( | |
"bufio" | |
"fmt" | |
"log" | |
"net" | |
"strings" | |
"sync" | |
"time" |
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" | |
) | |
func detect_nullbyte(str string) bool { | |
for _, b := range str { | |
if b == '\u0000' { | |
return true |
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 | |
### Github create release script | |
### This script requires following UNIX commands: | |
### - jq | |
### - file | |
### - curl | |
### - basename | |
### Those commands might not be installed on CI environment due to tiny OS package, | |
### So probably you need to install manually. |
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 | |
MPATH=$PWD | |
MAKECOMMAND=$(which make) | |
if [ "${MAKECOMMAND}" = "" ]; then | |
echo "make command could't find in your \$PATH. Did you install it?" | |
exit 1 | |
fi |
NewerOlder