mirror of
https://gitlab.com/DevLifeFromModernWay/devlifefrommodernway.gitlab.io.git
synced 2025-06-20 16:15:37 +00:00
Compare commits
9 Commits
2023-10-15
...
8acb8f9b2f
Author | SHA1 | Date | |
---|---|---|---|
8acb8f9b2f | |||
786b104380 | |||
d7ec37ec45 | |||
5f3dd8c005 | |||
f965677403 | |||
bb93c8cca2 | |||
2872b3b432 | |||
6dd0859ac0 | |||
48fbf2cd74 |
@ -43,8 +43,13 @@ pages:
|
||||
- unzip "./fonts/*.zip" -d /usr/share/fonts/
|
||||
&& 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 -u node pnpm install
|
||||
|
||||
- sudo -u node env LANG=ja_JP.UTF-8 pnpm run build
|
||||
|
||||
- cp -a _book/. public/
|
||||
|
@ -1,17 +1,16 @@
|
||||
{
|
||||
"root": "./src",
|
||||
"title": "「モダンからはじめる プログラミング生活!」",
|
||||
"author": "Satsuki Akiba <anosatsuk124@gmail.com>",
|
||||
"authorShort": "Satsuki Akiba",
|
||||
"author": "Satsuki Akiba",
|
||||
"language": "ja",
|
||||
"plugins": [
|
||||
"anchors",
|
||||
"collapsible-chapters",
|
||||
"hide-published-with",
|
||||
"hints"
|
||||
"hints",
|
||||
"search-pro-fixed"
|
||||
],
|
||||
"pdf.fontSize": 16,
|
||||
"pdf.fontFamily": "ZenMaruGothic",
|
||||
"pdf.paperSize": "a4",
|
||||
"pdf.embedFonts": true
|
||||
}
|
||||
|
BIN
fonts/FirgeNerd_v0.2.0.zip
(Stored with Git LFS)
Normal file
BIN
fonts/FirgeNerd_v0.2.0.zip
(Stored with Git LFS)
Normal file
Binary file not shown.
9
fonts/fonts.conf
Normal file
9
fonts/fonts.conf
Normal 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>
|
@ -16,6 +16,7 @@
|
||||
"gitbook-plugin-collapsible-chapters": "^0.1.8",
|
||||
"gitbook-plugin-hide-published-with": "^0.0.1",
|
||||
"gitbook-plugin-hints": "^1.0.2",
|
||||
"gitbook-plugin-search-pro-fixed": "^1.0.1",
|
||||
"graceful-fs": "^4.2.11",
|
||||
"honkit": "^5.1.1",
|
||||
"npm-run-all": "^4.1.5"
|
||||
|
10
pnpm-lock.yaml
generated
10
pnpm-lock.yaml
generated
@ -17,6 +17,9 @@ devDependencies:
|
||||
gitbook-plugin-hints:
|
||||
specifier: ^1.0.2
|
||||
version: 1.0.2
|
||||
gitbook-plugin-search-pro-fixed:
|
||||
specifier: ^1.0.1
|
||||
version: 1.0.1
|
||||
graceful-fs:
|
||||
specifier: ^4.2.11
|
||||
version: 4.2.11
|
||||
@ -816,6 +819,13 @@ packages:
|
||||
lunr: 0.5.12
|
||||
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:
|
||||
resolution: {integrity: sha512-oP9jhaKFUVPo756G9ywuuI43YdkZClSjfpFzNKe/a/Rcn3oVsrAM/PjdQ+dt65KfZVo3iW1LY4WdiZnNqzRP8g==}
|
||||
engines: {gitbook: '>=3.0.0-pre.0'}
|
||||
|
3
public/.gitignore
vendored
Normal file
3
public/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
*
|
||||
!.gitignore
|
||||
!*.html
|
1
public/google59c695aacfffca60.html
Normal file
1
public/google59c695aacfffca60.html
Normal file
@ -0,0 +1 @@
|
||||
google-site-verification: google59c695aacfffca60.html
|
101
src/README.md
101
src/README.md
@ -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_) の文法や機能を …
|
||||
|
||||
---
|
||||
|
||||
[^1]: [X (Twitter)][2] は、イーロン氏以降に _Open Source_ 化が進んでいます。
|
||||
[^2]: Google での検索しやすさ。`C language` は `C-language` `C-lang` などと表記すると Googleablity が高い。
|
||||
|
Reference in New Issue
Block a user