Skip to content

Instantly share code, notes, and snippets.

View prondubuisi's full-sized avatar
💭
Working Remotely

Onyemenam Ndubuisi prondubuisi

💭
Working Remotely
  • Owerri, Imo. Nigeria.
View GitHub Profile
@dims
dims / README.md
Last active October 27, 2024 10:48
Kubernetes Resources
@prondubuisi
prondubuisi / Gsoc-2019-report.md
Last active February 22, 2024 06:31
GSoC 2019 report for CiviCRM project; Static Code Analysis Integration and PHPUnit code coverage report Improvements for CiviCRM
@totten
totten / quick-and-dirty-ci-intro.md
Last active June 13, 2019 18:39
Quick and Dirty Intro to Civi CI

Quick and Dirty Intro to Civi CI

Background

I find it easiest to consider the stack in three layers:

  • Host Environment or System Platform: Loosely, this is the collection of MySQL, Apache, PHP, NodeJS, and so on. These system-services and language-runtimes are provided in many distribution channels (e.g. Debian, Ubuntu, CentOS, RHEL, nix, MAMP, XAMPP, Bitnami, Docker, etc).
@mdsami
mdsami / Laravel-carbon.blade.php
Last active May 19, 2023 09:02
Laravel-carbon AM , PM Date formate in blade
// 24 Hrs formate
<td> {{ Carbon\Carbon::parse($item->created_at)->format('d-M-Y G:ia') }}</td>
//Output
//20-Jan-2019 00:17:16 AM
// 12 Hrs formate
<td> {{ Carbon\Carbon::parse($item->created_at)->format('d-M-Y g:i:s A' ) }}</td>

Work Summary - GSoC 2018

Project

Title: Make a module that will handle all the PDF generation requirements of the software autonomously | Project proposal
Mentors: Tony McCormick, Nilesh Prasad
Organization: LibreHealth

Introduction

The software used a lot of exteranal libraries like HTML2PDF, MPDF, FPDF and TCPDF. My aim for the project was to make a custom PHP library based on TCPDF as backbone to create PDFs autonomously according to the data present in the database and the choices made by the user.

Work Done

@djandyr
djandyr / gist:c04950a1375e96814316
Last active November 5, 2024 13:26
MacOS XAMPP PHP Installation

Change default Mac OS X PHP to XAMPP's PHP Installation and Install Composer


Find out what version of PHP is running

which php

This will output the path to the default PHP install which comes preinstalled by Mac OS X, by default

@thepsion5
thepsion5 / EloquentFooRepository.php
Created May 2, 2014 15:09
Example implementation of a Eloquent-based repository that provides a fluent interface for sorting and pagination without exposing the underlying model API.
<?php
class EloquenFooRepository
{
/**
* The base eloquent model
* @var Eloquent
*/
protected $model;