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
└── vagrant destroy -f && vagrant up ─(12:42:23)(12/14/19)β”€β”˜
==> homestead: VM not created. Moving on...
Bringing machine 'homestead' up with 'virtualbox' provider...
==> homestead: Importing base box 'laravel/homestead'...
==> homestead: Matching MAC address for NAT networking...
==> homestead: Checking if box 'laravel/homestead' version '9.1.0' is up to date...
==> homestead: Setting the name of the VM: homestead
==> homestead: Clearing any previously set network interfaces...
==> homestead: Preparing network interfaces based on configuration...
homestead: Adapter 1: nat
@svpernova09
svpernova09 / Codecept-unit.txt
Created December 11, 2019 23:46
Snip-it Test results running locally
└── ./vendor/bin/codecept run unit
Codeception PHP Testing Framework v2.3.6
Powered by PHPUnit 6.4.4 by Sebastian Bergmann and contributors.
Unit Tests (117) ------------------------------------------------------------------------------------------------------------------------------------------------------------------
βœ” AccessoryTest: Fails empty validation (0.64s)
βœ” AccessoryTest: Fails min validation (0.34s)
βœ” AccessoryTest: Category id must exist (0.37s)
βœ” AccessoryTest: An accessory belongs to a company (0.34s)
βœ” AccessoryTest: An accessory has a location (0.34s)
# 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=(pwd git jobs vim)
β”Œβ”€(~/Code/bento/packer_templates/ubuntu)(master S:3)──────────────────────────
└── packer build --only=parallels-iso --on-error=abort ubuntu-19.04-amd64.json
parallels-iso output will be in this color.
==> parallels-iso: Retrieving ISO
==> parallels-iso: Trying http://cdimage.ubuntu.com/ubuntu/releases/19.04/release/ubuntu-19.04-server-amd64.iso
==> parallels-iso: Trying http://cdimage.ubuntu.com/ubuntu/releases/19.04/release/ubuntu-19.04-server-amd64.iso?checksum=sha256%3A7e8a0d07522f591dfee9bc9fcd7c05466763161e6cb0117906655bce1750b2fa
ubuntu-19.04-server-amd64.iso 754.00 MiB / 754.00 MiB [=============================================================================================================] 100.00% 1m43s
==> parallels-iso: http://cdimage.ubuntu.com/ubuntu/releases/19.04/release/ubuntu-19.04-server-amd64.iso?checksum=sha256%3A7e8a0d07522f591dfee9bc9fcd7c05466763161e6cb0117906655bce1750b2fa => /Users/halo/Code/bento/packer_templates/ubuntu/packer_cache/0a9df9bc52dadb91397d0374376f1ce23e428f30.iso
==>

I’m looking to sell my old MacBook Pro (Retina, 15-inch, Mid 2014) I bought on 10-Feb-15 as a refurbished machine from Apple. The logic board was replaced in 28-Jan-17 due to bad RAM. The system is running fine today. Original MagSafe power cable included.

Specs:

  • 2.5 GHz Intel Core i7
  • 16 GB 1600 MHz DDR3
  • 512 GB SSD
  • Intel Iris Pro 1536 MB
  • Battery Condition: Normal
  • Battery Cycle Count: 113
  • MacOS Mojave 10.14.6 (18G95)
C:\Users\halo\Code\bento\packer_templates\centos (fix-hyper-v-variable-names)
Ξ» packer validate centos-5.11-i386.json
Template validation succeeded, but there were some warnings.
These are ONLY WARNINGS, and Packer will attempt to build the
template despite them, but they should be paid attention to.
Warnings for build 'vmware-iso':
* Your vmx data contains the following variable(s), which Packer normally sets when it g
@svpernova09
svpernova09 / FreshLaravel-NOT-vboxsf-folder.txt
Created July 22, 2019 16:59
Virtualbox Shared Folder Issue
halo@vboxsftest:~$ composer create-project laravel/laravel fresh-laravel
Installing laravel/laravel (v5.8.17)
- Installing laravel/laravel (v5.8.17): Downloading (100%)
Created project in fresh-laravel
> @php -r "file_exists('.env') || copy('.env.example', '.env');"
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 80 installs, 0 updates, 0 removals
- Installing symfony/polyfill-ctype (v1.11.0): Downloading (100%)
- Installing phpoption/phpoption (1.5.0): Downloading (100%)
@svpernova09
svpernova09 / Create-Project-NOT-vboxsf.txt
Created July 21, 2019 16:18
Virtualbox Issue Report Files
vagrant@vagrant:~$ composer create-project laravel/laravel not-vbox-share
Installing laravel/laravel (v5.8.17)
- Installing laravel/laravel (v5.8.17): Downloading (100%)
Created project in not-vbox-share
> @php -r "file_exists('.env') || copy('.env.example', '.env');"
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 80 installs, 0 updates, 0 removals
- Installing symfony/polyfill-ctype (v1.11.0): Downloading (100%)
- Installing phpoption/phpoption (1.5.0): Downloading (100%)
@svpernova09
svpernova09 / test.php
Created July 17, 2019 17:58
PHP String Concat Options
<?php
$speed = ['quick', 'slow'];
$animal = ['rabbit', 'turtle'];
// Typical String Concatenation
$string = 'The ' . $speed[0] . ' ' . $animal[1] . ' jumped over the fence';
// Breaking on Concatenation operator BEFORE the line exposes in each new line
// we're able to easily skim down the file and see we're concatenating. Also
@svpernova09
svpernova09 / Create Project Log.txt
Created July 11, 2019 16:48
Vagrant 2.2.5, Windows 10 Pro 19.03, Virtualbox 6.0.8
vagrant@homestead:~$ composer create-project --prefer-dist laravel/laravel blog
1/11: http://repo.packagist.org/p/provider-archived$354e0c0055dcbee7808779b081a9ad737e6a1592463d83902f17af24db5b47ee.json
2/11: http://repo.packagist.org/p/provider-latest$6b2ce3400b0827bf126b57259f52a3780aebc3e925b2f462cbac8e28999f0d0d.json
3/11: http://repo.packagist.org/p/provider-2014$fa53505ab7a9cdb7fa9313fa68a2b6cfce6f44f453f709a1e2efc3bab1e7cb22.json
4/11: http://repo.packagist.org/p/provider-2013$b1660752b71f4e8b6b9d3130551f6bcfb3c1e896bd75f81cf5ca5a06499fb157.json
5/11: http://repo.packagist.org/p/provider-2019-01$c3186b7fc78fa7a5e6a33b5753b56b70b87e60b978cb1dea32e6e73909c6eb97.json
6/11: http://repo.packagist.org/p/provider-2018-10$a703f7e0b78f27971289f10ac9c7e0e93f26136b7862064c55ec43621110e593.json
7/11: http://repo.packagist.org/p/provider-2016$d4c10af717f46e857a1d1ced73d22ea3e3571234d12c3e7806592c0da91fa0a1.json
8/11: http://repo.packagis