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
┌─(~/Code/snipe-it)(features/switch_to_dusk S:3)──────────────────────────────────────────────────────────────────────────────────────────────────────────┐
└── ./vendor/bin/phpunit tests/unit/CategoryTest.php ──┘
PHP Fatal error: Uncaught Error: Class "Tests\Unit\BaseTest" not found in /home/halo/Code/snipe-it/tests/unit/CategoryTest.php:13
Stack trace:
#0 /home/halo/Code/snipe-it/vendor/phpunit/phpunit/src/Util/FileLoader.php(65): include_once()
#1 /home/halo/Code/snipe-it/vendor/phpunit/phpunit/src/Util/FileLoader.php(49): PHPUnit\Util\FileLoader::load()
#2 /home/halo/Code/snipe-it/vendor/phpunit/phpunit/src/Runner/StandardTestSuiteLoader.php(43): PHPUnit\Util\FileLoader::checkAndLoad()
#3 /home/halo/Code/snipe-it/vendor/phpunit/phpunit/src/Runner/BaseTestRunner.php(146): PHPUnit\Runner\StandardTestSuiteLoader->load()
#4 /home/halo/Code/snipe-it/vendor/phpunit/phpunit/src/Runner/BaseTestRunner.php(112): PHPUn
@svpernova09
svpernova09 / packer-build-arm.log
Created October 29, 2021 17:23
Packer Build log for Homestead on Apple Silicon Ubuntu 20.04 ARM
┌─(~/Code/bento/packer_templates/ubuntu)(main ??:1 M:3)──────────────────────────────────────────────────────────────────────────────┐
└─(255)─ packer build --only=parallels-iso ubuntu-20.04-arm64.json ─(11:40:35)(10/29/21)─┘
parallels-iso: output will be in this color.
==> parallels-iso: Retrieving ISO
==> parallels-iso: Trying http://cdimage.ubuntu.com/releases/20.04/release/ubuntu-20.04.3-live-server-arm64.iso
==> parallels-iso: Trying http://cdimage.ubuntu.com/releases/20.04/release/ubuntu-20.04.3-live-server-arm64.iso?checksum=sha256%3Ad6fea1f11b4d23b481a48198f51d9b08258a36f6024cb5cec447fe78379959ce
==> parallels-iso: http://cdimage.ubuntu.com/releases/20.04/release/ubuntu-20.04.3-live-server-arm64.iso?checksum=sha256%3Ad6fea1f11b4d23b481a48198f51d9b08258a36f6024cb5cec447fe78379959ce => /Users/halo/.cache/packer/3e5ada3de853844cff424c4c6a8a0d2a767505fa.iso
==> parallels-iso: Starting HTTP server on port 8815
==> parallels-iso: Creating virtual machine...
@svpernova09
svpernova09 / vagrant up.log
Created October 27, 2021 16:48
Base box 11.5.0, Homestead `main` branch seems to be working for me
vagrant destroy -f && vagrant up ─(11:45:18)(10/27/21)─┘
==> homestead: Destroying VM and associated drives...
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 '11.5.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 / vagrant-up.log
Created October 21, 2021 01:13
Vagrant up with MariaDB
Bringing machine 'homestead' up with 'virtualbox' provider...
==> homestead: Box 'Svpernova09/nothomestead' could not be found. Attempting to find and install...
homestead: Box Provider: virtualbox
homestead: Box Version: >= 11.0.0, < 12.0.0
==> homestead: Loading metadata for box 'Svpernova09/nothomestead'
homestead: URL: https://vagrantcloud.com/Svpernova09/nothomestead
==> homestead: Adding box 'Svpernova09/nothomestead' (v11.5.0) for provider: virtualbox
homestead: Downloading: https://vagrantcloud.com/Svpernova09/boxes/nothomestead/versions/11.5.0/providers/virtualbox.box
homestead: Calculating and comparing box checksum...
==> homestead: Successfully added box 'Svpernova09/nothomestead' (v11.5.0) for 'virtualbox'!
@svpernova09
svpernova09 / vagrant-destroy-up.log
Created September 29, 2021 01:52
MariaDB Homestead Test
┌─(~/Code/homestead)(main S:11)
└── vagrant destroy && vagrant up
==> 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 '11.4.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...
@svpernova09
svpernova09 / snipeit.test
Created September 27, 2021 21:39
Nginx PHP FPM Example
server {
listen 80;
listen 443 ssl http2;
server_name .snipeit.test;
root "/home/halo/Code/snipe-it/public";
index index.html index.htm index.php;
charset utf-8;
@svpernova09
svpernova09 / artsian-migrate.log
Created September 27, 2021 17:59
snipe-it migration debugging
$ artisan migrate ──┘
Migration table created successfully.
Migrating: 2012_12_06_225921_migration_cartalyst_sentry_install_users
Migrated: 2012_12_06_225921_migration_cartalyst_sentry_install_users (299.40ms)
Migrating: 2012_12_06_225929_migration_cartalyst_sentry_install_groups
Migrated: 2012_12_06_225929_migration_cartalyst_sentry_install_groups (94.04ms)
Migrating: 2012_12_06_225945_migration_cartalyst_sentry_install_users_groups_pivot
Migrated: 2012_12_06_225945_migration_cartalyst_sentry_install_users_groups_pivot (311.90ms)
Migrating: 2012_12_06_225988_migration_cartalyst_sentry_install_throttle
Migrated: 2012_12_06_225988_migration_cartalyst_sentry_install_throttle (319.20ms)
PS C:\Users\halo\Code\homestead> vagrant up
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 '11.4.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
homestead: Adapter 2: hostonly
┌─(~/Code/homestead)(release ??:1 S:9)
└── vagrant reload
==> homestead: Attempting graceful shutdown of VM...
==> homestead: Checking if box 'laravel/homestead' version '11.3.0' is up to date...
==> homestead: Clearing any previously set forwarded ports...
==> homestead: Clearing any previously set network interfaces...
==> homestead: Preparing network interfaces based on configuration...
homestead: Adapter 1: nat
homestead: Adapter 2: hostonly
==> homestead: Forwarding ports...
@svpernova09
svpernova09 / AnsibleLintOutput-Develop.txt
Created June 29, 2021 13:28
SnipeIT Ansible Playbook Typo Comparison
Loading custom .yamllint config file, this extends our internal yamllint config.
WARNING Overriding detected file kind 'yaml' with 'playbook' for given positional argument: vagrant.yml
WARNING Listing 24 violation(s) that are fatal
yaml: truthy value should be one of [false, true] (truthy)
vagrant.yml:14
yaml: truthy value should be one of [false, true] (truthy)
vagrant.yml:15
yaml: trailing spaces (trailing-spaces)