WEB DEVELOPMENT / WEB DESIGN
LINUX, PHP, HTML5, CSS (SASS), JS, (SYMFONY), JAVASCRIPT, WP,  PRESTASHOP …

DevWL – Blog

Wiktor Liszkiewicz

Example projects

... (build custom slider porfolio here)

Manage Errors in PHP / WordPress

You can define an array of constant as a key value and assign boolean as its value (TRUE/FALSE). By filtering array on its boolean value you can then sum value of all keys to create a unique value which will represent your error level. //...

Run bash command every X s

To run bash command in time interval you could simple run this command in while command. You could also stop this command after X num of seconds. #!/bin/sh STATE=true RUNTIME=0 STOPAFTER=1200 while STATE do # your command here sleep 300 RUNTIME+=300 if(STOPAFTER >=...

WP – Turn off error / notice output

Turning off PHP Errors in WordPress File: ./wp-config.php Inside your wp-config.php file, look for the following line: define('WP_DEBUG', true); It is also possible, that this line is already set to false. In either case, you need to replace this line with the...

Install phpMyAdmin in Laragon

You can download php my admin from https://www.phpmyadmin.net/downloads/ . Download version compatible with your php version and place it in {LARAGON_DIR}\etc\apps\phpMyAdmin Access phpMyAdmin from http://localhost/phpmyadmin...

Permissions in Linux

https://phoenixnap.com/kb/what-is-umaskhttps://phoenixnap.com/kb/linux-commands-cheat-sheet

Laragon – enable SSL

Laragon development env have build in SSL support. There are two steps to enable this feature in your project. Step 1 Step 2 Next add Laragon certificate to trust store like in example bellow: If you won't do that. Your browser will display your page as...

Laragon database Crashed! Easy Fix.

So your database crashed and it wont start? There can be many reasons behind that issue. Sometimes its just a bad luck (unfortunate error which brakes some file in database system).This happen to me few times and I had to deal with this issue like you now. After all...

Laragon – Install mariadb / update mysql

From time to time you will need to update or migrate your environment. Same applies to development env. There fore you should get familiar with installing new mysql engine forks or versions. In this tutorial we will install the latest stable mariadb v10.6.4 To install...

Add alias to git

List all aliases To list all aliases use $ git config --get-regexp alias My output: alias.lg1 log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold...

Create an array and loop over it in bash

See the fallowing example. Note the use of () after +=. #!/bin/bash #Plugins: #AFC | #itsecurity | ... #https://www.linuxjournal.com/content/bash-arrays UPDATEFILE=y if [ "$UPDATEFILE" = "y" ] then PLUGINARR=()...

PHP Design Patterns book recommendations

Recommended readings

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

VS Code
Symfony
PHP 
OOP
Composer

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

Software we Use

Send Mail

wiktor[at]devwl.pl

Our Phone

+48 530 772 177

Message

Contact Me

Send Me a Message