This file contains 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
#include <iostream> | |
#include <locale> | |
class comma_numpunct : public std::numpunct<char> { | |
virtual char do_decimal_point() const { | |
return ','; | |
} | |
virtual char do_thousands_sep() const { | |
return '.'; |
This file contains 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
# acquire fonts | |
cd ~/Downloads | |
wget https://noto-website.storage.googleapis.com/pkgs/Noto-hinted.zip | |
unzip Noto-hinted.zip | |
cd Noto-hinted | |
# install for all users | |
sudo mkdir /usr/share/fonts/opentype/noto | |
sudo cp *.otf *.otc /usr/share/fonts/opentype/noto/ | |
sudo fc-cache -f -v |
This file contains 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
# acquire fonts | |
cd ~/Downloads | |
wget https://github.com/andreberg/Meslo-Font/raw/master/dist/v1.2.1/Meslo%20LG%20DZ%20v1.2.1.zip | |
unzip Meslo\ LG\ DZ\ v1.2.1.zip | |
cd Meslo\ LG\ DZ\ v1.2.1 | |
# install for all users | |
sudo mkdir /usr/share/fonts/truetype/meslo | |
sudo cp *.ttf /usr/share/fonts/truetype/meslo/ | |
sudo fc-cache -f -v |