-
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.
- Loading branch information
Showing
1 changed file
with
41 additions
and
49 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,49 +1,41 @@ | ||
<p align="center"> | ||
<a href="https://www.gatsbyjs.com/?utm_source=starter&utm_medium=readme&utm_campaign=minimal-starter-ts"> | ||
<img alt="Gatsby" src="https://www.gatsbyjs.com/Gatsby-Monogram.svg" width="60" /> | ||
</a> | ||
</p> | ||
<h1 align="center"> | ||
Gatsby Minimal TypeScript Starter | ||
</h1> | ||
|
||
## 🚀 Quick start | ||
|
||
1. **Create a Gatsby site.** | ||
|
||
Use the Gatsby CLI to create a new site, specifying the minimal TypeScript starter. | ||
|
||
```shell | ||
# create a new Gatsby site using the minimal TypeScript starter | ||
npm init gatsby -- -ts | ||
``` | ||
|
||
2. **Start developing.** | ||
|
||
Navigate into your new site’s directory and start it up. | ||
|
||
```shell | ||
cd my-gatsby-site/ | ||
npm run develop | ||
``` | ||
|
||
3. **Open the code and start customizing!** | ||
|
||
Your site is now running at http://localhost:8000! | ||
|
||
Edit `src/pages/index.tsx` to see your site update in real-time! | ||
|
||
4. **Learn more** | ||
|
||
- [Documentation](https://www.gatsbyjs.com/docs/?utm_source=starter&utm_medium=readme&utm_campaign=minimal-starter-ts) | ||
- [Tutorials](https://www.gatsbyjs.com/docs/tutorial/?utm_source=starter&utm_medium=readme&utm_campaign=minimal-starter-ts) | ||
- [Guides](https://www.gatsbyjs.com/docs/how-to/?utm_source=starter&utm_medium=readme&utm_campaign=minimal-starter-ts) | ||
- [API Reference](https://www.gatsbyjs.com/docs/api-reference/?utm_source=starter&utm_medium=readme&utm_campaign=minimal-starter-ts) | ||
- [Plugin Library](https://www.gatsbyjs.com/plugins?utm_source=starter&utm_medium=readme&utm_campaign=minimal-starter-ts) | ||
- [Cheat Sheet](https://www.gatsbyjs.com/docs/cheat-sheet/?utm_source=starter&utm_medium=readme&utm_campaign=minimal-starter-ts) | ||
|
||
## 🚀 Quick start (Netlify) | ||
|
||
Deploy this starter with one click on [Netlify](https://app.netlify.com/signup): | ||
|
||
[<img src="https://www.netlify.com/img/deploy/button.svg" alt="Deploy to Netlify" />](https://app.netlify.com/start/deploy?repository=https://github.com/gatsbyjs/gatsby-starter-minimal-ts) | ||
# Introdution | ||
Hello! My name is Dmitry and this is my development blog. | ||
Now I work in a local company office, but I'm looking for a warmer place. | ||
|
||
I need to blog primarily in order to reflect my development and research experience on paper. I started doing this in Google Doc, but realized that it was not effective. | ||
|
||
Perhaps in the future, I will convert this page into an easy-to-read blog. And I will transfer the accumulated experience from Google Docs here (I'm too lazy, really). | ||
|
||
<!--[You can buy me an apple](https://www.buymeacoffee.com/gormonn)--> | ||
|
||
# Builds | ||
* [WIP] [[source](https://github.com/gormonn/react-practice-list-edit-sort-filter)] [React list](https://gormonn.github.io/react-practice-list-edit-sort-filter/) | ||
* [TicTacToe Game](https://gormonn.github.io/tic-tac-toe/) [[source](https://github.com/gormonn/tic-tac-toe)] | ||
* [WIP] [Mines Game (source)](https://github.com/gormonn/mines-effector-solid) with Feature Sliced Design, SolidJs, Effector | ||
|
||
# Diary | ||
|
||
## 28.01.21 | ||
### Nodejs + Systemd (Nodejs as service) | ||
``` | ||
#!/bin/bash | ||
path="$NVM_DIR/versions/node/v12.19.0/bin" | ||
s='monitoring-nc' | ||
echo " | ||
[Unit] | ||
Description=Monitoring-NC | ||
[Service] | ||
Type=simple | ||
Restart=on-failure | ||
WorkingDirectory=$(pwd) | ||
ExecStart=$path/node $(pwd)/dist/server.js | ||
[Install] | ||
WantedBy=multi-user.target | ||
" > ${s}.service | ||
sudo cp ./monitoring-nc.service /etc/systemd/system/${s}.service | ||
sudo chmod 664 /etc/systemd/system/${s}.service | ||
sudo systemctl daemon-reload | ||
sudo systemctl enable ${s} | ||
``` | ||
### Prototype Mixins in [app-watchdog](https://github.com/gormonn/app-watchdog) | ||
The main idea was to make this library "modular". To work with various USB Watchdog devices. To achieve this goal, I decided to use mixins. |