Skip to content

Instantly share code, notes, and snippets.

@khyoz
khyoz / README.md
Created January 16, 2019 03:43 — forked from first087/README.md
Script for attach drive D: into Docker Toolbox for Windows

How to use script

  1. Run Docker Toolbox from shortcut Docker Quickstart Terminal
  2. Shutdown boot2docker docker-machine stop
  3. Open VirtualBox and goto Settings of default machine
  4. At Shared Folders menu, click + icon, Select folder path to drive D: and set folder name is d, checked all options
  5. Copy attach-drive-d.sh script to Docker Toolbox folder (C:\Program Files\Docker Toolbox)
  6. Edit start.sh add command sh attach-drive-d.sh before finalize step
  7. Run Docker Toolbox from shortcut Docker Quickstart Terminal again
  8. Have fun!!!
@khyoz
khyoz / StructuredData.php
Created October 26, 2018 07:59 — forked from mbaxter91288/StructuredData.php
Add JSON-LD structured data into your October CMS website
<?php namespace Your\Namespace\Components;
use Cms\Classes\ComponentBase;
use Config;
class StructuredData extends ComponentBase
{
/**
* set the component's details