| axios({ | |
| url: 'http://localhost:5000/static/example.pdf', | |
| method: 'GET', | |
| responseType: 'blob', // important | |
| }).then((response) => { | |
| const url = window.URL.createObjectURL(new Blob([response.data])); | |
| const link = document.createElement('a'); | |
| link.href = url; | |
| link.setAttribute('download', 'file.pdf'); | |
| document.body.appendChild(link); |
Are you a PC enthusiast want to play around virtualization and have you just recently upgraded to a 3000 series RTX card and don't know what to do with your 2000 series well I have a project for you.
Once you pass the GPU through to a VM the host will not have access to the GPU anymore. This is why I recomend adding a second GPU to your host. Also the GPU cannot be shared across guests.
ssh into your Proxmox Server and edit Grub
This tutorial will guide you on how to install Z File System (ZFS) on a Linux distribution. We will use Ubuntu Linux distribution since ZFS package in Ubuntu is maintained well to be compatible with it's Linux Kernel
If you are using an Cloud Instance like in Amazon Web Service you can use the default provided Ubuntu Amazon Machine Image (AMI) like Ubuntu 16.04, 18.04, and 20.04 when you are provisioning it
Cobbled together from https://www.reddit.com/r/homelab/comments/83vkaz/howto_make_time_machine_backups_on_a_samba/
- Have at least Samba 4.8
- create
/etc/avahi/services/timemachine.service(see avahi.xml) - edit
/etc/samba/smb.conf(see smb.conf)- I only added one path and one valid user, your choice
| # | |
| # Sample configuration file for the Samba suite for Debian GNU/Linux. | |
| # | |
| # | |
| # This is the main Samba configuration file. You should read the | |
| # smb.conf(5) manual page in order to understand the options listed | |
| # here. Samba has a huge number of configurable options most of which | |
| # are not shown in this example | |
| # | |
| # Some options that are often worth tuning have been included as |
| #!/bin/bash | |
| ####################################################### | |
| # Tocdo.net Linux Server Benchmarks v1.5 | |
| # Run speed test: | |
| # curl -Lso- tocdo.net | bash | |
| ####################################################### | |
| # Colors | |
| RED='\033[0;31m' | |
| GREEN='\033[0;32m' |
