Skip to content

Instantly share code, notes, and snippets.

View aalfiann's full-sized avatar
🏠
Working from home

M ABD AZIZ ALFIAN aalfiann

🏠
Working from home
View GitHub Profile
@aalfiann
aalfiann / docker-compose.yml
Created March 22, 2025 17:01
PostgreSQL Docker Compose
services:
postgres:
image: postgres:17
container_name: postgres17
restart: unless-stopped
ports:
- "6543:5432"
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: w3lCome_[p0stgre-234]_
@aalfiann
aalfiann / dzikir-setelah-sholat-sesuai-sunnah-nabi-muhammad-saw.md
Created December 12, 2024 18:14
Dzikir setelah sholat sesuai sunnah Nabi Muhammad SAW

Dzikir setelah sholat adalah salah satu sunnah Nabi Muhammad SAW yang sangat dianjurkan untuk mendekatkan diri kepada Allah SWT. Berikut adalah tata cara berdzikir setelah sholat sesuai sunnah Nabi Muhammad SAW:

1. Mengucapkan Istighfar (Memohon Ampunan)

Setelah selesai sholat, ucapkan:

  • Astaghfirullah (3 kali)

Ini adalah permohonan ampunan kepada Allah SWT atas kekurangan dalam melaksanakan sholat.

@aalfiann
aalfiann / list-ecoystem-xec-ecash.txt
Created April 10, 2024 20:50
List Ecosystem of XEC eCash
Here is the list Ecosystem of $XEC #eCash.
Last update: 01 April 2024
Official:
- Exchange >> https://e.cash/get-ecash#exchanges
- Wallet >> https://e.cash/wallets
- Service Partner >> https://e.cash/get-ecash#Services
- Mining >> https://e.cash/get-ecash#mining
- eCash Community >> https://ecash.community
- eCash Play >> https://t.me/eCashPlay
@aalfiann
aalfiann / Guide for Long-Term-Holder-Cryptocurrency-2023.md
Last active December 5, 2023 08:08
Guide for Long Term Holder Cryptocurrency 2023

Guide for Long Term Holder Cryptocurrency 2023

This is not a financial advices, because cryptocurrency is high risk and very volatile so there is no return guarantee.
But if you plan to hold for very long term, here is the some guides for you.

12 points which is describes below here is only based on medium of exchange and store of value point of view.

1. Mineable

Mineable coin will create a small inflation to stimulate an economic to the community.

@aalfiann
aalfiann / example-custom-checkbox.html
Created February 2, 2023 15:20
Example Custom Checkbox HTML CSS
<!DOCTYPE html>
<html>
<head>
<style>
.main {
display: block;
position: relative;
padding-left: 45px;
margin-bottom: 15px;
@aalfiann
aalfiann / select-with-checkbox.js
Last active January 29, 2024 05:40
Select with checkbox pure javascript
"use strict";
/**
* Getmedik Select with Checkbox
*
* Note:
* Example required config
*
* {
* "element": "",
* "name": "",
@aalfiann
aalfiann / MySql-5.6-installation guide.md
Created September 14, 2022 08:11 — forked from vinodpandey/MySql-5.6-installation guide.md
Install MySQL 5.6.xx on Ubuntu 18.04 & Ubuntu 20.04

MySQL Download URL

https://dev.mysql.com/get/Downloads/MySQL-5.6/mysql-5.6.46-linux-glibc2.12-x86_64.tar.gz

Open the terminal and follow along:

  • Uninstall any existing version of MySQL
sudo rm /var/lib/mysql/ -R
@aalfiann
aalfiann / getMoonPhase.js
Created June 14, 2022 19:33 — forked from endel/getMoonPhase.js
Get Moon Phase by Date, written in JavaScript
/*
* modified from http://www.voidware.com/moon_phase.htm
*/
function getMoonPhase(year, month, day)
{
var c = e = jd = b = 0;
if (month < 3) {
year--;
@aalfiann
aalfiann / gist:5df657e1b3a60ccf6740d02d9d0116ee
Created April 22, 2022 09:20 — forked from singhabhinav/gist:132b8196abac026b43fa
Install SSL certificate in Nginx (Using .crt & .ca-bundle certificate files)
Step 1 - Create .crt file
cat domainname.crt domainname.ca-bundle > domainname-ssl-bundle.crt
Step 2-
Add lines for ssl_certificate in nginx configuration
server {
listen 80 default_server;
@aalfiann
aalfiann / get_url_param.js
Created May 7, 2021 11:21
Get URL Parameter
function getUrlParam(url) {
if (url) {
var query = url.split('?');
if (query[1]) {
var data = {};
var queries = query[1].split('&');
for (var i = 0; i < queries.length; i++) {
var item = queries[i].split('=');
data[item[0]] = decodeURIComponent(item[1]);
}