Skip to content

Instantly share code, notes, and snippets.

View cahyowhy's full-sized avatar
🐞

cahyo wibowo cahyowhy

🐞
View GitHub Profile
const jsonGuru = {};
const data = new FormData();
data.append("siswa", JSON.stringify(jsonGuru));
data.append('file', file);
let config: any = {
timeout: 15000, //s
method: 'POST',
url: 'URL',
<!DOCTYPE html>
<html>
<head>
<title>
Bootcamp hari pertama
</title>
</head>
<!DOCTYPE html>
<html>
<head>
<title>
Bootcamp hari pertama
</title>
</head>
<!DOCTYPE html>
<html>
<head>
<title>
Bootcamp hari pertama
</title>
</head>
<!DOCTYPE html>
<html>
<head>
<title>Layouting web sederhana dengan html dan css</title>
<style>
/* css reset */
html,
body,
<template>
<div class="main-map"></div>
</template>
<script lang="ts">
import {Watch, Component, Vue, Prop} from 'annotation';
@Component
export default class GMapComponent extends Vue {
<!DOCTYPE html>
<html>
<head>
<title>Contoh Flexbox</title>
<style>
.fl-row {
display: flex;
flex-direction: row;
// dev dependencies
"typescript": "~3.1.1",
"@vue/cli-plugin-typescript": "~3.2.0",
// dependencies
"vue-property-decorator": "^7.2.0",
"vue-class-component": "^6.3.2",
vue add @vue/typescript
<script lang="ts">
import {Component, Prop, Vue} from 'vue-property-decorator';
@Component
export default class HelloWorld extends Vue {
@Prop() private msg!: string;
}
</script>
package main
import (
"encoding/json"
"flag"
"fmt"
"log"
"os"
"github.com/siuyin/dflt"