Skip to content

Instantly share code, notes, and snippets.

View svpernova09's full-sized avatar
πŸš€
In Transit

Joe Ferguson svpernova09

πŸš€
In Transit
View GitHub Profile
β”Œβ”€([email protected])(~/PhpstormProjects/homestead)(master S:3)(en0:192.168.1.36/24 vboxnet0:192.168.10.1/24 vboxnet1:192.168.20.1/24)─┐
└─(08:53:40)(1)─ vagrant provision ─(12/24/17)β”€β”˜
==> homestead-7: Running provisioner: file...
==> homestead-7: Running provisioner: shell...
homestead-7: Running: inline script
==> homestead-7: Running provisioner: shell...
homestead-7: Running: inline script
==> homestead-7: Running provisioner: shell...
homestead-7: Running: inline script
==> homestead-7: Running provisioner: shell...
@svpernova09
svpernova09 / README.md
Created November 16, 2017 22:50
Homestead for Virtualbox 5.2

Prerequisities:

  • Virtualbox 5.2

Edit Homestead

Add / edit this line in your Homestead.yaml

box: Svpernova09/nothomestead
@svpernova09
svpernova09 / README.md
Created October 24, 2017 18:01
How to test Homestead & Hyper-V

Prerequisities:

  • Ensure you have Windows 10 & The Fall Creators Update installed.
  • Uninstall Virtualbox
  • Enable Hyper-V
  • Create a new Virtual Switch in Hyper-V that is type "External" (You'll use this whenever asked)

Edit Homestead

Add / edit these 2 lines in your Homestead.yaml

# This is the base of the new zsh directory
MYZSH="$HOME/.myzsh"
# Specify a tmp directory to use across all modules
# This is the theme.
THEME="default"
# This is the list of modules that generate Left Primary output.
LPRIMARY=(userhost pwd svn git jobs vim)
C:\Users\halo\PhpStormProjects\laravel-test
Ξ» php artisan --version
Laravel Framework 5.4.3
C:\Users\halo\PhpStormProjects\laravel-test
Ξ» npm install
npm WARN deprecated [email protected]: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN prefer global [email protected] should be installed with -g
npm WARN prefer global [email protected] should be installed with -g

Phergie is not a traditional framework, more of a modular application with many libraries that you can combine to bring different features into an IRC bot. It's used to build IRC daemons in the same way that web frameworks are used to build web applications. Features (Plugins) are their own separate libraries so that the builder/author may customize the bot to their specific needs.

Under the hood Phergie is built on top of ReactPHP (represented here by Cees-Jan Kiewiet who is also a valued contributor to Phergie). Phergie has a long history of keeping up with best practices as well as keeping up with the advancement of Async PHP changes (Thanks to ReactPHP).

vagrant@homestead:~$ lsmod
Module Size Used by
input_leds 16384 0
serio_raw 16384 0
i2c_piix4 24576 0
hyperv_fb 20480 1
hv_balloon 24576 0
8250_fintek 16384 0
joydev 20480 0
mac_hid 16384 0
# install required vagrant plugin to handle reloads during provisioning
vagrant plugin install vagrant-reload
# start with no machines
vagrant destroy -f
rm -rf .vagrant
vagrant up --provider hyperv
vagrant halt
C:\WindowsSettlerExport
Ξ» vagrant box add hyperv.box --name homestead_hyper-v --provider hyperv --debug
INFO global: Vagrant version: 1.8.7
INFO global: Ruby version: 2.2.5
INFO global: RubyGems version: 2.4.5.1
INFO global: VAGRANT_EXECUTABLE="C:\\HashiCorp\\Vagrant\\embedded\\gems\\gems\\vagrant-1.8.7\\bin\\vagrant"
INFO global: VAGRANT_INSTALLER_EMBEDDED_DIR="C:\\HashiCorp\\Vagrant\\embedded"
INFO global: VAGRANT_INSTALLER_ENV="1"
INFO global: VAGRANT_INSTALLER_VERSION="2"
INFO global: VAGRANT_INTERNAL_BUNDLERIZED="1"
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'asgrim/rmq-vm'...
==> default: Matching MAC address for NAT networking...
==> default: Setting the name of the VM: rmq-vm
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
default: Adapter 2: hostonly
==> default: Forwarding ports...
default: 22 (guest) => 2222 (host) (adapter 1)