Skip to content

Instantly share code, notes, and snippets.

@dozer111
dozer111 / JsForceRedirect.md
Last active October 8, 2019 11:56
Force redirect on js
function url_redirect(url){
    var X = setTimeout(function(){
        window.location.replace(url);
        return true;
    },300);

    if( window.location = url ){
        clearTimeout(X);
 return true;
@dozer111
dozer111 / xdebug.md
Last active August 5, 2024 07:46
Xdebug + PHPstorm

1. встановлюємо xdebug

# sudo apt-get install php<version>-xdebug


sudo apt-get install -y php8.3-xdebug
sudo apt-get install -y php8.2-xdebug
sudo apt-get install -y php8.1-xdebug
sudo apt-get install -y php8.0-xdebug
@dozer111
dozer111 / test.md
Last active May 3, 2019 14:00
test