Skip to content

Instantly share code, notes, and snippets.

View prondubuisi's full-sized avatar
💭
Working Remotely

Onyemenam Ndubuisi prondubuisi

💭
Working Remotely
  • United States
View GitHub Profile

INFO: MissingReturnType - CRM/ACL/Page/ACL.php:95:19 - Method CRM_ACL_Page_ACL::run does not have a return type public function �[30;47mrun�[0m() {

INFO: MissingReturnType - CRM/ACL/Page/ACL.php:112:19 - Method CRM_ACL_Page_ACL::browse does not have a return type, expecting void public function �[30;47mbrowse�[0m() {

[0;31mERROR[0m: PossiblyInvalidOperand - CRM/ACL/Page/ACL.php:132:9 - Cannot add an array to a non-array bool

<?php
//Program to concatenate string of user input
$firstName = readline("Enter your first name ");
$lastName = readline("Enter your last name ");
$age = getAge();
$currentYear = date('Y');
$birthYear = $currentYear - (int) $age;
@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

Open Source Static Analysis Integration with Jenkins, Github, DigitalOcean and Psalm

Overview

  • Setup Digital OceanDroplet
  • Install Jenkins and required plugins
  • Configure Github to work with Jenkins
  • Set up PHP project
  • Add Psalm to project
  • Noteworthy Psalm Features
@prondubuisi
prondubuisi / variables.go
Created June 27, 2020 02:19
Variable Declaration in Go
package main
import (
"fmt"
)
var message string = "Hello"
var num1, num2 int = 1, 2
var a = "initial"
Build process completed successfully
Installing '/usr/local/lib/php/extensions/no-debug-non-zts-20200930/grpc.so'
install ok: channel://pecl.php.net/grpc-1.38.0
configuration option "php_ini" is not set to php.ini location
You should add "extension=grpc.so" to php.ini
Removing intermediate container dd9c198c7b1c
---> 7def76b057b0
Step 4/4 : WORKDIR /usr/src/myapp
---> Running in 4de586be792f
Removing intermediate container 4de586be792f
@prondubuisi
prondubuisi / Udacity_static_website_deployment.md
Last active January 8, 2023 08:45
Udacity Static Website Deployment Project Submission Files

Static Website Upload Screenshot

image

image

Static Webhosting Configuration Screenshot

image

IAM Bucket Policy Screenshot

Build Simple Ping Time App With Livewire Polling

undraw_Time_management_re_tk5w

Problem

You are working on your next big side project, and there are several hosting alternatives. Speed is an essential factor for your application. Which hosting option has the best speed?

Your approach to determining the speed of your application is measuring the ping time interval. The ping time interval measures from when your client(browser) sends a request to your server to when your server returns a response to the client. How can you measure the ping time interval in a Livewire application?

Static Website Upload Screenshot

image

image

Static Webhosting Configuration Screenshot

image

IAM Bucket Policy Screenshot

Website Files

The S3 bucket is created.

image

image

The S3 bucket is congured to support static website hosting.

image

The S3 bucket has an IAM bucket policy that makes the bucket contents publicly accessible.