Use rsvg
rsvg -w 1024 -h 1024 infile.svg outfile.png
Use rsvg
rsvg -w 1024 -h 1024 infile.svg outfile.png
convert -rotate 90 -flatten -density 100 *.ps *.png
To zip directory foo
but exclude sub directories bar
and baz
.
zip -r myarchive.zip foo -x "foo/bar/*" "foo/baz/*"
To list the contents of a keystore file
keytool -list -keystore .keystore
To list the contents of a specific alias
keytool -list -keystore .keystore -alias foo
cpp -C -P -I <path> input_file
-C
to preserve comments, -P
to remove line markers, -I
to include a directory path to search
Basically there are two modes.
Provides timeline of GPU activities in chronological order. For each kernel/memory copy, detailed information such as kernel parameters, shared memory usage and memory transfer throughput are shown. Good to check how much DRAM traffic was generated (?)
nvprof --print-gpu-trace
nsys profile \
-f true \
-o bert_phase2 \
-s none \
--export sqlite bash scripts/run_pretraining.sh
cd ~
sudo curl -sS https://getcomposer.org/installer | sudo php
sudo mv composer.phar /usr/local/bin/composer
sudo ln -s /usr/local/bin/composer /usr/bin/composer
then you can run
sudo composer install