mirror of
https://gitlab.com/DevLifeFromModernWay/devlifefrommodernway.gitlab.io.git
synced 2025-06-20 19:25:38 +00:00
Compare commits
9 Commits
2023-10-17
...
2023-10-25
Author | SHA1 | Date | |
---|---|---|---|
7665da5c08 | |||
630ba71c8f | |||
ac7e50b940 | |||
5c2ff7aaee | |||
64a5e34538 | |||
8a459a7664 | |||
0c13b9c9d2 | |||
0abaa06495 | |||
ab21c78fbf |
@ -40,11 +40,11 @@ pages:
|
||||
- apt-get update && apt-get install -y calibre --no-install-recommends
|
||||
|
||||
- apt-get update && apt-get install -y fontconfig unzip sudo
|
||||
- unzip "./styles/fonts/*.zip" -d /usr/share/fonts/
|
||||
- unzip "./fonts/*.zip" -d /usr/share/fonts/
|
||||
&& fc-cache -fv
|
||||
|
||||
- mkdir -p /etc/fonts/conf.d &&
|
||||
cp -a ./styles/fonts/fonts.conf /etc/fonts/conf.d/99-firgenerd.conf &&
|
||||
cp -a ./fonts/fonts.conf /etc/fonts/conf.d/99-firgenerd.conf &&
|
||||
fc-cache -fv
|
||||
|
||||
- sudo corepack enable
|
||||
|
@ -11,8 +11,10 @@
|
||||
"search-pro-fixed"
|
||||
],
|
||||
"styles": {
|
||||
"website": "./_styles/website.css"
|
||||
"website": "./_styles/website.css",
|
||||
"pdf": "./_styles/pdf.css"
|
||||
},
|
||||
"pdf.fontFamily": "FirgeNerd",
|
||||
"pdf.fontSize": 16,
|
||||
"pdf.paperSize": "a4",
|
||||
"pdf.embedFonts": true
|
||||
|
@ -4,8 +4,8 @@
|
||||
"scripts": {
|
||||
"watch": "run-s license && run-p watch:web",
|
||||
"watch:web": "honkit serve",
|
||||
"build": "run-s license build:content",
|
||||
"build:content": "run-p build:content:*",
|
||||
"build": "run-s build:content",
|
||||
"build:content": "run-s license && run-p build:content:*",
|
||||
"build:content:web": "honkit build",
|
||||
"build:content:pdf": "mkdir -p ./target/ && honkit pdf . ./target/book.pdf",
|
||||
"build:content:epub": "mkdir -p ./target/ && honkit epub . ./target/book.epub",
|
||||
|
@ -1,4 +1,4 @@
|
||||
# LICENSE Information
|
||||
# ライセンス情報
|
||||
|
||||
## 本文
|
||||
|
||||
|
@ -32,9 +32,9 @@
|
||||
|
||||
## 構成と目的
|
||||
|
||||
多くのプログラミング教材が** (たった) 一つの**プログラミング言語 (あるいは _framework_) の文法や機能を説明することに重点を置いていますが、
|
||||
ここではそれらを最小限に抑え、むしろより多くの広い範囲に目を向けます。
|
||||
多くのプログラミング教材が** (たった) 一つの**プログラミング言語 (あるいは _framework_) の文法や機能を説明することに重点を置いています。
|
||||
|
||||
しかしここではそれらを最小限に抑え、
|
||||
様々な領域の開発を通じて**プログラミングと開発**を広く学びます (プログラミング**言語**を広く学ぶわけではないのです!) 。
|
||||
|
||||
- 低レイヤプログラミング
|
||||
@ -54,20 +54,27 @@
|
||||
- プログラミングにまつわる思想 / 文化
|
||||
|
||||
- 複数のプログラミング言語を書く力
|
||||
|
||||
- `JavaScript / TypeScript`
|
||||
|
||||
- `Rust`
|
||||
|
||||
- `C#`
|
||||
|
||||
など、プログラミングとは切り離せない周辺分野の知識さえも得られます。
|
||||
|
||||
## なぜ複数の言語を学ぶのか
|
||||
|
||||
例えば、[X (Twitter)][2] の [Twitter の GitHub][1] [^1] を見てみると、 **Top languages** (プログラミング言語のランキング) は
|
||||
例えば、[Twitter の GitHub][1] [^1] を見てみると、 **Top languages** (プログラミング言語のランキング) は
|
||||
|
||||
- `Scala`
|
||||
|
||||
- `Java`
|
||||
|
||||
- `Python`
|
||||
|
||||
- `JavaScript`
|
||||
|
||||
- `C`
|
||||
|
||||
となっています。他にも同サービスには `Rust` や `TypeScript` なども利用されています。
|
||||
@ -87,6 +94,8 @@
|
||||
[1]: https://github.com/twitter
|
||||
[2]: https://x.com/
|
||||
|
||||
[^1]: [X (Twitter)][2] は、イーロン氏以降に _Open Source_ 化が進んでいます。
|
||||
|
||||
## このリポジトリの使い方、読み進め方
|
||||
|
||||
### 用語の表記について
|
||||
@ -96,7 +105,4 @@
|
||||
|
||||
> プログラミング言語 (あるいは _framework_) の文法や機能を …
|
||||
|
||||
---
|
||||
|
||||
[^1]: [X (Twitter)][2] は、イーロン氏以降に _Open Source_ 化が進んでいます。
|
||||
[^2]: Google での検索しやすさ。`C language` は `C-language` `C-lang` などと表記すると Googleablity が高い。
|
||||
[^2]: Google での検索しやすさ。C 言語は `C` と検索せず、 `C-language` `C-lang` などとすると Googleablity が高い。
|
||||
|
41
src/_styles/pdf.css
Normal file
41
src/_styles/pdf.css
Normal file
@ -0,0 +1,41 @@
|
||||
@font-face {
|
||||
font-family: "FirgeNerd";
|
||||
src: url("./fonts/woff2/FirgeNerd-Regular.woff2") format("woff2");
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: "FirgeNerd";
|
||||
src: url("./fonts/woff2/FirgeNerd-Bold.woff2") format("woff2");
|
||||
font-weight: bold;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
.book.font-family-1 {
|
||||
font-family: "FirgeNerd", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
}
|
||||
|
||||
.markdown-section p {
|
||||
font-size: 1.1em;
|
||||
}
|
||||
|
||||
.markdown-section code,
|
||||
.markdown-section pre {
|
||||
font-family: "FirgeNerd", monospace;
|
||||
}
|
||||
|
||||
.markdown-section code {
|
||||
font-size: 0.9em;
|
||||
}
|
||||
|
||||
/* For hints Plguin */
|
||||
|
||||
.hints-container {
|
||||
/* To be fitted */
|
||||
padding-right: 15px;
|
||||
}
|
||||
|
||||
.hints-alert {
|
||||
word-break: break-word;
|
||||
}
|
@ -28,3 +28,14 @@
|
||||
.markdown-section code {
|
||||
font-size: 0.9em;
|
||||
}
|
||||
|
||||
/* For hints Plguin */
|
||||
|
||||
.hints-container {
|
||||
/* To be fitted */
|
||||
padding-right: 15px;
|
||||
}
|
||||
|
||||
.hints-alert {
|
||||
word-break: break-word;
|
||||
}
|
||||
|
Reference in New Issue
Block a user