Categories
CMS Magento Mastering Development

Escaping special characters entered by customers

Rarely, a customer copies and pastes names, addresses, etc., and in those copy & paste they are bringing over right quotes instead of single quotes. Generally not a big deal, magento handles them okay, BUT it breaks the hash between Magento and Authorize.net. How would I go about sanitizing all customer completed fields to replace […]

Categories
CMS Mastering Development Wordpress

Add a new view on the Woocommerce account page

I’m working on a custom Woocommerce theme. I’ve already figured out how to add the Wishlist label to the Woocommerce my account navigation. When you click on the Wishlist navigation item, you go to domain.com/my-account/wishlist. But it the "view" doesn’t exist yet. /* * Register new wishlist endpoint */ function add_wishlist_endpoint() { add_rewrite_endpoint( ‘wishlist’, EP_ROOT […]

Categories
Cryptocurrency Ethereum Mastering Development

Let’s say I forgot first 2 words of the seed, how could I find an account with ether in it?

Let’s say I forgot first 2 words of the seed. I want to write a program that brute-forces all possible bip-39 word combinations for the first 2 words, generate private/public keys, addresses, and go through first 10 addresses to check if there’s ether stored in there, and in that case, get a notification. How could […]

Categories
Cryptocurrency Ethereum Mastering Development

Let’s say I forgot first 2 words of the seed, how could I find an account with ether in it?

Let’s say I forgot first 2 words of the seed. I want to write a program that brute-forces all possible bip-39 word combinations for the first 2 words, generate private/public keys, addresses, and go through first 10 addresses to check if there’s ether stored in there, and in that case, get a notification. How could […]

Categories
Cryptocurrency Ethereum Mastering Development

Let’s say I forgot first 2 words of the seed, how could I find an account with ether in it?

Let’s say I forgot first 2 words of the seed. I want to write a program that brute-forces all possible bip-39 word combinations for the first 2 words, generate private/public keys, addresses, and go through first 10 addresses to check if there’s ether stored in there, and in that case, get a notification. How could […]

Categories
Cryptocurrency Ethereum Mastering Development

Let’s say I forgot first 2 words of the seed, how could I find an account with ether in it?

Let’s say I forgot first 2 words of the seed. I want to write a program that brute-forces all possible bip-39 word combinations for the first 2 words, generate private/public keys, addresses, and go through first 10 addresses to check if there’s ether stored in there, and in that case, get a notification. How could […]

Categories
Cryptocurrency Ethereum Mastering Development

Setting up a desktop wallet with a private network on geth

Disclosures: I’ve never set up a wallet before, and am new to geth. I’m not worried about security right now. My goal is to set up several wallets on my private chain (if possible) in order to learn how wallets work, how they sign transactions, etc. I’m not tech-illiterate. (I’ve been a programmer for 27 […]

Categories
Mastering Development

How to disable “manage” and “back to dashboard” for Woocommerce Memberships profile page?

The side menu changes just to showing these (2) items which seem useless since manage is already selected. I dont want the side menu to change, I want it to stay the same as usual, displaying order, addresses, logout, etc etc and not change to a different menu with manage/back to dashboard, when going to […]

Categories
Mastering Development

Search for key inside nested lists inside nested dictionaries

The original post is Go through json line by line including unkown nested arrays and objects I am trying to search for a specific value in all nested lists and nested dictionaries inside a JSON dictionary. The structure of the dictionary is not always known. The nested dictionary can have a nested list. The key […]

Categories
CMS Magento Mastering Development

Magento 2 split order based on product attribute

I’m developing Multivendor masrketplace mdoule. I need to split orders based on seller id’s which assigned to product. I tried using this free module. Link But this is not working with attributes. So I tried to split with sku. Where I modified the code like below. <?php namespace Magestat\SplitOrder\Plugin; use Magento\Quote\Model\QuoteManagement; use Magento\Framework\Exception\LocalizedException; use Magento\Quote\Api\CartRepositoryInterface; […]