9 Commits

Author SHA1 Message Date
8acb8f9b2f Upload Google Search console 2023-10-15 01:05:38 +00:00
786b104380 Update .gitignore 2023-10-15 01:04:13 +00:00
d7ec37ec45 FIX typo 2023-10-15 09:40:47 +09:00
5f3dd8c005 Writing an introduction 2023-10-15 09:32:53 +09:00
f965677403 Replace all ebooks' fonts with FirgeNerd font 2023-10-15 03:54:09 +09:00
bb93c8cca2 Add fonts.conf 2023-10-15 03:39:21 +09:00
2872b3b432 Update 2023-10-15 02:45:15 +09:00
6dd0859ac0 Update download links 2023-10-15 01:49:28 +09:00
48fbf2cd74 Revert "FIX"
This reverts commit 9cc27bf05a.
2023-10-15 01:45:04 +09:00
10 changed files with 130 additions and 10 deletions

View File

@ -43,8 +43,13 @@ pages:
- unzip "./fonts/*.zip" -d /usr/share/fonts/ - unzip "./fonts/*.zip" -d /usr/share/fonts/
&& fc-cache -fv && fc-cache -fv
- mkdir -p /etc/fonts/conf.d &&
cp -a ./fonts/fonts.conf /etc/fonts/conf.d/99-firgenerd.conf &&
fc-cache -fv
- sudo corepack enable - sudo corepack enable
- sudo -u node pnpm install - sudo -u node pnpm install
- sudo -u node env LANG=ja_JP.UTF-8 pnpm run build - sudo -u node env LANG=ja_JP.UTF-8 pnpm run build
- cp -a _book/. public/ - cp -a _book/. public/

View File

@ -1,17 +1,16 @@
{ {
"root": "./src", "root": "./src",
"title": "「モダンからはじめる プログラミング生活!」", "title": "「モダンからはじめる プログラミング生活!」",
"author": "Satsuki Akiba <anosatsuk124@gmail.com>", "author": "Satsuki Akiba",
"authorShort": "Satsuki Akiba",
"language": "ja", "language": "ja",
"plugins": [ "plugins": [
"anchors", "anchors",
"collapsible-chapters", "collapsible-chapters",
"hide-published-with", "hide-published-with",
"hints" "hints",
"search-pro-fixed"
], ],
"pdf.fontSize": 16, "pdf.fontSize": 16,
"pdf.fontFamily": "ZenMaruGothic",
"pdf.paperSize": "a4", "pdf.paperSize": "a4",
"pdf.embedFonts": true "pdf.embedFonts": true
} }

BIN
fonts/FirgeNerd_v0.2.0.zip (Stored with Git LFS) Normal file

Binary file not shown.

9
fonts/fonts.conf Normal file
View File

@ -0,0 +1,9 @@
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
<match target="pattern">
<edit name="family" mode="assign">
<string>FirgeNerd</string>
</edit>
</match>
</fontconfig>

View File

@ -16,6 +16,7 @@
"gitbook-plugin-collapsible-chapters": "^0.1.8", "gitbook-plugin-collapsible-chapters": "^0.1.8",
"gitbook-plugin-hide-published-with": "^0.0.1", "gitbook-plugin-hide-published-with": "^0.0.1",
"gitbook-plugin-hints": "^1.0.2", "gitbook-plugin-hints": "^1.0.2",
"gitbook-plugin-search-pro-fixed": "^1.0.1",
"graceful-fs": "^4.2.11", "graceful-fs": "^4.2.11",
"honkit": "^5.1.1", "honkit": "^5.1.1",
"npm-run-all": "^4.1.5" "npm-run-all": "^4.1.5"

10
pnpm-lock.yaml generated
View File

@ -17,6 +17,9 @@ devDependencies:
gitbook-plugin-hints: gitbook-plugin-hints:
specifier: ^1.0.2 specifier: ^1.0.2
version: 1.0.2 version: 1.0.2
gitbook-plugin-search-pro-fixed:
specifier: ^1.0.1
version: 1.0.1
graceful-fs: graceful-fs:
specifier: ^4.2.11 specifier: ^4.2.11
version: 4.2.11 version: 4.2.11
@ -816,6 +819,13 @@ packages:
lunr: 0.5.12 lunr: 0.5.12
dev: true dev: true
/gitbook-plugin-search-pro-fixed@1.0.1:
resolution: {integrity: sha512-X6pBgfN54D3Ij+iF4cw44PZCdOvjnqboEoi0bsolEYPzcJOXFiiemxYt+rit95T8UbSaML38o8SCPzl9grM/zA==}
engines: {gitbook: '>=3.0.0'}
dependencies:
html-entities: 1.2.0
dev: true
/gitbook-plugin-search@2.2.1: /gitbook-plugin-search@2.2.1:
resolution: {integrity: sha512-oP9jhaKFUVPo756G9ywuuI43YdkZClSjfpFzNKe/a/Rcn3oVsrAM/PjdQ+dt65KfZVo3iW1LY4WdiZnNqzRP8g==} resolution: {integrity: sha512-oP9jhaKFUVPo756G9ywuuI43YdkZClSjfpFzNKe/a/Rcn3oVsrAM/PjdQ+dt65KfZVo3iW1LY4WdiZnNqzRP8g==}
engines: {gitbook: '>=3.0.0-pre.0'} engines: {gitbook: '>=3.0.0-pre.0'}

