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 docker file is use to construct NodeJS image for NuxtJS development environment | |
FROM node:lts-alpine | |
LABEL maintainer="your-email@mail.com" | |
RUN mkdir -p /usr/src/nuxt-project | |
WORKDIR /usr/src/nuxt-project |
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
[ | |
{ | |
"st": "Johor", | |
"dist": "Kota Tinggi", | |
"ppvc": "KK Bandar Penawar", | |
"cd": "johor", | |
"lat": "1.55332", | |
"lon": "104.23373", | |
"linky": "" | |
}, |
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 | |
// [12, 3, 1] | |
// array distinct, solutions 3 numbers group must be unique | |
// [3,1,2] | |
// [1,2,-6] | |
import ("fmt" | |
"sort") | |
func ThreeNumberSum(array []int, target int) [][]int { | |
solutions := make([][]int,0) |
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
SINGPASS_CLIENT_ID="<given-by-singpass-authority>" | |
SINGPASS_REDIRECT_URI="<your-callback-url-that-must-be-same-as-you-provided-for-onboarding>" | |
SINGPASS_SIGNING_KEY="storage/singpass/singpass-signing-key-encrypted.pem" | |
SINGPASS_VERIFICATION_KEY="storage/singpass/singpass-verification-key.pem" | |
SINGPASS_ENCRYPTION_KEY="/storage/singpass/singpass-encryption-key.pem" | |
SINGPASS_DECRYPTION_KEY="/storage/singpass/singpass-decryption-key-encrypted.pem" | |
SINGPASS_WELL_KNOWN_CONFIGURATION_URL="https://stg-id.singpass.gov.sg/.well-known/openid-configuration" | |
SINGPASS_DECRYPTION_KEY_PASSPHRASE="<your-singpass-decryption-key-passphrase>" | |
SINGPASS_SIGNING_KEY_PASSPHRASE="<your-singpass-signing-key-passphrase>" |
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
mutation { | |
addBooksToFavorite(bookID: "1"){ | |
name | |
isbn | |
authors { | |
name | |
} | |
} | |
} |
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
query { | |
fetchBooks(orderBy: "id" , sort: "asc") { | |
id | |
title | |
isbn | |
authors { | |
name | |
} | |
} | |
} |
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
// https://api.tedious.dev/api/books?fields=id,title,isbn&includes=authors.name&order_by=id&sort=asc | |
{ | |
"data" : [ | |
{ | |
"id" : "1", | |
"title" : "Steve Jobs", | |
"isbn" : "xxxxxx", | |
"authors" : [{ | |
"name" : "Walter Issacons" |
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
<?php | |
use App\Notifications\VerifyEmail; | |
public function sendEmailVerificationNotification() | |
{ | |
$this->notify(new VerifyEmail($this->email)); | |
} |
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
.eslintrc.js | |
*.config.js | |
*.config.ts |