Hello. My name is A.R. ZERIN. I am an Entrepreneur, Technology Optimist and a Software Engineer from Dhaka, Bangladesh .
Programming is my passion. Life is beautiful, so I am trying hard to enjoy it.
I have completed my Undergraduate Degree in Computer Science & Engineering at 2004 and working in the era of IT for last 14+ years dedicatedly.
I am a believer of, “He who aims at the sky, shoot higher much than he who aims at a tree“.

php tcpdf
TCPDF ul li works actually
December 25, 2022
0
$pdf = new PdfLibrary('P', 'mm', 'A4', true, 'UTF-8', false); //$pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, true, 'UTF-8', false); $pdf->SetTitle('My Title'); $pdf->SetHeaderMargin(30); $pdf->SetTopMargin(30); $pdf->setFooterMargin(30); $pdf->SetAutoPageBreak(true); $pdf->SetAuthor('Author'); $pdf->SetDisplayMode('real', 'default'); $pdf->AddPage(); $pdf->SetLineStyle( array( 'width' => 5, 'color' => array(0,0,0))); $pdf->Line(0,0,$pdf->getPageWidth(),0); $pdf->Line($pdf->getPageWidth(),0,$pdf->getPageWidth(),$pdf->getPageHeight()); $pdf->Line(0,$pdf->getPageHeight(),$pdf->getPageWidth(),$pdf->getPageHeight()); $pdf->Line(0,0,0,$pdf->getPageHeight()); //https://ourcodeworld.com/articles/read/275/how-to-encrypt-a-pdf-password-protection-against-copy-extraction-or-modifications-generated-with-tcpdf-in-php //$pdf->SetProtection(array('print', 'copy','modify'), "ourcodeworld", "ourcodeworld-master", 0, null); $pdf->SetMargins(10, 20, 10, true); //$pdf->Write(5, 'Some sample text'); […]
Commands Mac Server
How to Run PHP Specific Version for a PHP Script in MacOSX?
August 15, 2022
0
Suppose you have a php CLI Script that runs only on php version 5.4, but your default PHP version is 8.0.1. So run the below command to run the php Script in PHP 5.4: # /Applications/MAMP/bin/php/php5.4/bin/php -q test.php If you need to ru the PHP Script inn PHP 7.4 then run the below command: # […]
Linux CentOS
How To Setup a Subdomain with SSL on Amazon Linux 2 AMI
September 16, 2021
0
, , ,
I assume that you can login to Amazon Linux 2 AMI console. Once you login there, type the below command to find where are host file configuration: #apachectl -S go to /etc/httpd/conf.d/ as I can see the hosts file are setup under that folder. # cd /etc/httpd/conf.d/ # ls -al You will see all the […]
CodeIgniter Framework
Codeigniter 4 Tweak: How to Remove public & index.php from browser for better SEO
July 27, 2021
0
, , ,
CodeIgniter4 framework-based site page needs to browse using the public by default. If you want to remove that public from the URL & also if you want to remove index.php from URL, do the following things: Step 1: Copy public folder index.php & .htaccess to the root folder Step 2: Then in the root index.php […]
Server WHM
Generating ECC CSR Certificate on Apache on Linux CentOS – PCI standards
June 9, 2021
0
, , , , ,
Generating ECC CSR Certificate on Apache on Linux CentOS – PCI standards
Recently My One of the Product PayPal IPN was not working. I thought my code had some problems but after changing whole codes, it was not working. Then I discovered using Paypal IPN Simulator (https://developer.paypal.com/developer/ipnsimulator/) that IPN was not handshaking with my domain as my domain was using very basic SSL. So, I found that […]
IOS + Swift Swift 5
Swift – Add Sections to List
May 9, 2021
0
struct Pizzeria: View {     let name: String     var body: some View {         Text(“Restaurant: \(name)“)     } }   struct MainView: View {     var body: some View {         List {             Section(header: Text(“Important tasks”)) {     […]
IOS + Swift Swift 5
Swift – How to let users delete rows from a list
May 9, 2021
0
struct MainView: View {   @State private var users = [“ZERIN”, “ARIF”, “TIKLU”]     var body: some View {         NavigationView {             List {                 ForEach(users, id: \.self) {                   […]
IOS + Swift Swift 5
Swift – Carousel Lists on watchOS
May 9, 2021
0
List(1..<51) { Text("\($0)") } .listStyle(CarouselListStyle())
IOS + Swift Swift 5
Swift – create expanding lists
May 9, 2021
0
,
// //  MainView.swift //  MySwiftLearning1 // //  Created by Arifur Rahman Jerin on 4/30/21. // import SwiftUI struct Bookmark: Identifiable {     let id = UUID()     let name: String     let icon: String     var items: [Bookmark]?     // some example websites     static let apple = Bookmark(name: […]
Swift 5
Swift – create grouped and inset grouped lists
May 9, 2021
0
//  MainView.swift //  MySwiftLearning1 // //  Created by Arifur Rahman Jerin on 4/30/21. // import SwiftUI struct Pizzeria: View {     let name: String     var body: some View {         Text(“Restaurant: \(name)“)     } } struct MainView: View {     var body: some View {     […]