$remoteport = bash.exe -c "ifconfig eth0 | grep 'inet '" $found = $remoteport -match 'd{1,3}.d{1,3}.d{1,3}.d{1,3}'; if( $found ){ $remoteport = $matches[0]; } else{ echo "The Script Exited, the ip address of WSL 2 cannot be found"; exit; } #[Ports] #All the ports you want to forward separated by coma $ports=@(22,80,443,10000,3000,5000); […]
Blog
I use OpenVPN smoothly with Windows 10 behind my dorm network’s http proxy. When I use Linux Mint with same client.ovpn, I can Auth successfully.But when I inspect traffic with wireshark, I see that DNS packages go to dorm network DNS server. I Can’t Override OpenVPN’s DNS Settings to Dorm […]
VPNs are an essential part of protecting your online privacy, and nowadays it’s common to hear of people using them. Ten years ago, if you’d asked the average person about VPNs, they’d probably have had no idea what you were talking about. With the rising popularity of watching US Netflix […]
Customers can’t able to reset their password, they received reset password email after entering passwords then click Set a New Password button the link not working, i mean link not trigger, Email reset templates i am using customize templates from the admin panel extends from the default forget password email […]
So, I have a custom email setup for credit memo and I am using {{var creditmemo.grand_total}} variable to display refunded amount in my transactional email. Everything is fine except I want to show two digits after decimal no matter what. Right now its showing 2 digits after decimal but if […]
I would like to redirect some of my store urls for better SEO. i have 5 storeviews and all of them have diffrent domains. Example www.example.de www.example.eu www.example.fi etc. I tried redirecting using .htaccess and for the main site it works. Works RedirectPermanent /catalog/item/1 /newcatalog/item/1 But when i try to […]
I am working with magento2.3.2.I am adding Google Maps to the template file. And it is adding successfully in the development environment but facing issues in the production server. I have attached a screenshot for reference. This is the error that I am facing in the console. I had also […]
Given an array A[] of N integers where N is even, . the task is to generate an array of medians where the median of… Read More The post Find Median for each Array element by excluding the index at which Median is calculated appeared first on GeeksforGeeks.
I’m attempting to make it so that if I click on one of the thumbnails in the carousel it opens the fullscreen mode rather than the customer having to click twice to first get the image onto the stage/previewed image. I tried using the demo at http://artpolikarpov.github.io/fotorama/test/lightbox.html I modified the […]