Skip to content

Instantly share code, notes, and snippets.

View realadityayadav's full-sized avatar
💭
Magentic!

Aditya Yadav realadityayadav

💭
Magentic!
View GitHub Profile
@NTICompass
NTICompass / QRLogo.php
Created October 13, 2011 03:10
QR Code + Logo Generator
<?php
/**
* QR Code + Logo Generator
*
* http://labs.nticompassinc.com
*/
$data = isset($_GET['data']) ? $_GET['data'] : 'http://labs.nticompassinc.com';
$size = isset($_GET['size']) ? $_GET['size'] : '200x200';
$logo = isset($_GET['logo']) ? $_GET['logo'] : FALSE;
@alepane21
alepane21 / SendMailWithoutTemplate.php
Last active October 6, 2023 09:59
Example to send email without template on Magento 2
<?php
namespace Hevelop\Example\Console\Command;
use Symfony\Component\Console\Command\Command;
use Magento\Framework\Mail\TransportInterfaceFactory;
/**
* Class SendMailWithoutTemplate
*/
class SendMailWithoutTemplate extends Command
{
@wankdanker
wankdanker / README.md
Last active October 31, 2019 14:05
Walmart Drop Ship Vendor Supplier DSV Carrier Method Codes

Walmart Drop Ship Vendor Supplier DSV Carrier Method Codes

As part of the Walmart DSV API, there are carrier method codes in the order xml, but the only documentation I found was in this PDF. That document is referenced from Supplier Help.

That PDF file is of course not easily consumable and it was a wicked pain in the ass to get the data out of there. But, it's done now, and if you happen to find this file I hope I saved you some time.