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
function bufferIntoImageData (data: Uint8Array): Promise<ImageData> { | |
const canvas = document.createElement('canvas'); | |
const context = canvas.getContext('2d', { | |
willReadFrequently: true | |
}); | |
if (!context) { | |
throw new Error('Canvas context is not available.'); | |
} |
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
type Query { | |
page( | |
# A URL to fetch the HTML source from. | |
url: String | |
# A string containing HTML to be used as the source document. | |
source: String | |
): Document | |
} |
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
public class BubbleSortTest { | |
public static void main(String[] args) { | |
long waktuMulai = 0; | |
long waktuSelesai = 0; | |
int[] iniDataSebelumDiurut; | |
// Test untuk 1.000 data | |
waktuMulai = System.currentTimeMillis(); |
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
/** | |
* @author Ryan Aunur Rassyid | |
**/ | |
import java.io.*; | |
public class RyanAunurR_T382 { | |
public static void main(String[] args) { | |
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); |
Laravel 8 localization file untuk bahasa indonesia.
Put this file into your laravel project with following path: Letakkan file ini di laravel project kamu di folder berikut:
./resources/lang/id/{filename}.php
To make it as a default language and english as a fallback, set locale
attribute value inside of ./config/app.php
file to be id
.
Untuk menjadikan bahasa indonesia sebagai bahasa utama dan bahasa inggris sebagai alternatif, maka set nilai atribut locale
pada file ./config/app.php
menjadi id
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
/** | |
* @function | |
* @template T | |
* @param {T} item | |
* @return {Promise.<T>} | |
*/ | |
const sortItem = function (item) { | |
return new Promise((resolve, reject) => { | |
setTimeout(() => { | |
this.store(item); |
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
version: "3.7" | |
services: | |
database: | |
image: mongo:latest | |
container_name: database-service | |
environment: | |
- MONGO_INITDB_DATABASE=appdb | |
- MONGO_INITDB_ROOT_USERNAME=appdb_user | |
- MONGO_INITDB_ROOT_PASSWORD=appdb_password |
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
(0:00) 01. Bye Bye Badman - 너의 파도/Your Wave | |
(3:56) 02. O.O.O - 눈이 마주쳤을 때 | |
(7:11) 03. O.O.O - Darkroom | |
(10:26) 04. Were Are The Night - Where Are You | |
(14:19) 05. Night Off - Today's Weather was a Failure | |
(17:40) 06. Bye Bye Badman - Always in Love | |
(21:32) 07. We Are The Night - Club Midnight | |
(25:29) 08. Shin Hae Gyeong - 그대의 꿈결 feat.김사월 | |
(30:21) 09. Were Are The Night - Maybe |
NewerOlder