Welcome to my guide to hackintosher. Glad you are here 😄!
HOWTO: Create Your Own Self-Signed Certificate with Subject Alternative Names Using OpenSSL in Ubuntu Bash for Window
My main development workstation is a Windows 10 machine, so we'll approach this from that viewpoint.
Recently, Google Chrome started giving me a warning when I open a site that uses https and self-signed certificate on my local development machine due to some SSL certificate issues like the one below:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
const exec = require('child_process').exec; | |
function puts(error, stdout, stderr) { | |
console.log(stdout); | |
} | |
class WebpackShellPlugin { | |
constructor(options) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<pre> | |
<?php | |
$username = 'admin'; | |
$key = 'd525e743ee692632b52a05570444aa537e06a8cc'; | |
$created = date('c'); | |
$nonce = substr(md5(time()), 0, 16); | |
$sha1 = sha1($nonce . $created . $key, true); | |
$digest = base64_encode($sha1); | |
echo "user: {$username}" . PHP_EOL; |
source: http://inchoo.net/magento/programmatically-create-order-in-magento/
<?php
/**
* source: http://inchoo.net/magento/programmatically-create-order-in-magento/
*/
class NewTek_CreateOrderProgrammaticaly_Model_HandleOrderCreate extends Mage_Core_Model_Abstract
- 2016-02-20: Ubuntu 15.10 (x86_64) can successfully build OVMF
- 2016-02-20: The OVMF download from http://www.tianocore.org/ is out of date
- The Release r15214 (
OVMF-X64-r15214.zip
) appears to be from 2014-02-11:
Changes with .dev
domains in
mind.
Create /etc/pf.anchors/dev
, containing:
rdr pass inet proto tcp from any to any port 80 -> 127.0.0.1 port 8080
rdr pass inet proto tcp from any to any port 443 -> 127.0.0.1 port 8443
- Some notes about this approach:
- An OSX Installer USB drive for
Install OS X El Capitan
is created - Clover is then installed on the USB drive
- Clover Configurator is then run on the USB drive
- The USB drive contents are copied to the VM host
- VNC is used to connect to the guest UI
- An OSX Installer USB drive for
- The qxl virtual video device is used (part of the standard kvm qemu install)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
## PHP 7 Initial Compile ## | |
## Some help from the various places like these. ## | |
# http://www.zimuel.it/install-php-7/ | |
# http://www.hashbangcode.com/blog/compiling-and-installing-php7-ubuntu | |
## Setup Ubuntu 15.04 ## | |
# I like the speed of Apt-Fast. Will check for installs some other day. | |
sudo apt-get install apt-fast |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
declare(strict_types = 1); | |
namespace Training5\VendorRepository\Controller\Test; | |
use Magento\Catalog\Api\Data\ProductInterface; | |
use Magento\Catalog\Api\ProductRepositoryInterface; | |
use Magento\Framework\Api\Filter; | |
use Magento\Framework\Api\FilterBuilder; |