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/homestead)(main S:9)
└─(130)─ vagrant destroy -f
==> homestead: Forcing shutdown of VM...
==> homestead: Destroying VM and associated drives...
┌─(~/Code/homestead)(main S:9)
└── vagrant up
Bringing machine 'homestead' up with 'virtualbox' provider...
==> homestead: Importing base box 'laravel/homestead'...
==> homestead: Matching MAC address for NAT networking...
@svpernova09
svpernova09 / gist:e2ca466efdd4192fab3fb50a5b15ee27
Created April 1, 2021 17:48
Pycharm GPU Crash on Markdown Preview on WSL2
[0401/124336.209908:FATAL:gpu_data_manager_impl_private.cc(439)] GPU process isn't usable. Goodbye.
@svpernova09
svpernova09 / gist:97e4d6a3ed9e145640cd790bdf03e304
Created February 23, 2021 23:19
Vagrant up w s.inline = 'sudo chown -R vagrant:vagrant /usr/local/bin && sudo -u vagrant /usr/local/bin/composer self-update --no-progress
┌─(~/Code/homestead)(20.04 S:8)─────────────────────────────────────────────────────────────────────────────────────┐
└── vagrant up ─(17:05:05)(02/23/21)─┘
Bringing machine 'homestead' up with 'virtualbox' provider...
==> homestead: Box 'laravel/homestead' could not be found. Attempting to find and install...
homestead: Box Provider: virtualbox
homestead: Box Version: ~> 10
==> homestead: Loading metadata for box 'laravel/homestead'
homestead: URL: https://vagrantcloud.com/laravel/homestead
==> homestead: Adding box 'laravel/homestead' (v10.1.1) for provider: virtualbox
homestead: Downloading: https://vagrantcloud.com/laravel/boxes/homestead/versions/10.1.1/providers/virtualbox.box
@svpernova09
svpernova09 / gist:2c859ac2a1c086af0516631650802e11
Created February 23, 2021 23:17
Vagrant up w s.inline = 'sudo chown -R vagrant:vagrant /usr/local/bin && sudo -u vagrant /usr/local/bin/composer self-update --no-progress && sudo chown -R vagrant:vagrant /home/vagrant/.config/'
─(~/Code/homestead)(20.04 M:1 S:8)─────────────────────────────────────────────────────────────────────────────────┐
└── vagrant destroy -f && vagrant up ─(17:12:21)(02/23/21)─┘
==> 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 '10.1.1' is up to date...
==> homestead: Setting the name of the VM: homestead
==> homestead: Clearing any previously set network interfaces...
@svpernova09
svpernova09 / after.sh
Created February 17, 2021 13:40
Prevent Homestead Sleeping
sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target
┌─(~/Code/homestead)(release S:8)───────────────────────────────────────────────────────────────────────────────────┐
└─(1)─ vagrant destroy -f && vagrant up ─(10:30:53)(01/31/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 '9.7.2' is up to date...
==> homestead: Setting the name of the VM: homestead
==> homestead: Fixed port collision for 23517 => 23517. Now on port 2200.
==> homestead: Clearing any previously set network interfaces...
@svpernova09
svpernova09 / vagrantup-log.log
Created November 1, 2020 02:43
Hyper-V Latest Homestead vagrant up log showing no errors.
PS C:\Users\halo\Code\homestead> vagrant box add laravel/homestead --provider hyperv
==> box: Loading metadata for box 'laravel/homestead'
box: URL: https://vagrantcloud.com/laravel/homestead
==> box: Adding box 'laravel/homestead' (v10.1.1) for provider: hyperv
box: Downloading: https://vagrantcloud.com/laravel/boxes/homestead/versions/10.1.1/providers/hyperv.box
Download redirected to host: vagrantcloud-files-production.s3.amazonaws.com
box:
box: Calculating and comparing box checksum...
==> box: Successfully added box 'laravel/homestead' (v10.1.1) for 'hyperv'!
PS C:\Users\halo\Code\homestead> vagrant up
@svpernova09
svpernova09 / wsl-init_output.log
Created September 15, 2020 19:07
wsl-init_output.log
halo@Rage:/mnt/c/Users/halo/Code/homestead$ sudo ./bin/wsl-init
Hit:1 http://archive.ubuntu.com/ubuntu focal InRelease
Hit:2 http://security.ubuntu.com/ubuntu focal-security InRelease
Hit:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:4 http://archive.ubuntu.com/ubuntu focal-backports InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
@svpernova09
svpernova09 / create-sites_output.log
Last active September 14, 2020 18:04
WSL 2 & Homestead
halo@Rage:/mnt/c/Users/halo/Code/homestead$ ./bin/homestead wsl:create-site
[sudo] password for halo:
rehash: warning: skipping duplicate certificate in ca.homestead.Rage.pem
/mnt/c/Users/halo/Code/homestead/src/WslCreateSiteCommand.php:91:
string(125) "Updating certificates in /etc/ssl/certs...
1 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...
done.
"
/mnt/c/Users/halo/Code/homestead/src/WslCreateSiteCommand.php:97:
@svpernova09
svpernova09 / provision.sh
Last active March 18, 2024 17:53
WSL PHP Development
#!/usr/bin/env bash
export DEBIAN_FRONTEND=noninteractive
# Update Package List
apt-get update
# Update System Packages
apt-get upgrade -y