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
$payload = `[ | |
{ | |
"id": 929, | |
"bank_id": "gCjM", | |
"account_number": 4591596, | |
"bank_type": "bca", | |
"date": "01/01/2018", | |
"amount": "104082", | |
"description": "bayar spanduk lagi", | |
"type": "CR", |
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
D88DDDD8888DDDDDDDDDDD88888888888888888888888888888888888888888888888888888888888888888888888888888888DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD8888DDDDDDDDDDDDDDD8888DDDDDDDDDDDDDDD8888DDDDDDDDDDDDDDD8888DDDDDDDDDDDDDDD8888DDDDDDDDDDDDDDD8888DDDDDDDDDDDDDDD8888DDDDDDDDDDDDDDD8888DDDDDDDDDDDDDDD8888DDDDDDDDD88I | |
8888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888I | |
888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888888 |
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
//install push-dir | |
yarn add gh-pages cross-env --save-dev | |
//buka file .env dan tambahkan ini | |
DEPLOY_ENV=GH_PAGES | |
//tambahkan command di package.json | |
"build:gh-pages": "cross-env DEPLOY_ENV=GH_PAGES nuxt build", | |
"generate:gh-pages": "cross-env DEPLOY_ENV=GH_PAGES nuxt generate", | |
"deploy": "gh-pages -d dist" |
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
<?php | |
declare(strict_types=1); | |
use DI\ContainerBuilder; | |
use Monolog\Handler\StreamHandler; | |
use Monolog\Logger; | |
use Monolog\Processor\UidProcessor; | |
use Psr\Container\ContainerInterface; | |
use Psr\Log\LoggerInterface; |
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="tabel"> | |
<b-container fluid> | |
<!-- Tabel --> | |
<b-table hover responsive :fields="fields" :items="items"> | |
<!-- A virtual column --> | |
<template slot="num" slot-scope="data">{{ data.num + 1 }}</template> | |
<template slot="study_evaluation" slot-scope="row"> | |
<b-button |
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
--merelasikan table kasir dengan tabel penyakit | |
-- Kasir => transaksi => obat => penyakit | |
--Merelasikan semua tabel | |
select * from kasir inner join transaksi on transaksi.idkasir=kasir.idkasir | |
inner join obat on obat.idobat=transaksi.idobat | |
inner join penyakit on penyakit.idpenyakit=obat.idpenyakit | |
inner join pelanggan on pelanggan.idpel=transaksi.idpel | |
inner join jenis on jenis.idjenis = obat.idjenis; |
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
--Soal 1 | |
create table Dokter ( | |
IdDokter varchar2(3) not null, | |
IdSpesialis varchar2(3) not null, | |
Nama varchar2(150) not null, | |
JenisKelamin varchar2(15) not null, | |
Telepon varchar2(15) not null | |
); | |
create table Pasien ( |
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
INSERT INTO Pelanggan(IdPel, NamaPel, Alamat, JenKel, Umur, NoHp) VALUES('P0001','Adam Raki','Teritip','L','20','082255150'); | |
INSERT INTO Pelanggan(IdPel, NamaPel, Alamat, JenKel, Umur, NoHp) VALUES('P0002','Hanna Montana','Kampung Baru Ujung','P','24','058822402'); | |
INSERT INTO Pelanggan(IdPel, NamaPel, Alamat, JenKel, Umur, NoHp) VALUES('P0003','Miley Cyrus','Gunung Bakaran','P','29','085521251'); | |
INSERT INTO Pelanggan(IdPel, NamaPel, Alamat, JenKel, Umur, NoHp) VALUES('P0004','Taylor Swift','Lamaru','P','26','082151561'); | |
INSERT INTO Pelanggan(IdPel, NamaPel, Alamat, JenKel, Umur, NoHp) VALUES('P0005','Charlie Puth','Gunung Bubukan Atas','L','23','081215100'); | |
INSERT INTO Pelanggan(IdPel, NamaPel, Alamat, JenKel, Umur, NoHp) VALUES('P0006','Bill Gates','Martadinata','L','65','082564512'); | |
INSERT INTO Pelanggan(IdPel, NamaPel, Alamat, JenKel, Umur, NoHp) VALUES('P0007','John Scott','BDS 1','L','32','098123156'); | |
INSERT INTO Pelanggan(IdPel, NamaPel, Alamat, JenKel, Umur, NoHp) VALUES('P0008','Michael Solely' |
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 lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>Sassy Test</title> | |
<link href="vendor/css/theme.css" rel="stylesheet"> | |
</head> | |
<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
CREATE DATABASE db_apotek; | |
USE db_apotek; | |
CREATE TABLE pelanggan ( | |
IdPel VARCHAR(5) NOT NULL PRIMARY KEY, | |
NamaPel VARCHAR(50) NOT NULL, | |
Alamat VARCHAR(100) NOT NULL, | |
JenKel VARCHAR(1) NOT NULL, | |
Umur VARCHAR(3), | |
NoHp VARCHAR(15) |