Author archive: ZERIN

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 {     […]
Flutter Programming
Flutter Project: Insecure URL is not working in Android / IOS
April 14, 2021
0
, , , ,
I am developing a flutter project called ZTutor. While testing in Android my login was not working, my app was sending data to localhost, which is my local pc. My localhost url was http://192.168.0.105/ztutor/login.php but that url was not receiving any request from the App. So, I changed in the android/app/src/main/AndroidManifest.xml: I have added this […]