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
# This is the main Apache server configuration file. It contains the
# configuration directives that give the server its instructions.
# See http://httpd.apache.org/docs/2.4/ for detailed information about
# the directives and /usr/share/doc/apache2/README.Debian about Debian specific
# hints.
#
#
# Summary of how the Apache 2 configuration works in Debian:
# The Apache 2 web server configuration in Debian is quite different to
# upstream's suggested way to configure the web server. This is because Debian's
@svpernova09
svpernova09 / gist:0cb023ed7ea5cd8a2d64c82868e5e769
Created November 14, 2022 01:05
Vagrant up Virtualbox 7 public adapter log
vagrant destroy -f; vagrant up
==> homestead: Forcing shutdown of VM...
==> 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 '12.2.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...
┌─(~/Code/homestead)(main S:3)
└── vagrant destroy -f; vagrant up ==> homestead: Forcing shutdown of VM...
==> homestead: Clearing any previously set forwarded ports...
==> homestead: Destroying VM and associated drives...
==> homestead: Destroying unused networking interface...
Bringing machine 'homestead' up with 'parallels' provider...
==> homestead: Registering VM image from the base box 'laravel/homestead-arm'...
==> homestead: Creating new virtual machine as a linked clone of the box image...
==> homestead: Unregistering the box VM image...
==> homestead: Setting the default configuration for VM...
@svpernova09
svpernova09 / packer-build.log
Created August 26, 2022 19:00
Svpernova09/demo-bento-22.04-ARM Vagrant box
┌─(~/Code/bento/packer_templates/ubuntu)(ubuntu-22.04-arm64 ??:2 M:1 S:14)
└─(1)─ packer build --only=parallels-iso ubuntu-22.04-arm64.json
parallels-iso: output will be in this color.
==> parallels-iso: Retrieving ISO
==> parallels-iso: Trying http://cdimage.ubuntu.com/releases/22.04/release/ubuntu-22.04.1-live-server-arm64.iso
==> parallels-iso: Trying http://cdimage.ubuntu.com/releases/22.04/release/ubuntu-22.04.1-live-server-arm64.iso?checksum=sha256%3Abc5a8015651c6f8699ab262d333375d3930b824f03d14ae51e551d89d9bb571c
parallels-iso: ubuntu-22.04.1-live-server-arm64.iso 1.34 GiB / 1.34 GiB [===================================================================================================================] 100.00% 55s
==> parallels-iso: http://cdimage.ubuntu.com/releases/22.04/release/ubuntu-22.04.1-live-server-arm64.iso?checksum=sha256%3Abc5a8015651c6f8699ab262d333375d3930b824f03d14ae51e551d89d9bb571c => /Users/halo/.cache/packer/3678bda67593f7a1fae1140298d3bcf1f2d45d0d.iso
==> parallels-iso: Starting HTTP
<?php
namespace Tests\Unit;
use PHPUnit\Framework\TestCase;
class ShouldSendEmailTest extends TestCase
{
/**
* A basic unit test example.
@svpernova09
svpernova09 / docker-compose.yml
Last active June 4, 2022 20:12
Wait for MariaDB before Starting Snipe-IT
version: '3'
services:
snipeit_app:
image: snipe/snipe-it:v6.0.2
volumes:
- ./logs:/var/www/html/storage/logs
ports:
- "8000:80"
depends_on:
@svpernova09
svpernova09 / output.log
Created April 27, 2022 17:41
Bento Jammy PR Build Output log
$ packer build --only=virtualbox-iso ubuntu-22.04-amd64.json
virtualbox-iso: output will be in this color.
==> virtualbox-iso: Retrieving Guest additions
==> virtualbox-iso: Trying /Applications/VirtualBox.app/Contents/MacOS/VBoxGuestAdditions.iso
==> virtualbox-iso: Trying /Applications/VirtualBox.app/Contents/MacOS/VBoxGuestAdditions.iso
==> virtualbox-iso: /Applications/VirtualBox.app/Contents/MacOS/VBoxGuestAdditions.iso => /Applications/VirtualBox.app/Contents/MacOS/VBoxGuestAdditions.iso
==> virtualbox-iso: Retrieving ISO
==> virtualbox-iso: Trying http://releases.ubuntu.com/jammy/ubuntu-22.04-live-server-amd64.iso
==> virtualbox-iso: Trying http://releases.ubuntu.com/jammy/ubuntu-22.04-live-server-amd64.iso?checksum=sha256%3A84aeaf7823c8c61baa0ae862d0a06b03409394800000b3235854a6b38eb4856f
@svpernova09
svpernova09 / webdriver.log
Created March 17, 2022 00:12
vagrant tty for webdriver?
┌─(~/Code/homestead)(main S:12)─────────────────────────────────────────────────────────────────────────────────────┐
└── vagrant ssh ─(19:09:15)(03/16/22)─┘
Welcome to Ubuntu 20.04.4 LTS (GNU/Linux 5.4.0-100-generic x86_64)
_ _ _
| | | | | |
| |__ ___ _ __ ___ ___ ___| |_ ___ __ _ __| |
| '_ \ / _ \| '_ ` _ \ / _ \/ __| __/ _ \/ _` |/ _` |
| | | | (_) | | | | | | __/\__ \ || __/ (_| | (_| |
|_| |_|\___/|_| |_| |_|\___||___/\__\___|\__,_|\__,_|
@svpernova09
svpernova09 / packer-build.log
Created February 27, 2022 16:45
Build test for Bento Ubuntu 20.04.4 PR https://github.com/chef/bento/pull/1397
┌─(~/Code/bento/packer_templates/ubuntu)(ubuntu-20.04.4 M:1 S:32 no-remote)
└─(1)─ packer build --only=parallels-iso ubuntu-20.04-amd64.json
parallels-iso: output will be in this color.
==> parallels-iso: Retrieving ISO
==> parallels-iso: Trying http://releases.ubuntu.com/focal/ubuntu-20.04.4-live-server-amd64.iso
==> parallels-iso: Trying http://releases.ubuntu.com/focal/ubuntu-20.04.4-live-server-amd64.iso?checksum=sha256%3A28ccdb56450e643bad03bb7bcf7507ce3d8d90e8bf09e38f6bd9ac298a98eaad
==> parallels-iso: http://releases.ubuntu.com/focal/ubuntu-20.04.4-live-server-amd64.iso?checksum=sha256%3A28ccdb56450e643bad03bb7bcf7507ce3d8d90e8bf09e38f6bd9ac298a98eaad => /Users/halo/.cache/packer/47de2d7266acde194681de2a24f5d76b43b452ca.iso
==> parallels-iso: Starting HTTP server on port 8482
==> parallels-iso: Creating virtual machine...
@svpernova09
svpernova09 / install.sh
Created January 7, 2022 20:00
Install PHP 7.4, 8.0, PHP-FPM, and Apache2
#!/bin/bash
# install basics
apt-get install -y php-imagick php-memcached php-redis php-xdebug php-dev imagemagick mcrypt
# install packages
apt-get install -y \
apache2 libapache2-mod-fcgid php7.4 php7.4-bcmath php7.4-bz2 php7.4-cgi php7.4-cli php7.4-common php7.4-curl php7.4-dba php7.4-dev php7.4-enchant php7.4-fpm php7.4-gd php7.4-gmp php7.4-imap php7.4-interbase php7.4-intl php7.4-json php7.4-ldap php7.4-mbstring php7.4-mysql php7.4-odbc php7.4-opcache php7.4-pgsql php7.4-phpdbg php7.4-pspell php7.4-readline php7.4-snmp php7.4-soap php7.4-sqlite3 php7.4-sybase php7.4-tidy php7.4-xdebug php7.4-xml php7.4-xmlrpc php7.4-xsl php7.4-zip php7.4-imagick php7.4-memcached php7.4-redis php8.0 php8.0-bcmath php8.0-bz2 php8.0-cgi php8.0-cli php8.0-common php8.0-curl php8.0-dba php8.0-dev php8.0-enchant php8.0-fpm php8.0-gd php8.0-gmp php8.0-imap php8.0-interbase php8.0-intl php8.0-ldap php8.0-mbstring php8.0-mysql php8.0-odbc php8.0-opcache php8.0-pgsql php8.0-phpdbg php8.0-pspell php8.0-readline php8.0-snmp php8.0