Skip to content

Instantly share code, notes, and snippets.

View Llewellynvdm's full-sized avatar
🏗️
Working on Joomla Component Builder

<<eWɘ>>yn Llewellynvdm

🏗️
Working on Joomla Component Builder
View GitHub Profile
@Llewellynvdm
Llewellynvdm / Apache-proxy-setup.md
Last active July 31, 2021 09:45
Easy Joomla! 3.9.27 Docker Composer File

Apache Proxy Setup Instructions for Ubuntu 20.04

First Upate System:

$ sudo apt update
$ sudo apt upgrade -y

Install Apache:

@Llewellynvdm
Llewellynvdm / DB_generator_ALL.php
Created December 5, 2021 02:40
Generate Transportation SQL data
<?php
function randomLetter($size)
{
$bag = "A BC DEF G HIJKLL MNOP QRS TUV W XUZ ";
$key = array();
$bagsize = strlen($bag) - 1;
for ($i = 0; $i < $size; $i++)
{
$get = rand(0, $bagsize);
@Llewellynvdm
Llewellynvdm / buildPDF.method
Last active April 2, 2022 17:52
pdf table templete
/**
* @return bool
*/
protected function buildPDF()
{
if(class_exists('TCPDF'))
{
$template = $this->getTemplate('pdf.html'); // your function to get the html table
// convert product object to placeholders
$placeholders = array();