Skip to content

Instantly share code, notes, and snippets.

Michael Bessolov mbessolov

  • Los Angeles, CA
Block or report user

Report or block mbessolov

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@mbessolov
mbessolov / vm-secureboot.md
Created Apr 10, 2017 — forked from gabrieljcs/vm-secureboot.md
Instructions on signing VirtualBox and VMware modules for Secure Boot
View vm-secureboot.md

Signing VirtualBox & VMware modules

Source

Creating a key

You can change "MOK".priv/.der to any desired name; "CN=" MUST hold your username, signing the modules may not work otherwise (on shim, possibly due to a bug).

$ openssl req -new -x509 -newkey rsa:2048 -keyout MOK.priv -outform DER -out MOK.der -nodes -days 36500 -subj "/CN=John Doe/"
View LoadTaxDemoData.php
<?php
namespace OroB2B\Bundle\TaxBundle\Migrations\Data\Demo\ORM;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\DependencyInjection\ContainerAwareInterface;
use Doctrine\ORM\EntityManager;
use Doctrine\Common\DataFixtures\AbstractFixture;
use Doctrine\Common\DataFixtures\FixtureInterface;
View gist:330b076b6ada6b0d1d20
<?php
$this->createPriceListSubset(
100, // percentage of product catalog, e.g. 100 = all products, 5 = 5% of the entire catalog
['USD', 'EUR'], // currencies
[
1 => 1, // price tier "1 or more"
10 => 0.9, // price tier "10 or more", price value should be 90% of the previous tier
100 => 0.85, // price tier "100 or more", price value should be 85% of the previous tier
],
View keybase.md

Keybase proof

I hereby claim:

  • I am mbessolov on github.
  • I am bessolov (https://keybase.io/bessolov) on keybase.
  • I have a public key whose fingerprint is F3C6 8B96 C95B 1A4E 15DF 2CA7 148F 56DF B0C9 B28B

To claim this, I am signing this object:

You can’t perform that action at this time.