Skip to content

Instantly share code, notes, and snippets.

View tatsuyasusukida's full-sized avatar

Tatsuya Sususkida tatsuyasusukida

View GitHub Profile
@tatsuyasusukida
tatsuyasusukida / .env.example
Last active April 20, 2022 03:03
Node.js Auth0 Web API Example (API Part)
PORT=3000
AUTH0_JWKS_URI=https://example.jp.auth0.com/.well-known/jwks.json
AUTH0_AUDIENCE=column-auth0-webapi
AUTH0_ISSUER=https://example.jp.auth0.com/
@tatsuyasusukida
tatsuyasusukida / .gitignore
Last active April 27, 2022 00:03
Node.js Auth0 Web API Example (UI Part)
/node_modules/
/auth_config.json
@tatsuyasusukida
tatsuyasusukida / .env
Last active April 20, 2022 05:59
Gist Push Example
MESSAGE=HELLO WORLD
@tatsuyasusukida
tatsuyasusukida / .env
Last active April 20, 2022 06:22
Gist Push Example
MESSAGE=HELLO WORLD
@tatsuyasusukida
tatsuyasusukida / .gitignore
Last active April 20, 2022 14:01
Node.js async/await examples
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
@tatsuyasusukida
tatsuyasusukida / !README-asciidoctor-requirement.md
Last active May 13, 2022 23:17
📄 How to use Asciidoctor to format the document like a specification
@tatsuyasusukida
tatsuyasusukida / .env
Last active April 21, 2022 04:07
Cloud Run Cloud SQL Example
PORT=3000
DB_URL=mysql://dbuser:dbpass@localhost:3306/dbname
@tatsuyasusukida
tatsuyasusukida / .gitignore
Last active October 30, 2024 00:12
Node.js Docker Image that can uses FFmpeg
/out.mp4
@tatsuyasusukida
tatsuyasusukida / .gitignore
Last active April 26, 2022 00:21
Node.js SerialPort Mock Example
/node_modules/
@tatsuyasusukida
tatsuyasusukida / Deferred.js
Last active April 26, 2022 01:45
Node.js SerialPort Request Queue Example
class Deferred {
constructor () { // <1>
this.promise = new Promise((resolve, reject) => {
this._resolve = resolve
this._reject = reject
})
}
resolve (result) { // <2>
this._resolve(result)