Tran Hau 2020-06-13 02:08:21 +07:00
parent d0e5b2675c
commit 536cb338f8
56 changed files with 80 additions and 225 deletions

View File

@ -0,0 +1 @@
# Essential

View File

@ -0,0 +1 @@
# Misc

View File

@ -0,0 +1 @@
# Network

View File

@ -0,0 +1 @@
# System

View File

@ -1,119 +0,0 @@
# Flatpak and Snap
## Internet
Chromium
[Snap](https://snapcraft.io/chromium)
Firefox
[Flatpak](https://flathub.org/apps/details/org.mozilla.firefox)
[Snap](https://snapcraft.io/firefox)
## Office
LibreOffice
[Flatpak](https://flathub.org/apps/details/org.libreoffice.LibreOffice)
[Snap](https://snapcraft.io/libreoffice)
## Media
VLC
[Flatpak](https://flathub.org/apps/search/vlc)
[Snap](https://snapcraft.io/vlc)
Celluloid
[Flatpak](https://flathub.org/apps/details/io.github.celluloid_player.Celluloid)
OBS Studio
[Flatpak](https://flathub.org/apps/details/com.obsproject.Studio)
[Snap](https://snapcraft.io/obs-studio)
Video Trimmer
[Flatpak](https://flathub.org/apps/details/org.gnome.gitlab.YaLTeR.VideoTrimmer)
Peek
[Flatpak](https://flathub.org/apps/details/com.uploadedlobster.peek)
## Appearance
Fondo
[Flatpak](https://flathub.org/apps/details/com.github.calo001.fondo)
HydraPaper
[Flatpak](https://flathub.org/apps/details/org.gabmus.hydrapaper)
Dynamic Wallpaper Editor
[Flatpak](https://flathub.org/apps/details/com.github.maoschanz.DynamicWallpaperEditor)
### Games
Steam
[Flatpak](https://flathub.org/apps/details/com.valvesoftware.Steam)
### Productivity
Planner
[Flatpak](https://flathub.org/apps/details/com.github.alainm23.planner)
bucklespring
[Snap](https://snapcraft.io/bucklespring)
## Development
### Languages
Go
[Snap](https://snapcraft.io/go)
node
[Snap](https://snapcraft.io/node)
### Editor
Neovim
[Flatpak](https://flathub.org/apps/details/io.neovim.nvim)
[Snap](https://snapcraft.io/nvim)
Visual Studio Code
[Flatpak](https://flathub.org/apps/details/com.visualstudio.code)
[Snap](https://snapcraft.io/code)
Tau
[Flatpak](https://flathub.org/apps/details/org.gnome.Tau)
### IDE
GoLand
[Snap](https://snapcraft.io/goland)
DataGrip
[Flatpak](https://flathub.org/apps/details/com.jetbrains.DataGrip)
[Snap](https://snapcraft.io/datagrip)
### API
Postman
[Flatpak](https://flathub.org/apps/details/com.getpostman.Postman)
[Snap](https://snapcraft.io/postman)
Insomnia
[Snap](https://snapcraft.io/insomnia)
### Others
heroku
[Snap](https://snapcraft.io/heroku)
## Chat
Slack
[Flatpak](https://flathub.org/apps/details/com.slack.Slack)
[Snap](https://snapcraft.io/slack)
Discord
[Flatpak](https://flathub.org/apps/details/com.discordapp.Discord)
[Snap](https://snapcraft.io/discord)
Telegram Desktop
[Flatpak](https://flathub.org/apps/details/org.telegram.desktop)
[Snap](https://snapcraft.io/telegram-desktop)

View File

@ -1,23 +1,4 @@
# ANTLR4
| Distribution | Package |
| ------------ | -------- |
| Arch Linux | `antlr4` |
| Ubuntu | `antlr4` |
Add to `~/.bashrc`:
```bash
# Arch Linux
export classpath=".:/usr/share/java/antlr-complete.jar:$classpath"
# Ubuntu
export classpath=".:/usr/share/java/antlr4.jar:$classpath"
```
Read [Getting Started with ANTLR v4](https://github.com/antlr/antlr4/blob/master/doc/getting-started.md).
Sample `Condition.g4`:
# Condition
```antlr4
grammar Condition;

View File

@ -0,0 +1,16 @@
# [ANTLR](https://www.antlr.org/)
| Distribution | Package |
| ------------ | -------- |
| Arch Linux | `antlr4` |
| Ubuntu | `antlr4` |
Add to `~/.bashrc`:
```bash
# Arch Linux
export classpath=".:/usr/share/java/antlr-complete.jar:$classpath"
# Ubuntu
export classpath=".:/usr/share/java/antlr4.jar:$classpath"
```

View File

@ -0,0 +1,7 @@
# [Consul](https://www.consul.io/)
Docker:
```sh
docker run --rm -p 8500:8500 -p 8600:8600/udp --name=consul consul agent -server -ui -bootstrap-expect=1 -client=0.0.0.0
```

View File

@ -0,0 +1 @@
# Services

View File

@ -1,6 +0,0 @@
# Ansible
| Distribution | Package |
| ------------ | --------- |
| Arch Linux | `ansible` |
| Ubuntu | `ansible` |

View File

@ -1 +0,0 @@
# [Consul](https://www.consul.io/)

View File

@ -1 +0,0 @@
# Extensions

View File

@ -1,7 +0,0 @@
# Browser Extensions
Browser Extensions for Chrome, Firefox.
[uBlock Origin](https://github.com/gorhill/uBlock)
[ClearURLs](https://gitlab.com/KevinRoebert/ClearUrls)

View File

@ -1,11 +0,0 @@
# Gnome Extensions
[Dash to Panel](https://github.com/home-sweet-gnome/dash-to-panel)
[Dash to Dock](https://github.com/micheleg/dash-to-dock)
[AppIndicator/KStatusNotifierItem support for GNOME Shell](https://github.com/ubuntu/gnome-shell-extension-appindicator)
[GSConnect](https://github.com/andyholmes/gnome-shell-extension-gsconnect)
[Lock Keys](https://github.com/kazysmaster/gnome-shell-extension-lockkeys)

View File

@ -1,13 +0,0 @@
# VSCode Extensions
## Appearance
[Dracula](https://github.com/dracula/visual-studio-code)
[Material Icon Theme](https://github.com/PKief/vscode-material-icon-theme)
## Languages
[Bracket Pair Colorizer 2](https://github.com/CoenraadS/Bracket-Pair-Colorizer-2)
[Prettier Formatter](https://github.com/prettier/prettier-vscode)

View File

@ -1,54 +1,58 @@
# Summary
- [Today I learned](README.md)
- [Install Arch Linux](install-archlinux.md)
- [Appearance](appearance.md)
- [Applications](Applications/README.md)
- [Bash](Applications/bash.md)
- [Git](Applications/git.md)
- [tmux](Applications/tmux.md)
- [Neovim](Applications/neovim.md)
- [rsync](Applications/rsync.md)
- [exa](Applications/exa.md)
- [bat](Applications/bat.md)
- [fd](Applications/fd.md)
- [fzf](Applications/fzf.md)
- [ripgrep](Applications/ripgrep.md)
- [diff-so-fancy](Applications/diff-so-fancy.md)
- [tldr](Applications/tldr.md)
- [Ncat](Applications/ncat.md)
- [HTTPie](Applications/httpie.md)
- [systemd-boot](Applications/systemd-boot.md)
- [systemd-swap](Applications/systemd-swap.md)
- [systemd/Journal](Applications/systemd-journal.md)
- [fstrim](Applications/fstrim.md)
- [Blueman](Applications/blueman.md)
- [dnscrypt-proxy](Applications/dnscrypt-proxy.md)
- [sshuttle](Applications/sshuttle.md)
- [Mosh](Applications/mosh.md)
- [OpenVPN](Applications/openvpn.md)
- [Xinput](Applications/xinput.md)
- [Flatpak and Snap](Applications/flatpak-snap.md)
- [Instaloader](Applications/instaloader.md)
- [Steam](Applications/steam.md)
- [Cheat](Applications/cheat.md)
- [Ventoy](Applications/ventoy.md)
- [Essential](Applications/Essential/README.md)
- [Bash](Applications/Essential/Bash.md)
- [bat](Applications/Essential/bat.md)
- [diff-so-fancy](Applications/Essential/diff-so-fancy.md)
- [exa](Applications/Essential/exa.md)
- [fd](Applications/Essential/fd.md)
- [fzf](Applications/Essential/fzf.md)
- [git](Applications/Essential/git.md)
- [Neovim](Applications/Essential/Neovim.md)
- [ripgrep](Applications/Essential/ripgrep.md)
- [rsync](Applications/Essential/rsync.md)
- [tldr](Applications/Essential/tldr.md)
- [tmux](Applications/Essential/tmux.md)
- [Misc](Applications/Misc/README.md)
- [Cheat](Applications/Misc/Cheat.md)
- [Instaloader](Applications/Misc/Instaloader.md)
- [Steam](Applications/Misc/Steam.md)
- [Ventoy](Applications/Misc/Ventoy.md)
- [Network](Applications/Network/README.md)
- [HTTPie](Applications/Network/HTTPie.md)
- [Mosh](Applications/Network/Mosh.md)
- [Ncat](Applications/Network/Ncat.md)
- [OpenVPN](Applications/Network/OpenVPN.md)
- [sshuttle](Applications/Network/sshuttle.md)
- [System](Applications/System/README.md)
- [Blueman](Applications/System/Blueman.md)
- [dnscrypt-proxy](Applications/System/dnscrypt-proxy.md)
- [fstrim](Applications/System/fstrim.md)
- [systemd-boot](Applications/System/systemd-boot.md)
- [systemd-swap](Applications/System/systemd-swap.md)
- [systemdJournal](Applications/System/systemdJournal.md)
- [Xinput](Applications/System/Xinput.md)
- [Development](Development/README.md)
- [Go](Development/go/README.md)
- [time](Development/go/time.md)
- [testing](Development/go/testing.md)
- [Python](Development/python/README.md)
- [venv](Development/python/venv.md)
- [argparse](Development/python/argparse.md)
- [subprocess](Development/python/subprocess.md)
- [Docker](Development/docker.md)
- [Redis](Development/redis.md)
- [Prometheus](Development/prometheus.md)
- [ANTLR4](Development/antlr4.md)
- [Extensions](Extensions/README.md)
- [Browser Extensions](Extensions/browser-extensions.md)
- [VSCode Extensions](Extensions/vscode-extensions.md)
- [Gnome Extensions](Extensions/gnome-extensions.md)
- [ANTLR](Development/ANTLR/README.md)
- [Condition](Development/ANTLR/Condition.md)
- [Go](Development/Go/README.md)
- [testing](Development/Go/testing.md)
- [time](Development/Go/time.md)
- [Python](Development/Python/README.md)
- [argparse](Development/Python/argparse.md)
- [subprocess](Development/Python/subprocess.md)
- [venv](Development/Python/venv.md)
- [Services](Development/Services/README.md)
- [Consul](Development/Services/Consul.md)
- [Grafana](Development/Services/Grafana.md)
- [MinIO](Development/Services/MinIO.md)
- [Prometheus](Development/Services/Prometheus.md)
- [Redis](Development/Services/Redis.md)
- [Docker](Development/Docker.md)
- [Knowledge](Knowledge/README.md)
- [Top Down Operator Precedence](Knowledge/tdop.md)
- [Regular expression](Knowledge/regex.md)
- [Top Down Operator Precedence](Knowledge/tdop.md)
- [Appearance](appearance.md)
- [Install Arch Linux](install-archlinux.md)