Skip to content

Instantly share code, notes, and snippets.

View DykiSA's full-sized avatar
👋
Welcome to my github account

DykiSA

👋
Welcome to my github account
View GitHub Profile
@DykiSA
DykiSA / Laravel 10 inside subfolder.md
Last active September 19, 2023 12:11
Setup Laravel 10 inside subfolder with Apache server, (and with Livewire 3)

Notable steps on installing Laravel 10 inside subfolder

First make sure you already create Laravel 10 project, see Laravel 10 Installation Guide.

This is useful to make your url accessible without navigating to /public folder.

  1. Create a .htaccess file and put it in your root folder of your project with the content below.

    # this file must be in the root directory of your project
    
@DykiSA
DykiSA / spiral-css.md
Last active May 8, 2022 05:42
Experiment - Spiral animation with CSS

This is my experiment when learning a @keyframe feature of CSS3

The preview is shown in the video here.

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
@DykiSA
DykiSA / WKPDF.php
Last active April 20, 2020 06:59
Generate PDF using PHP Codeigniter + wkHtmlToPdf
<?php defined('BASEPATH') or exit('No direct script access allowed');
use mikehaertl\wkhtmlto\Pdf as HtmlToPDF;
/**
* A simple codeigniter library to help setup phpwkhtmltopdf
* @link https://gist.github.com/DykiSA/
*/
class WKPDF
@DykiSA
DykiSA / setup-pm2.md
Last active April 13, 2020 05:19
Setup PM2 - Realtime NodeJS service and monitoring

Install PM2 globally (if not yet installed)

npm i -g pm2

Registering and Startting an app

pm2 start --name '' 
@DykiSA
DykiSA / learn-rn.md
Created December 6, 2019 12:03
List of React Native Acknowledge

React Native Core Acknowledge:

  1. Creating Project
  2. Running Project
  3. Packaging Project
  4. Navigation
  5. Tab Bar
  6. List View
  7. Form Submit
  8. Form Validation
@DykiSA
DykiSA / design.md
Last active August 3, 2022 19:52
Material Resources
@DykiSA
DykiSA / java-jersey+jackson+genson-related-Issues.md
Last active August 21, 2019 10:08
Java Jersey + Jackson + Genson related Issues
@DykiSA
DykiSA / Menu.php
Last active April 13, 2020 05:42
Generate HTML Menu element using PHP script
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* Menu class helper
*
* Generate structured html menu from php
*
* @author Dyki Surahman Abi
* @link https://github.com/dykisa
*/
@DykiSA
DykiSA / vaadin-10.arch.md
Last active November 3, 2018 04:32
Vaadin 10 - System Architecture for Bakery Demo

ARCHITACTURE PATTERN

Service Layer

It responsible to provide the data.

  1. Entity - a class that provide table schema
  2. Entity Repository - an interface for several query statement
  3. Entity Service - a class that provide action for reading and writing the certain data that requested by Data Provider