他の言語をある程度知っている人はこれを読めばD言語の基礎をマスターでき,D言語の氷山の一角くらいは知ることができると思います.対象バージョンはdmd 2.059です.
ASCIIかUTFしか受け付けません.それ以外の文字コードで書くとコンパイルエラーになります.
D言語のmainはCとは違い以下のようなシグネチャです.
https://ja.wikipedia.org/wiki/JavaScript_Object_Notation
Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
| Commit type | Emoji |
|---|---|
| Initial commit | 🎉 :tada: |
| Version tag | 🔖 :bookmark: |
| New feature | ✨ :sparkles: |
| Bugfix | 🐛 :bug: |
| # ==== Emojis ==== | |
| # 🐛 :bug: バグ修正 | |
| # 👍 :+1: 機能改善 | |
| # ✨ :sparkles: 部分的な機能追加 | |
| # 🎉 :tada: 盛大に祝うべき大きな機能追加 | |
| # ♻️ :recycle: リファクタリング | |
| # 🚿 :shower: 不要な機能・使われなくなった機能の削除 | |
| # 💚 :green_heart: テストやCIの修正・改善 |
| import axios from 'axios'; | |
| import qs from 'qs'; | |
| export const getAuth = async () => { | |
| const clientId = process.env.REACT_APP_BASIC_CLIENT_ID; | |
| const clientSecret = process.env.REACT_APP_BASIC_CLIENT_SECRET; | |
| const headers = { | |
| headers: { | |
| Accept: 'application/json', |
| curl -L https://github.com/aws/aws-sam-cli/releases/latest/download/aws-sam-cli-linux-x86_64.zip -o aws-sam-cli-linux-x86_64.zip | |
| unzip aws-sam-cli-linux-x86_64.zip -d sam-installation | |
| sudo ./sam-installation/install | |
| where sam | |
| sam --version |