December 31, 2021 Coding Website Configure VPS with details & LAMP Initial setup of Ubuntu LAMP stack: how-to-install-linux-apache-mysql-php-lamp-stack | how-to-install-a-lamp-stack-on-ubuntu PHB-Brew: github.com/phpbrew & blog/docker-php-8-zts-apache-swoole-parallel & gmp install LetsEncrypt: le-on-ubuntu | le-with-nginx | (on different port: here or here)Setup Firewall : firewall-on-ubuntu |… See More
December 12, 2021 Coding Website Add user & ssh key in Linux/Ubuntu If you have just setup VPS (i.e ubuntu 20.04 or any) and want to add new user with its own SSH key, then do: username=myuser adduser $username usermod -aG sudo… See More
July 20, 2021 Coding Website Install Redis Cache for PHP-8 There may be some tricky parts involved, and to avoid spending hours, this steps might give you some help, to install Redis Cache for PHP-8 on linux/ubuntu OS. Regular Install… See More
June 2, 2021 Coding Useful commands for docker (Windows) Sometimes, novice users might need a few useful commands to deal with docker images. Build Dockerfile Navigate terminal to the folder where is Dockerfile and execute build: docker build -t… See More
June 2, 2021 Coding PHP-8 (zts) & Apache & Swoole/Parallel (+ WordPress) with Docker/Ubuntu/PhpBrew We had another scenario, where the mentioned combination was needed to be installed. It was a bit cumbersome, but the final solution turned out to be: ### METHOD 1: using… See More
July 30, 2020 Browser Coding Windows & Software Password-Protect Firefox startup There have been some ways to password protect firefox to prevent startup by 3rd party persons, however, there seems no native addon at this moment (2019), so the only thing… See More
May 28, 2020 Coding Website Two-way Encryption/Decryption between PHP and C# (sharp) We have been using some simple approaches to securely transfer messages between PHP and C# . We published our method here on github: https://github.com/ttodua/useful-php-scripts/blob/master/two-way-encrypt-decrypt-PHP-C_sharp Note, you can use the code… See More
August 17, 2019 Coding Website WordPress Include WordPress (WP) Core without database Remember short-link to MUST-HAVE WP plugins: puvox.software/wordpress Use WP core functionality without MySQL/DB In very rare case, some people might want to use WP‘s nice functions in their projects, but… See More
June 26, 2019 Coding Windows & Software [SOLUTION] Clean Full Disk space by /dev/vda1 How to empty sda1,vda1 on VPS Sometimes your OS (Ubuntu, Linux, etc…) disk space might become full, by /dev/vda1/, /dev/vda2/, /dev/vda3/ or etc… (To check that, just navigate to root directory… See More
June 19, 2019 Coding WordPress Available functions, class during SHORTINIT (WP) Remember short-link to MUST-HAVE WP plugins: puvox.software/wordpress There is almost no documentation about WordPress SHORTINIT constant. It is mainly used when people need to load wp-core minimally (SHORTINIT is being checked in wp-settings.php)… See More
January 4, 2019 Browser Coding Website Windows & Software WAMP – Install SSL/HTTPS Here we wrote ALL NECESSARY STEPS, to explain how to install SSL & use HTTPS on WampServer (just change red words to your actual path) : Click in tray WAMP > Apache > Apache Modules and… See More
March 13, 2018 Coding Windows & Software SymLink – real mirror of file/folder (better than Shortcut) SymLink – Best & Alternative solution to Shortcuts (Windows 10,8,7, Linux, Ubuntu…) Probably, many of developers (either C#, PHP or anything…) have used same files (their “library files”) to build different projects. However,… See More
January 1, 2018 Coding Windows & Software [Solution] “The computer needs to be restarted before setup can continue” Fix Visual Studio installation error Many users, like me, who tried to run Microsoft Visual Studio (2013/2015/2017) installer , may get the error window with a message: The computer needs to… See More
December 13, 2017 Browser Coding Website Executing Github files (PHP/PYRHON/RUBY/etc…) on the fly Introduction to RunForGithub.com To view hosted file github.com, people uses htmlpreview.github.io , but it does only for .html files. However, there is ALL-IN-ONE site – RunForGithub.com! Execute PHP,RUBY,C#, C++, PYTHON (and more) scripts… See More
September 20, 2017 Coding Find several nearest (closest) values in C# Dictionary/List/Array Find several nearest numbers in C# Dictionary Recently I had a small task, trying to solve a specific problem. Maybe there exist better methods to solve the problem, though as I… See More
August 25, 2017 Coding Plugin WordPress CORRECT METHOD(!) to modify CSS/HTML/PHP of a WordPress website Remember short-link to MUST-HAVE WP plugins: puvox.software/wordpress How to modify any existing WordPress site CORRECTLY! Almost in 99% cases I’ve met, WordPress website holders, who want to modify their chosen… See More
August 11, 2017 Coding [Solution] The requested PHP extension ext-sockets * is missing from your system Fix the “ext-sockets” error in composer: If you tried to use composer and install any specific package/project (and probably, it’s the first time when you tried to install… See More
December 20, 2016 Coding Website Install PERL on WAMP Server (localhost) Installing PERL on WAMPSERVER Some people need to user PERL on Apache server, like WAMP-Server, XAMP or etc. I have been using the following method and worked well for me… See More