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
<form> | |
<div class="form-group"> | |
<input type="hidden" wire:model="post_id"> | |
<label for="exampleFormControlInput1">Title</label> | |
<input type="text" class="form-control" wire:model="title" id="exampleFormControlInput1" placeholder="Enter Title"> | |
@error('title') <span class="text-danger">{{ $message }}</span>@enderror | |
</div> | |
<div class="form-group"> | |
<label for="exampleFormControlInput2">Description</label> | |
<input type="text" class="form-control" wire:model="description" id="exampleFormControlInput2" placeholder="Enter Description"> |
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
<!DOCTYPE html> | |
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}"> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title>Programmer Copas - Livewire/title> | |
<!-- Fonts --> | |
<link href="https://fonts.googleapis.com/css?family=Nunito:200,600" rel="stylesheet"> | |
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.1/css/bootstrap.min.css"> | |
<!-- Styles --> |
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
<form> | |
<div class="form-group"> | |
<label for="exampleFormControlInput1">Title</label> | |
<input type="text" class="form-control" id="exampleFormControlInput1" placeholder="Enter Title" wire:model="title"> | |
@error('title') <span class="text-danger">{{ $message }}</span>@enderror | |
</div> | |
<div class="form-group"> | |
<label for="exampleFormControlInput2">Description</label> | |
<input type="text" class="form-control" id="exampleFormControlInput2" wire:model="description" placeholder="Enter Description"> | |
@error('description') <span class="text-danger">{{ $message }}</span>@enderror |
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
<div> | |
{{-- Stop trying to control. --}} | |
@if($updateMode) | |
@include('livewire.update') | |
@else | |
@include('livewire.create') | |
@endif | |
<table class="table table-bordered mt-5"> | |
<thead> |
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
name: Laravel-github-action #nama pipeline bisa sesuai keinginan | |
on: | |
push: | |
branches: [ master ] # maksud dari ketiga kode diatas adalah dijalankan ketika ada push ke branch master | |
jobs: # pekerjaan yang akan dijalankan | |
laravel-tests: # nama pekerjaan | |
runs-on: ubuntu-latest # berjalan di os ubuntu | |
steps: # langkah-langkah yg dijalankan |
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
FROM php:7.3-cli-alpine | |
# envirotmen variable | |
ENV \ | |
APP_DIR="/app" \ | |
APP_PORT="8001" | |
# memindahkan file atau folder ke direktori yang di inginkan di docker | |
COPY . $APP_DIR | |
COPY .env.example $APP_DIR/.env |
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
{ | |
"order_id" : "string", | |
"order_chanel": "string", | |
"area_code": "string", | |
"vehicle_class": "string", | |
"order_start_date": "2021-08-01", | |
"order_end_date": "2021-08-01", | |
"order_start_time": "00:00", | |
"order_end_time": "00:00", | |
} |
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
<?php | |
// kita membuat interface autenticate | |
interface DocManager | |
{ | |
public function authenticate($user, $pwd); | |
public function getDocuments($folderid); | |
public function getDocumentsByType($folderid, $type); | |
public function getFolders($folderid=null); | |
public function saveDocument($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
<?php | |
interface Prototype { | |
public function clone(): Prototype; | |
} | |
class Pesawat implements Prototype{ | |
private $mesin; | |
private $kursi; |
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
<?php | |
interface BuilderRumah{ | |
public function setJendela(int $jendela); | |
public function setAtap(string $atap); | |
public function setPintu(string $pintu); | |
public function build(); | |
} | |
class RumahKayu implements BuilderRumah{ |
NewerOlder