This file contains hidden or 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
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', |
This file contains hidden or 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title> | |
Bootcamp hari pertama | |
</title> | |
</head> |
This file contains hidden or 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title> | |
Bootcamp hari pertama | |
</title> | |
</head> |
This file contains hidden or 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title> | |
Bootcamp hari pertama | |
</title> | |
</head> |
This file contains hidden or 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Layouting web sederhana dengan html dan css</title> | |
<style> | |
/* css reset */ | |
html, | |
body, |
This file contains hidden or 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
<template> | |
<div class="main-map"></div> | |
</template> | |
<script lang="ts"> | |
import {Watch, Component, Vue, Prop} from 'annotation'; | |
@Component | |
export default class GMapComponent extends Vue { |
This file contains hidden or 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Contoh Flexbox</title> | |
<style> | |
.fl-row { | |
display: flex; | |
flex-direction: row; |
This file contains hidden or 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
// 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 |
This file contains hidden or 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
<script lang="ts"> | |
import {Component, Prop, Vue} from 'vue-property-decorator'; | |
@Component | |
export default class HelloWorld extends Vue { | |
@Prop() private msg!: string; | |
} | |
</script> |
This file contains hidden or 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 | |
import ( | |
"encoding/json" | |
"flag" | |
"fmt" | |
"log" | |
"os" | |
"github.com/siuyin/dflt" |