WEB DEVELOPMENT / WEB DESIGN
LINUX, PHP, HTML5, CSS (SASS), JS, (SYMFONY), JAVASCRIPT, WP, PRESTASHOP …
DevWL – Blog
Wiktor Liszkiewicz
Tip 1 – Looking for code examples?
Check https://hotexamples.com and search whatever you’re looking for!
Tip 2 – Join Grepper to quickly find and resolve programming issues.
Join community now at codegrepper.com
Tip 3 – Learn Docker by examples
See GitHub repo. Also read our docker blog
Online PHP sandbox
onlinephp.io
Blog Posts:
Web Server SSL Generator
SSL Generator for: OpenVPN, nginx, MySQL, Apache, lighttpd, Regis, PostgreSQL, AWS, Exim, Tomcat, Oracle HTTP and few others... Open SSL generator at: https://ssl-config.mozilla.org When constructing OpenVPN on Debian, it was configured in a way that a single...
Docker – How to log messages to container at runtime and terminal during build process.
Use "echo" in docker When you use the RUN instruction with the echo command in a Dockerfile, the output from the echo command will be visible in the build logs, not in the container's runtime logs. This means you'll see the output when you build the Docker image, but...
Docker – docker-compose custom PHP app setup
Starting app structure: ./DockerfilePHP (file) FROM php:8.3-cli LABEL maintainer="DevWL" # Install necessary extensions and tools RUN apt-get update && apt-get install -y \ git \ unzip \ && docker-php-ext-install pdo_mysql COPY . . COPY entrypoint.sh...
Git – How to flatter the branch to one commit
# check if branch is clean git status -s # create branch with no history git checkout --orphan flattened git add -A git commit -m "flattened" # git status -s git diff main..flattened # !!! This will overwrite remote main branch !!! git push origin +flattened:master #...
Quick introduction to Vagrant
What is Vagrant and why we use it? Vagrant is a tool to automate your virtual machine setup. Use vagrant init file to write a blueprint for your virtual machines. Vagrant configuration file is written in Ruby programming language. Configure providers and provisioners,...
Openssl – Generate private and public keys using PHP in Windows 10/11
In Windows 10/11, you will need to set config path to openssl (openssl.cnf file). You can find this file in PHP directory. If you have installed gash shell you can run: php.exe -i | grep 'Configuration File' In my case, I have installed PHP under C:/php/php. Your path...
How to securely store passwords in a database.
Keeping your passwords in a database in a plane format is a very bad idea. So why not to use hashing? Sure you can use hash, end it is totally OK to compare hash against hash. Especially if the password you want to store are not yours. Then this is the way to do it...
Install Mysql Or MariaDB on WSL ubuntu
sudo apt update && sudo apt upgrade Install MySQL sudo apt install mysql-server mysql --version sudo /etc/init.d/mysql start If you want to secure MySQL by setting up the user pass, you can also run sudo mysql_secure_installation Allow remote access Allow...
SQL (MariaDB) add numbering column to a results of sorted and unsorted query
Adding numbering to not sorted query. If your query is not sorted, adding a number to a query can be as easy as: SELECT ROW_NUMBER() OVER() AS num, This will work if you will not use ORDER BY clause in your query: If you add ORDER BY clause, things work differently....
Connecting PHP with MariaBD on Windows
Install NgineX start nginx Configure NgineX PHP CGI section like here: https://devwl.pl/nginx-php-on-windows-10/ Install PHP-CGI Navigate to PHP directory and run: php-cgi.exe -b 127.0.0.1:9999 Install MariaDB Run MariaDB Change default port number 3036 to 3333 at...
How to retrieve forgotten WP custom login url/ login path from database, set in All-In-One Security (AIOS) – Security and Firewall plugin.
Login to your database and run query: SELECT * FROM wp_mds_options WHERE option_name = 'active_plugins'; The result would look like:...
NginX + PHP on Windows 10
Installing Nginx on Windows Download NginX files from: https://nginx.org/en/docs/windows.html. Unzip to C\{name-version} (in my case it would be C:\nginx-1.25.4 directory). Open PowerShell as an Administrator and lunch server by typing cmd: start nginx Every time you...
CodePen – JS Mini Projects
Favourite Books
If you thinking about good lecture, you might consider one of those books.
Love to code
We Are
Passion for coding and learning new things.
PHP
HTML5
Java Script
Work Tools
PHP OOP Symfony
JS ES6 React
MySQL / MariaDB / PostgresSQL
We Do
More
Other technologies
Website Design
Lorem insum dolor amet consec tetur adiriscin elit eiusmod temsor dolore masna alirua.
READ MORE
Google Ads
Lorem insum dolor amet consec tetur adiriscin elit eiusmod temsor dolore masna alirua.
READ MORE
Domain Register
Lorem insum dolor amet consec tetur adiriscin elit eiusmod temsor dolore masna alirua.
READ MORE
VPS Server with WHM cPanel setup
Lorem insum dolor amet consec tetur adiriscin elit eiusmod temsor dolore masna alirua.
READ MORE
Web Development
Lorem insum dolor amet consec tetur adiriscin elit eiusmod temsor dolore masna alirua.
READ MORE
Other Services
Lorem insum dolor amet consec tetur adiriscin elit eiusmod temsor dolore masna alirua.
READ MORE
Send Mail
wiktor[at]devwl.pl
Our Phone
+48 530 772 177
Message
Contact Me