Skip to content

Instantly share code, notes, and snippets.

View Nakakari's full-sized avatar
🌴
On vacation

Nakakari Nakakari

🌴
On vacation
View GitHub Profile
<?php
// simple PHP example
$day = $_GET['day'] ?? 'default';
switch ($day) {
case '1':
$special = 'Chicken in oyster sauce';
break;
default:
$special = 'Fish and chips';
break;
@Nakakari
Nakakari / README.md
Created December 27, 2022 01:31 — forked from setdjod/README.md
Cara Mengaktifkan SSL di XAMMP Windows 10 64bit

Cara Mengaktifkan SSL di XAMPP

Persiapan

  1. Download cert-template.conf
  2. Download make-cert.bat
  3. Buka folder "C:/xampp/apache/" lalu buat folder cert
  4. Copy 2 file yang sudah didownload pada folder cert
  5. Buka make-cert.bat dan ikuti instruksinya

Konfigurasi

  1. Buka file "C:/xampp/apache/conf/extra/httpd-vhosts.conf" dan lihat contoh berikut ini
@Nakakari
Nakakari / wazzapp.php
Created August 13, 2022 07:19
Soal OOP nomor 2
<?php
// README
// ======
//
// Ini adalah contoh aplikasi Instant Messaging sederhana, sebut saja WazzApp.
// Di setiap skenario telah dituliskan komentar untuk membantu Anda memahami kebutuhan fungsional yang harus diimplementasi.
//
// Misi Anda adalah melengkapi potongan kode yang disediakan sehingga aplikasi dapat berjalan sesuai kebutuhan.
//