Skip to content

Instantly share code, notes, and snippets.

@zdienos
zdienos / QontakService.php
Created October 3, 2025 11:12
qontak service untuk laravel
<?php
namespace App\Services;
use App\Models\QontakResponse;
use App\Models\Setting;
use Carbon\Carbon;
use Illuminate\Support\Facades\Http;
use Illuminate\Support\Facades\Log;
use Illuminate\Support\Facades\Schema;
@zdienos
zdienos / apache2ssl2wsl.md
Created June 26, 2024 12:47
Enable SSL on WSL2 Apache Windows 10
@zdienos
zdienos / customdomain.md
Last active May 17, 2024 06:16
Custom Multiple Domain on Local Host

Setup Custom Domain di Virtual Host!

Silahkan edit file /etc/apache2/apache.conf apache

sudo pico /etc/apache2/apache.conf

sesuaikan lokasi folder untuk custom domain

jawaban-gethired-devcode

//*6 ajnalisis nilai
$out[] = max($nilai);
$out[] = min($nilai);
return $out;


//* 7. Gunting Batu Kertas

Meet The Docker

Hi! Ini adalah kumpulan gist yang terkait dengan docker.

@zdienos
zdienos / Install_PHP_on_Arch_Manjaro.md
Created February 4, 2024 11:31 — forked from michaelbutler/Install_PHP_on_Arch_Manjaro.md
Install multiple PHP versions on Arch / Manjaro Linux

Install Any PHP on Arch / Manjaro

Through the AUR it is possible to install older and newer PHP versions, simultaneously on the same system. I often had trouble installing using pacman and pamac so here's what I did:

mkdir -p $HOME/bin
mkdir ~/src
cd ~/src
git clone https://aur.archlinux.org/php81.git
cd php81
@zdienos
zdienos / mariadbphpmyadmin.md
Created January 26, 2024 08:16
Instalasi MariaDB dan PHPMyAdmin di local ubuntu

Instalasi MariaDB dan PHPMyAdmin di Ubuntu!

Hi! ini catatan saja, biar ndak lupa, bagaimana cara menginstall MariaDB dan PHPMyAdmin.

Instal MariaDB

sudo apt install mariadb-server

Untuk custom lokasi database, hapus semua file di dalam directory berikut

@zdienos
zdienos / apache2ssl.md
Created January 26, 2024 06:05
Install Apache2 dengan sertifikat SSL di Ubuntu

Instalasi Apache2 dengan Sertifikat SSL di Ubuntu!

Hi! ini catatan saja, biar ndak lupa, bagaimana cara menginstall Apache dan SSL nya menggunakan mkcert.

Instal Apache2

sudo apt install apache2

Kemudian setup variabel global apache2, karena akan menggunakan user biasa saja, bukan untuk server kok

@zdienos
zdienos / template.md
Created January 26, 2024 03:55
Ini adalah master template MarkDown, digunakan untuk dasar dalam membuat markdown file. Kalau gak mau pake ini, bisa pake yang online sajaa di https://stackedit.io/app

Welcome to MarkDown Template!

Hi! I'm your first Markdown file in StackEdit. If you want to learn about StackEdit, you can read me. If you want to play with Markdown, you can edit me. Once you have finished with me, you can create new files by opening the file explorer on the left corner of the navigation bar.

Files

StackEdit stores your files in your browser, which means all your files are automatically saved locally and are accessible offline!

Create files and folders