more thoughts

main
Tran Hau 2020-04-19 03:21:04 +07:00
parent b2c11f6bf1
commit d8ee687dde
9 changed files with 169 additions and 3 deletions

View File

@ -4,7 +4,7 @@ Assume you use Archlinux.
Read [Bluetooth](https://wiki.archlinux.org/index.php/Bluetooth).
After install `bluez`, `bluez-utils`, `blueman`, start/enable service:
After install `bluez`, `bluez-utils`, start/enable service:
```sh
systemctl start bluetooth.service

View File

@ -1,11 +1,20 @@
# CLI apps
[curl](https://curl.haxx.se/)
[bat](https://github.com/sharkdp/bat): `cat` with colors.
[fd](https://github.com/sharkdp/fd): simple `find`.
[fzf](https://github.com/junegunn/fzf): command-line finder.
Read [fzf](https://wiki.archlinux.org/index.php/Fzf)
```sh
export FZF_DEFAULT_COMMAND='fd -H'
export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND"
```
[tldr](https://github.com/tldr-pages/tldr): simple `man`.
[HTTPie](https://httpie.org/): call API in terminal.
@ -13,3 +22,5 @@
[Rclone](https://rclone.org/): `rsync` for cloud storage.
[bucklespring](https://github.com/zevv/bucklespring): keyboard sound.
[Prettier](https://prettier.io/): format code.

View File

@ -9,3 +9,9 @@ Run:
```sh
consul agent -dev
```
UI:
```txt
http://localhost:8500/ui
```

75
flatpak.md Normal file
View File

@ -0,0 +1,75 @@
# Flatpak
Assume you use Archlinux.
Read [Flatpak](https://wiki.archlinux.org/index.php/Flatpak).
## [Flathub repository](https://flathub.org/home)
### Internet
[Firefox](https://flathub.org/apps/details/org.mozilla.firefox)
[qBittorrent](https://flathub.org/apps/details/org.qbittorrent.qBittorrent)
### Office
[LibreOffice](https://flathub.org/apps/details/org.libreoffice.LibreOffice)
### Image
[GNU Image Manipulation Program](https://flathub.org/apps/details/org.gimp.GIMP)
[Inkscape](https://flathub.org/apps/details/org.inkscape.Inkscape)
### Video
[VLC](https://flathub.org/apps/details/org.videolan.VLC)
[Celluloid](https://flathub.org/apps/details/io.github.celluloid_player.Celluloid)
[OBS Studio](https://flathub.org/apps/details/com.obsproject.Studio)
[Peek](https://flathub.org/apps/details/com.uploadedlobster.peek)
### Wallpaper
[Fondo](https://flathub.org/apps/details/com.github.calo001.fondo)
[HydraPaper](https://flathub.org/apps/details/org.gabmus.hydrapaper)
### Games
[Steam](https://flathub.org/apps/details/com.valvesoftware.Steam)
### Productivity
[Planner](https://flathub.org/apps/details/com.github.alainm23.planner)
[Reminduck](https://flathub.org/apps/details/com.github.matfantinel.reminduck)
### Developer
[Postman](https://flathub.org/apps/details/com.getpostman.Postman)
[Vim](https://flathub.org/apps/details/org.vim.Vim)
[Neovim](https://flathub.org/apps/details/io.neovim.nvim)
[Visual Studio Code](https://flathub.org/apps/details/com.visualstudio.code)
### Chat
[Discord](https://flathub.org/apps/details/com.discordapp.Discord)
[Slack](https://flathub.org/apps/details/com.slack.Slack)
[Microsoft Teams](https://flathub.org/apps/details/com.microsoft.Teams)
[Zoom](https://flathub.org/apps/details/us.zoom.Zoom)
[Skype](https://flathub.org/apps/details/com.skype.Client)
[Telegram Desktop](https://flathub.org/apps/details/org.telegram.desktop)
[Signal Desktop](https://flathub.org/apps/details/org.signal.Signal)

View File

@ -10,6 +10,8 @@ Fonts I use currently:
[Google Noto Fonts](https://www.google.com/get/noto/)
[Ubuntu font](https://design.ubuntu.com/font/)
[JetBrains Mono](https://www.jetbrains.com/lp/mono/)
[Fira Code](https://github.com/tonsky/FiraCode)
@ -18,6 +20,8 @@ Honorable mention:
[Iosevka](https://github.com/be5invis/Iosevka)
[Fantasque Sans Mono](https://github.com/belluzj/fantasque-sans)
How to see font name:
```sh

View File

@ -6,4 +6,10 @@ Read [GNOME/Extensions](https://wiki.archlinux.org/index.php/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)

24
go.md Normal file
View File

@ -0,0 +1,24 @@
# Go
Add to `~/.bashrc`, `~/.zshrc`, `~/.config/fish/config.fish`:
```sh
export GOPATH=$HOME/go
export PATH="$PATH:$GOPATH/bin"
```
## Guideline
[CommonMistakes](https://github.com/golang/go/wiki/CommonMistakes)
[CodeReviewComments](https://github.com/golang/go/wiki/CodeReviewComments)
[Uber Go Style Guide](https://github.com/uber-go/guide/blob/master/style.md)
[Thanos Coding Style Guide](https://thanos.io/contributing/coding-style-guide.md/)
## Helpful programs
[goimports](https://pkg.go.dev/golang.org/x/tools/cmd/goimports?tab=doc)
[GolangCI-Lint](https://github.com/golangci/golangci-lint)

21
prometheus.md Normal file
View File

@ -0,0 +1,21 @@
# Prometheus
Assume you use Archlinux.
Read [Prometheus](https://wiki.archlinux.org/index.php/Prometheus).
Read [Getting started](https://prometheus.io/docs/prometheus/latest/getting_started/).
Start/enable service:
```sh
systemctl start prometheus.service
systemctl enable prometheus.service
```
UI:
```txt
http://localhost:9090
```

View File

@ -9,12 +9,31 @@ Install Instaloader with Python venv.
Create `args.txt` file with content, remember to change `username` with your real username:
```txt
--login=username
--sessionfile=./session
--no-video-thumbnails
--no-captions
--no-metadata-json
```
For downloading posts, add to `args.txt`:
```txt
--fast-update
--login=username
--sessionfile=./session
```
For downloading only stories, add to `args.txt`:
```txt
--stories
--no-posts
```
For downloading only hightlights, add to `args.txt`:
```txt
--highlights
--no-posts
```
Then run, remeber to change `targetname1`, `targetname2`, ... to your target: