Skip to content

Instantly share code, notes, and snippets.

@MakeStuffWithAI
MakeStuffWithAI / parallels_trial_fix.sh
Last active February 9, 2022 10:20
Parallels Trial FIX / Reset
### DISCLAIMER: This code will delete all personal files regarding
###. your Parallels 17 installation and should fix any of the common
###. trial period bugs once you reinstall.
###. I created this for personal use but found there were so many
###. with a similar bug that I decided to share it.
### If you are actively using Parallels for longer than the trial
### period or using it for commercial purposes, you MUST register
### it or it is considered software piracy.
sudo rm -rfd ~/library/preferences/com.parallels*
@MakeStuffWithAI
MakeStuffWithAI / lxc-create if gpg error
Last active August 23, 2018 21:39
Command to fix LXC GPG Error
#lxc on Ubuntu 18.04 has a "GPG error" if it is just run with the standard keyserver
#This command fixes that
lxc-create -t download -n mycontainer -- --keyserver hkp://p80.pool.sks-keyservers.net:80
#also handy for ansible work is the command
#sudo lxc-ls -f | awk '{if(NR>1)print $5}' > hosts
#This command will save all of the ip addresses to a file called hosts