$ docker run -d --name kong \
--link kong-database:kong-database \
-e "KONG_DATABASE=postgres" \
-e "KONG_PG_HOST=kong-database" \
-e "KONG_PG_PASSWORD=kong" \
-e "KONG_CASSANDRA_CONTACT_POINTS=kong-database" \
-e "KONG_PROXY_ACCESS_LOG=/dev/stdout" \
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
SDL video target is 'x11' | |
This system supports the OpenGL extension GL_EXT_framebuffer_object. | |
This system supports the OpenGL extension GL_EXT_framebuffer_blit. | |
This system supports the OpenGL extension GL_EXT_framebuffer_multisample. | |
This system DOES NOT support the OpenGL extension GL_APPLE_fence. | |
This system DOES NOT support the OpenGL extension GL_NV_fence. | |
This system supports the OpenGL extension GL_ARB_sync. | |
This system supports the OpenGL extension GL_EXT_draw_buffers2. | |
This system DOES NOT support the OpenGL extension GL_EXT_bindable_uniform. | |
This system DOES NOT support the OpenGL extension GL_APPLE_flush_buffer_range. |
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
--[[ | |
THESE ARE EXAMPLE CONFIGS FEEL FREE TO CHANGE TO WHATEVER YOU WANT | |
`lvim` is the global options object | |
]] | |
-- vim options | |
vim.opt.shiftwidth = 2 | |
vim.opt.tabstop = 2 | |
vim.opt.relativenumber = true | |
-- general |
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
// print a name | |
function sayHello(name) { | |
console.log(`Hallo ${name} (^▽^)`) | |
} | |
// check if number are odd or even | |
function oddOrEven(num) { | |
if (num % 2 === 0) { | |
console.log('Genab') | |
} else { |
3rd Lib
- axios
- fastify
- fastify-multipart
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
"use strict"; | |
// Require the framework and instantiate it | |
import fastify from "fastify"; | |
import fs from "node:fs"; | |
import { join } from "node:path"; | |
import { Readable } from "node:stream"; | |
const app = fastify({ logger: true }); | |
async function* streamFile() { |
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
void main() { | |
// Ini adalah form question dan answer yang di isi oleh user | |
var listanswer = [ | |
{ 'answer': 1, 'question': 1}, | |
{ 'answer': 2, 'question': 2} | |
]; | |
// ini data yang dikirim ke server | |
var dataDikirim = { | |
'ktp': 'ktp-kucing' |
Need to enable in the S3 Bucket console
"ExposeHeaders": [
"ETag",
"Content-Length",
"Range",
"Content-Range"
]
OlderNewer