-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11 from mokztk/devel/4.2.0
Devel/4.2.0_2020Jun
- Loading branch information
Showing
8 changed files
with
95 additions
and
109 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,16 @@ | ||
# Install coding fonts (for RStudio Server) | ||
|
||
## JetBrains Mono | ||
mkdir -p /home/rstudio/.config/rstudio/fonts/JetBrainsMono/italic | ||
wget -q https://download.jetbrains.com/fonts/JetBrainsMono-2.242.zip | ||
unzip JetBrainsMono-2.242.zip -d JetBrainsMono | ||
cp JetBrainsMono/fonts/variable/JetBrainsMono[wght].ttf /home/rstudio/.config/rstudio/fonts/JetBrainsMono/JetBrainsMono.ttf | ||
cp JetBrainsMono/fonts/variable/JetBrainsMono-Italic[wght].ttf /home/rstudio/.config/rstudio/fonts/JetBrainsMono/italic/JetBrainsMono-Italic.ttf | ||
mv /home/rstudio/.config/rstudio/fonts/JetBrainsMono/ /home/rstudio/.config/rstudio/fonts/JetBrains\ Mono/ | ||
rm JetBrainsMono-2.242.zip | ||
rm -rf JetBrainsMono | ||
|
||
## PlemolJP (IBM Plex Sans JP + IBM Plex Mono) | ||
## https://qiita.com/tawara_/items/0a7b8c50a48ea86b2d91 | ||
mkdir -p /home/rstudio/.config/rstudio/fonts/PlemolJP/400/italic | ||
mkdir -p /home/rstudio/.config/rstudio/fonts/PlemolJP/700/italic | ||
wget -q https://github.com/yuru7/PlemolJP/releases/download/v1.2.0/PlemolJP_v1.2.0.zip | ||
unzip PlemolJP_v1.2.0.zip | ||
cp PlemolJP_v1.2.0/PlemolJPConsole/PlemolJPConsole-Regular.ttf /home/rstudio/.config/rstudio/fonts/PlemolJP/400 | ||
cp PlemolJP_v1.2.0/PlemolJPConsole/PlemolJPConsole-Italic.ttf /home/rstudio/.config/rstudio/fonts/PlemolJP/400/italic | ||
cp PlemolJP_v1.2.0/PlemolJPConsole/PlemolJPConsole-Bold.ttf /home/rstudio/.config/rstudio/fonts/PlemolJP/700 | ||
cp PlemolJP_v1.2.0/PlemolJPConsole/PlemolJPConsole-BoldItalic.ttf /home/rstudio/.config/rstudio/fonts/PlemolJP/700/italic | ||
mv /home/rstudio/.config/rstudio/fonts/PlemolJP/ /home/rstudio/.config/rstudio/fonts/PlemolJP\ Console/ | ||
rm PlemolJP_v1.2.0.zip | ||
rm -rf PlemolJP_v1.2.0 | ||
## UDEV Gothic LG (BIZ UD Gothic + JetBrains Mono) | ||
## https://github.com/yuru7/udev-gothic | ||
mkdir -p /home/rstudio/.config/rstudio/fonts/UDEVGothicLG/400/italic | ||
mkdir -p /home/rstudio/.config/rstudio/fonts/UDEVGothicLG/700/italic | ||
wget -q https://github.com/yuru7/udev-gothic/releases/download/v1.0.0/UDEVGothic_v1.0.0.zip | ||
unzip UDEVGothic_v1.0.0.zip | ||
cp UDEVGothic_v1.0.0/UDEVGothicLG-Regular.ttf /home/rstudio/.config/rstudio/fonts/UDEVGothicLG/400 | ||
cp UDEVGothic_v1.0.0/UDEVGothicLG-Italic.ttf /home/rstudio/.config/rstudio/fonts/UDEVGothicLG/400/italic | ||
cp UDEVGothic_v1.0.0/UDEVGothicLG-Bold.ttf /home/rstudio/.config/rstudio/fonts/UDEVGothicLG/700 | ||
cp UDEVGothic_v1.0.0/UDEVGothicLG-BoldItalic.ttf /home/rstudio/.config/rstudio/fonts/UDEVGothicLG/700/italic | ||
mv /home/rstudio/.config/rstudio/fonts/UDEVGothicLG/ /home/rstudio/.config/rstudio/fonts/UDEV\ Gothic\ LG/ | ||
rm -rf UDEVGothic* | ||
|
||
chown -R rstudio:rstudio /home/rstudio/.config/rstudio |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/bin/bash | ||
set -x | ||
|
||
# Quarto のインストール | ||
|
||
apt-get update | ||
|
||
QUARTO_DEB="quarto-0.9.504-linux-amd64.deb" | ||
wget -q https://github.com/quarto-dev/quarto-cli/releases/download/v0.9.504/${QUARTO_DEB} | ||
gdebi -n $QUARTO_DEB | ||
rm $QUARTO_DEB | ||
|
||
apt-get clean | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
install2.r --error --ncpus -1 --skipinstalled quarto |
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
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
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