This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Hardware assisted virtualization and data execution protection must be enabled in the BIOS | |
http://stackoverflow.com/questions/39684974/docker-for-windows-error-hardware-assisted-virtualization-and-data-execution-p | |
If the features described are enabled the problem is with Hyper-V that is disabled or Hypervisor agent not running | |
Open PowerShell as administrator and | |
a) Enable Hyper-V with |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Start PostFix | |
sudo launchctl start org.postfix.master | |
# Send | |
mail -s testing [email protected] | |
# Check email | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# QEmu | |
brew install qemu | |
# Home for out tests | |
mkdir ~/arm-emu | |
cd ~/arm-emu | |
# Download initrd and kernel | |
wget http://ftp.de.debian.org/debian/dists/jessie/main/installer-armel/current/images/versatile/netboot/initrd.gz |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# clean brew cache | |
brew cleanup -s |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# tunnel online | |
ngrok tcp 3306 | |
# connection | |
user=root | |
pass=techne | |
host=0.tcp.ngrok.io | |
port=16799 | |
mysql -u$user -h$host -P$port -p$pass |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ovftool "c:\path\to\original_vm.vmx" "c:\path\to\export.ovf" | |
# https://www.maketecheasier.com/convert-virtual-machines-vmware-virtualbox/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
How can I flush the DNS on Ubuntu? | |
sudo rm -f /etc/resolv.conf | |
sudo ln -s /run/systemd/resolve/resolv.conf /etc/resolv.conf | |
reboot | |
# Source | |
https://askubuntu.com/questions/974477/systemds-implementation-of-dns-is-not-resolving-names |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find . -type f | sed -n 's/..*\.//p' | sort | uniq -c |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# inside conf folder of tomcat9 | |
cd $TOMCAT_HOME9/conf | |
# Common for the APR connector and conventional connectors | |
openssl req -newkey rsa:2048 -nodes -keyout tomcat.key -x509 -days 365 -out tomcat.crt | |
# Not useful for the APR connector | |
openssl pkcs12 -inkey tomcat.key -in tomcat.crt -export -out tomcat.pfx |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Spotify NoAds | |
127.0.0.1 adclick.g.doublecklick.net | |
127.0.0.1 adeventtracker.spotify.com | |
127.0.0.1 ads-fa.spotify.com | |
127.0.0.1 analytics.spotify.com | |
127.0.0.1 audio2.spotify.com | |
127.0.0.1 b.scorecardresearch.com | |
127.0.0.1 bounceexchange.com | |
127.0.0.1 bs.serving-sys.com | |
127.0.0.1 content.bitsontherun.com |