3
public/.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
*
!.gitignore
!*.html

View File

View File

@ -0,0 +1 @@
google-site-verification: google59c695aacfffca60.html

View File

@ -1,13 +1,102 @@
# 「モダンからはじめる プログラミング生活!」 # このリポジトリについて
## 本としてダウンロード {% hint style="info" %}
[PDF](https://gitlab.com/api/v4/projects/DevLifeFromModernWay%2Fdevlifefrommodernway.gitlab.io/releases/permalink/latest/downloads/book.pdf) **本としてダウンロード**
[EPUB](https://gitlab.com/api/v4/projects/DevLifeFromModernWay%2Fdevlifefrommodernway.gitlab.io/releases/permalink/latest/downloads/book.epub) [**Releases**](https://gitlab.com/DevLifeFromModernWay/devlifefrommodernway.gitlab.io/-/releases/permalink/latest) から以下のファイル形式でのダウンロードも可能です。
[MOBI](https://gitlab.com/api/v4/projects/DevLifeFromModernWay%2Fdevlifefrommodernway.gitlab.io/releases/permalink/latest/downloads/book.mobi) - PDF
## このリポジトリについて - EPUB
- MOBI
**link: <https://gitlab.com/DevLifeFromModernWay/devlifefrommodernway.gitlab.io/-/releases/permalink/latest>**
{% endhint %}
{% hint style="danger" %}
**注意**:
本リポジトリは余裕をもって、片手間にでも読み進めることを想定しています。
いますぐ即戦力になるような教材では**ありません**。
興味を持ったところから、気軽に読み進めてください。
{% endhint %}
本リポジトリはゲーム感覚で現代的で実践的なプログラマになるための教材です。
## 構成と目的
多くのプログラミング教材が** (たった) 一つの**プログラミング言語 (あるいは _framework_) の文法や機能を説明することに重点を置いていますが、
ここではそれらを最小限に抑え、むしろより多くの広い範囲に目を向けます。
様々な領域の開発を通じて**プログラミングと開発**を広く学びます (プログラミング**言語**を広く学ぶわけではないのです!) 。
- 低レイヤプログラミング
- ゲーム開発
- Web アプリケーション開発
などを実践的に解決していく形式をとります。
その過程での副産物として、
- Google 検索の方法 [^2]
- `Git` (あるいは `GitHub`) の使い方
- プログラミングにまつわる思想 / 文化
- 複数のプログラミング言語を書く力
- `JavaScript / TypeScript`
- `Rust`
- `C#`
など、プログラミングとは切り離せない周辺分野の知識さえも得られます。
## なぜ複数の言語を学ぶのか
例えば、[X (Twitter)][2] の [Twitter の GitHub][1] [^1] を見てみると、 **Top languages** (プログラミング言語のランキング) は
- `Scala`
- `Java`
- `Python`
- `JavaScript`
- `C`
となっています。他にも同サービスには `Rust``TypeScript` なども利用されています。
このように現代的な開発環境において、複数の言語や framework を組み合わせて利用することは珍しくありません。
実際のところ、多くのプログラマは 3 つ以上のプログラミング言語を容易に使いこなします。
プログラミング言語はマスタすることが最善手ではありません。
それは多くの言語間に共通する考え方 / 書き方があるからで、複数の言語を習得することは実際には**まったくの困難を伴いません**。
しかし、「一つの言語でもマスタしている」と断言できるプログラマはそう多くないはずです。
それはプログラミング言語は、**ある程度のレベルに**達すると、**ある程度のレベルで*実用的に***使いこなせるようになるからです。
プログラミング言語の文法や機能を完全に理解することは深淵と向き合うことですから、
一つの言語について深く学ぶことは最初にやるべきタスクではありません。
むしろ広範な領域に手を出して目一杯遊び疲れてから、愛着を持った言語などから深く学ぶべき言語を選ぶほうが効率的だからです。
[1]: https://github.com/twitter
[2]: https://x.com/
## このリポジトリの使い方、読み進め方 ## このリポジトリの使い方、読み進め方
### 用語の表記について
プログラミングの周辺分野用語は、Googleablity [^2] を考慮して英語表記を優先しています。
初出で重要なキーワードは _Italic_ 体で表記しています。
> プログラミング言語 (あるいは _framework_) の文法や機能を &hellip;
---
[^1]: [X (Twitter)][2] は、イーロン氏以降に _Open Source_ 化が進んでいます。
[^2]: Google での検索しやすさ。`C language``C-language` `C-lang` などと表記すると Googleablity が高い。