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
[Unit] | |
Description=XAMPP | |
After=network.target | |
[Service] | |
ExecStart=/opt/lampp/xampp start | |
ExecStop=/opt/lampp/xampp stop | |
Type=forking | |
[Install] |
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
-- script membuat table master produks | |
CREATE TABLE produks ( | |
id INT PRIMARY KEY AUTO_INCREMENT, | |
nama_produk VARCHAR(255) NOT NULL, | |
harga_produk INT NOT NULL, | |
stok_produk INT NOT NULL | |
); | |
-- script membuat table master pelanggans | |
CREATE TABLE pelanggans ( | |
id INT PRIMARY KEY AUTO_INCREMENT, |
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
composer create-project --prefer-dist laravel/laravel nama_proyek "6.*" |
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
{ | |
data: 'tanggal', | |
render: function(data, type, row){ | |
return '<div class="badge badge-secondary">' + moment(row.tanggal).locale('id').format('DD MMMM YYYY') + '</div>' + ' <button class="btn btn-xs copy-btn"><i class="fa fa-copy"></i></button>';; | |
} | |
}, |
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
{ | |
data: 'bayar', | |
render: function(data, type, row){ | |
return new Intl.NumberFormat('id-ID', { style: 'currency', currency: 'IDR', minimumFractionDigits: 2 }).format(data); | |
} | |
}, |
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
{ | |
data: 'bayar', | |
render: function(data, type, row){ | |
return new Intl.NumberFormat('id-ID', { style: 'currency', currency: 'IDR', minimumFractionDigits: 0 }).format(data); | |
} | |
}, |
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
{ | |
data: 'nama', | |
render: function(data,type,row){ | |
return data + '\n<div class="badge badge-secondary" >' + row.jenis_mhs + '</div>'; | |
} | |
}, |
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
{ | |
data: 'tanggal', | |
render: function(data, type, row){ | |
return moment(row.tanggal).locale('id').format('DD MMMM YYYY'); | |
} | |
}, |
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="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Install Bootstrap di HTML</title> | |
<link rel="stylesheet" href="bootstrap-5.3.2/css/bootstrap.css"> | |
<script src="bootstrap-5.3.2/js/bootstrap.min.js"></script> | |
</head> | |
<body> |
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="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Instalasi Bootstrap</title> | |
<!-- Tautan CSS Bootstrap --> | |
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@versi-bootstrap/dist/css/bootstrap.min.css"> |
NewerOlder