Category: development

Setup Laravel 10.x Homestead in Windows 10/11

Section – 1 [Install Software] https://laravel.com/docs/10.x/homestead#installation-and-setup vagrant_2.3.7_windows_amd64.msi – https://developer.hashicorp.com/vagrant/downloads VirtualBox-6.1.46-158378-Win.exe – https://www.virtualbox.org/wiki/Download_Old_Builds_6_1 VirtualBox 6.1.46 (released July 18 2023) << This and Not the >> VirtualBox 7.0.10 platform packages – ​Windows hosts According to: https://laravel.com/docs/10.x/homestead#installation-and-setup Code Editor/IDE: PhpStorm-2023.1.4.exe or VSCodeSetup-x64-1.80.1.exe Lastly install: Git-2.41.0.3-64-bit.exe – https://git-scm.com/downloads Section – 2

Read More

Why Ubuntu Studio OS is the Best Linux Distribution

Ubuntu Studio is a free and open-source Linux distribution that is designed for content creators, musicians, and other multimedia professionals. It is based on Ubuntu and has all the benefits of Ubuntu, Kubuntu, and other Ubuntu flavors. In this blog post, we will discuss why Ubuntu

Read More

Enable CORS for multiple domains in PHP

In this article, we’ll explain to you how to permit CORS requests for multiple origins in PHP. To get the response from a simple cross-origin POST request, we need to include the header Access-Control-Allow-Origin. The specification of Access-Control-Allow-Origin allows for multiple origins, or the value null,

Read More

Exploring Security Issues with JavaScript Web APIs

This article explores the challenges and solutions of using third-party APIs in web applications while maintaining security. Browsers have a same-origin policy in place to prevent unauthorized data exchange between different domains. However, this policy can sometimes hinder the transfer of data between websites that have

Read More

Linux CLI Terminal: Free Memory & Free Disk Space

How to Check Free Memory Space on Linux ======== How to Check Free Disk Space on Linux ========

Read More

VS Code & PhpStorm 2-clicks Auto-Format Code

PhpStorm (Menu Code > ReFormat Code/File) * Reformat File has more Options as seen in the second screenshot VS Code (Right-Click + choose: Format Document/Selection) Format Document: For All Document but Format Selection: Only for the Selected Code

Read More

Bootstrap 5.x Pop-overs As Fast As 3-Steps

Official Docs located here: https://getbootstrap.com/docs/5.1/components/popovers/ Production Example here: http://michaeleliasphotovoltaicsystems.com/products.php STEP-1 [in the place of Popovers – HTML5]: STEP-2 [Bottom, Below The Footer]: STEP-3 [Bottom, Below/After Step-2]: That’s it…!!! ========================

Read More

Responsive Bootstrap 5.x Lightbox Gallery

The below Tutorial worked and was tested with Bootstrap 5.0.2 – SUCCESS. https://getbootstrap.com/docs/5.1/getting-started/download/ I implemented it in Production here: http://www.michaeleliasphotovoltaicsystems.com/projects.php Note: FOUND A DIFFICULTY BUT – Got Error in Browser Console – SOLVED BY DOWNLOADING: bootstrap.min.css.map from https://www.cdnpkg.com/twitter-bootstrap/file/bootstrap.min.css.map/ AND PUT IN THE SAME FOLDER AS \assets\css\bootstrap.min.css

Read More

Useful Notes – Ubuntu/Ubuntu Studio 22.04 LTS “Jammy Jellyfish”

I use Ubuntu Studio 22.04 LTS “Jammy Jellyfish” because comes with many-many preinstalled Apps.Main Things to do after installing Ubuntu Studio 22.04 LTS “Jammy Jellyfish”======== I have chosen Ubuntu Studio 22.04 LTS because I do Graphic and Video Editing along with my main Programming work…[Support: Ubuntu Studio 22.04 LTS

Read More

Check the Python version from the command line and in the Python script

/Users/leonidassavvides/PycharmProjects/pythonProject2/venv/bin/python /Users/leonidassavvides/PycharmProjects/pythonProject2/main.pyHi, PyCharmPython 3.10.4Python 3.10.4Python 3.10.4 (v3.10.4:9d38120e33, Mar 23 2022, 17:29:05) [Clang 13.0.0 (clang-1300.0.29.30)] Process finished with exit code 0

Read More