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
| Buatkan project Penerimaan Mahasiswa Baru dengan Framework Laravel v12 (PHP) lalu simpan pada repository github pribadi sebagai public repository. | |
| Project harus memiliki kriteria: | |
| 1. Terdapat halaman index yang berisikan konten website interaktif tentang informasi PMB seperti total program studi, biaya pendaftaran dll. (dummy) | |
| 2. Website dapat melakukan proses login dan logout sebagai Administrator | |
| 3. Administrator dapat melakukan proses CRUD (Create, Read, Update, Delete) data mahasiswa baru, data yang diinput cukup (NIM, Nama Lengkap, Tempat Lahir, Tanggal Lahir, Biaya Semester). | |
| Poin Penilaian: | |
| 1. Website sesuai dengan kriteria. | |
| 2. Tampilan menarik dan interaktif |
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 | |
| $biodata = [ | |
| "nama" => "Raka", | |
| "jenis_kelamin" => "L", | |
| "no_hp" => "8515541515", | |
| "alamat" => "Lebak, Banten", | |
| "usia" => 20, | |
| ]; |
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 | |
| $mahasiswa = [ | |
| ["nama" => "Andi", "nim" => 10002, "nilai" => 79], | |
| ["nama" => "Arfan", "nim" => 10003, "nilai" => 81], | |
| ["nama" => "Umam", "nim" => 10004, "nilai" => 60], | |
| ]; | |
| foreach ($mahasiswa as $mhs) { |
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
| Pertemuan #1: https://www.canva.com/design/DAGz48x8zDE/2BbeDan-vNEdLc9jmG6Hjg/view?utm_content=DAGz48x8zDE&utm_campaign=designshare&utm_medium=link2&utm_source=uniquelinks&utlId=hc1e41f809a |
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 | |
| $first_crypt = "AB"; | |
| $second_crypt = "AB"; | |
| $result_crypt = "BCC"; | |
| function calc($first_crypt, $second_crypt, $result_crypt, $operator = 'add') { | |
| $crypt_input = str_split($first_crypt . $second_crypt . $result_crypt); | |
| $merge_input = array_unique($crypt_input); | |
| sort($merge_input); |
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
| /*-------------------------------------------------------------------- | |
| Moch Diki Widianto - PT BUMI LANCANG KUNING PUSAKA | |
| Soal | |
| Cari kemungkinan banyaknya pola yang dapat ditemukan | |
| dari pattern "ABCD" | |
| Contoh: | |
| "ABCDASABCDSA" | |
| index 0 "ABCD" |
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 | |
| $datas = [ | |
| ['id'=> 1, 'parent_id' => 0, 'type' => 'HEADER', 'sequence_no' => 1], | |
| ['id'=> 2, 'parent_id' => 1, 'type' => 'OTHER', 'sequence_no' => 2], | |
| ['id'=> 3, 'parent_id' => 1, 'type' => 'OTHER', 'sequence_no' => 3], | |
| ['id'=> 4, 'parent_id' => 0, 'type' => 'HEADER', 'sequence_no' => 4], | |
| ['id'=> 5, 'parent_id' => 4, 'type' => 'OTHER', 'sequence_no' => 5], | |
| ['id'=> 6, 'parent_id' => 4, 'type' => 'OTHER', 'sequence_no' => 6], | |
| ['id'=> 7, 'parent_id' => 0, 'type' => 'HEADER', 'sequence_no' => 7], |
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> | |
| <!-- Required meta tags --> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <!-- Bootstrap CSS --> | |
| <link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous"> | |
| <link rel="stylesheet" href="https://pro.fontawesome.com/releases/v5.10.0/css/all.css" integrity="sha384-AYmEC3Yw5cVb3ZcuHtOA93w35dYTsvhLPVnYs9eStHfGJvOvKxVfELGroGkvsg+p" crossorigin="anonymous"/> |
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
| #sudo wget https://github.com/shiftkey/desktop/releases/download/release-2.1.0-linux1/GitHubDesktop-linux-2.1.0-linux1.deb | |
| #sudo gdebi GitHubDesktop-linux-2.1.0-linux1.deb | |
| # UPDATE (2021-03-05): Thanks to PaoloRanzi81's comment, the updated code is as follows https://gist.github.com/PaoloRanzi81 | |
| sudo wget https://github.com/shiftkey/desktop/releases/download/release-2.6.3-linux1/GitHubDesktop-linux-2.6.3-linux1.deb | |
| ### Uncomment below line if you have not installed gdebi-core before | |
| # sudo apt-get install gdebi-core | |
| sudo gdebi GitHubDesktop-linux-2.6.3-linux1.deb |
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 | |
| // init | |
| $flow = [ | |
| 'pertama' => 'Bismillah dan Perencanaan', | |
| 'kedua' => 'Lamaran', | |
| 'ketiga' => 'Akad dan Resepsi' | |
| ]; | |
| $status = "Lajang"; | |
| $days = 365; | |
| $plan = true; |
NewerOlder