I’ve just released the first Internet edition of my new book, Adventures with the Linux Command Line. This 250+ page volume is a sequel/supplement to The Linux Command Line (TLCL). With 14 action-packed chapters, it covers a variety of skill-enhancing topics intended for makers, students, and anyone who wants to […]
Monthly Archives: October 2021
This article presents an easy-to-follow guide for building an interactive linear gauge chart in JavaScript. We’ll show to quickly create a cool and interactive linear gauge chart that highlights Covid-19 vaccination data around the world. Our chart will allow us to visualize the status of Covid-19 vaccination at the time […]
One of the most effective and fun ways to boost your web development skills is by cloning an existing web page or website. In this tutorial, we’ll be cloning the Hacker News home page, making use of React and HarperDB. By the time we’re done, our cloned version of the […]
How could I zip all my Magento files excluding non-required to a local setup? I usually run this command below to get all the files but it takes too long and the files are too heavy. zip -r magento2.zip ./* Do you have any suggestions to improve it?
I want to prevent customers from changing their first and last name once they’re registered but I want to allow them to change the password in customer account. I added disabled = "disabled" to first and last name input field: app/design/frontend/Vendor/ctr/Magento_Customer/templates/widget/name.phtml <div class="field field-name-firstname required"> <label class="label" for="<?= $block->escapeHtmlAttr($block->getFieldId('firstname')) ?>"><span><?= […]
I’m having problems with Paypal, when making a purchase using a coupon, the discount is applied normally and everything works fine, but when choosing the payment (Paypal) I’m redirected to the Paypal page, so far so good, arriving at the page Paypal the total amount is not considering the discount […]
Let me start by saying I’m completely new to Magento. I also hate Magento with the burning passion of 1000 suns. So if I’ve misunderstood something, please bear with me. I’m using Magento 2’s “REST” API (against my will). I can create products, attributes, attribute sets, etc. just fine…but when […]
I have created a custom payment module, and when I click the Place Order button, I need it to run a set of custom javascript functions. To do this, how do I include a custom function from another javascript file into the /view/frontend/web/js/view/payment/ javascript file? Submit Button: <button data-role="review-save" type="submit" […]
Given a matrix mat[][] of dimensions N*M and an array target[] of M integers, the task is to check whether any row of the matrix… Read More The post Check if any row of the matrix can be converted to the elements present in the target row appeared first on […]