Skip to content

Ademir Mazer Junior

YOUTUBE

YOUTUBE

Youtube channel with free software development videos

Title

TWITTER

Mazer Twitter profile

MAZER.DEV

MAZER.DEV

About me and my professional career


Recent posts

LaraDock error with Mac Silicon computer (MacBook Pro M1) – Docker Desktop Apache2_1 exits with code 2
In an installation of Laradock, to run the environment in Docker on a Mac Silicon computer (MacBook Pro or M1) following the steps below, Apache2 does not come up, showing error exited code 2: Steps git clone [email protected]:laradock/laradock .gitcd laradockcp .env.example .envdocker-compose build workspacedocker-compose build apache2docker-compose up apache2 workspace ——> Apache2_1 exited with code …
How to solve Laradock and Docker error with Python modules
When trying to upload docker containers, to the Laradock distribution, with the default apache2, redis, mariadb and workspace images, I came across the following list of errors. Apparently the errors describe that Python modules are not available, for not finding the *.py files. $ docker-compose up -d apache2 redis …
Creating the README of your profile on Github
Customize the README of your profile on Github, make your programmer business card "your face" and increase the visibility and clarity of your technical position in the area of software development. What is README A README file is often the first …
How to install VSCode on Linux Ubuntu and Mint
The best way to install VS Code (Microsoft Visual Studio) on Debian-derived operating systems, such as Linux Ubuntu or Linux Mint, is through official packages. Visual Studio Code is a lightweight source code editor that provides comprehensive and easy-to-understand support for editing, navigating, and …
How to repopulate with old the input file upload field, in PHP and Laravel
After validating data entry forms, which return to the user with information about errors that must be corrected, the good practice of populating fields with the old values (old) cannot be applied to upload fields – field files , both in PHP Laravel…
Reasons to choose and use PHP as a programming language
Many beginners and even experienced developers, but who don't know the language, question what are the reasons to choose, and definitely use PHP as the programming language for a small or large project, first language or freelance project. Many love to hate the PHP language, even so, …
semantic git commits
Semantic commits in the use of Git and other VCS (code versioning systems) are the best way to document implementation execution, as they give context to change management. Writing unclear commit messages, such as task done or bug fixed, does not help with code maintenance and …
How to fix slow GIT with SSH on Github, Gitlab or Bitbucket
To fix slow push and pull GIT commands, when we are using ssh keys in Github, Gitlab and Bitbucket repositories services, it is necessary to change the IP version configuration used. I like to use HTTPS connections from versioning services and source code repository, mainly…
How to fix ESLint error 'Unexpected string concatenation'
When running ESLint in Javascript, NodeJs or ExpressJs code, we may encounter "Unexpected string concatenation" or "Unexpected string concatenation" error. This lint points to possible code that handles string concatenation, which was written in such a way as to be difficult to read. Fixing the bug...
How to resolve the fatal error refusing to merge unrelated histories
The fatal error refusing to merge unrelated histories is thrown when trying to automatically merge projects that have different Git histories. Since Release 2.9.0 Git does not allow this operation. The fatal error: refusing to merge unrelated histories usually happens when you try to git pull a remote repository, but...
Connecting Laravel Databases to Docker Laradock
The connection is very straightforward and intuitive to MySQL or Mariadb database servers in a PHP Laravel project when using Docker containers from the Laradock project. But some tips and reminders are important to avoid wasting time when preparing your development environment…
How to Free Up Hard Disk Space in Linux Ubuntu, Mint, Debian
Running out of space on your Linux system? Here are several ways to clean up your system to free up space on Ubuntu and other Debian-based Linux distributions like Mint. Over time, any operating system's hard drive can become cluttered as programs are added and …
en_USEnglish