- Close the Arduino IDE. (Otherwise your edits will be overwritten)
- Open
preferences.txt
. (Found in the folder~/.arduino15
on Linux Mint) - Add a new value
build.path
that points to your preferred folder:build.path=/dev/shm/Arduino
- Save
preferences.txt
. - Restart the IDE. Compiler output is now saved in the folder you just added.
Remember thatdev/shm
is gone after a reboot!
Tag Archives: folder
Add password to Apache2 directory.
Put something like this in your sitename.conf
:
<IfModule mod_ssl.c>
<VirtualHost *:443>
ServerName muziek.wasietsmet.nl
DocumentRoot "/mnt/music"
<Directory "/mnt/music">
Allow from all
AuthUserFile /var/www/muziek.wasietsmet.nl/.wachtwoord
AuthType Basic
AuthName "muziek"
Require valid-user
</Directory>
CustomLog "|/usr/bin/rotatelogs /var/www/muziek.wasietsmet.nl/log/access%d-%m-%Y 86400" vhost_combined env=!dontlog
ErrorLog "|/usr/bin/rotatelogs /var/www/muziek.wasietsmet.nl/log/error%d-%m-%Y 86400"
SSLCertificateFile
...
</IfModule>
Use htpasswd -c /var/www/muziek.wasietsmet.nl/.wachtwoord $USERNAME
to create the .wachtwoord
file.