One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
//inkscape from the command line conversion | |
cd your-directory-with-the-svgs/ | |
for i in *; do inkscape $i --export-png=`echo $i | sed -e 's/svg$/png/'`; done | |
//imagemagick | |
mogrify -format png *.svg | |
######png bash optimization one directory | |
#!/bin/bash | |
cd /path/to/png/storage/2010/01/c/ | |
mkdir optimized | |
## store optimized images in optimized directory ## |
docker ps | awk {' print $1 '} | tail -n+2 > tmp.txt; for line in $(cat tmp.txt); do docker kill $line; done; rm tmp.txt |
# to generate your dhparam.pem file, run in the terminal | |
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |
http://brainwreckedtech.wordpress.com/2012/01/08/howto-convert-vdis-between-fixed-sized-and-dynamic-in-virtualbox/ http://www.webdesignblog.asia/software/linux-software/resize-virtualbox-disk-image-manipulate-vdi/#comment-474
While there is no way to actually switch a VDI between fixed-size and dynamic, you can clone the existing VDI into a new one with different settings with VBoxManage.
VBoxManage clonehd [old-VDI] [new-VDI] --variant Standard
VBoxManage clonehd [old-VDI] [new-VDI] --variant Fixed
If you want to expand the capacity of a VDI, you can do so with