more thoughts
parent
b2c11f6bf1
commit
d8ee687dde
|
@ -4,7 +4,7 @@ Assume you use Archlinux.
|
||||||
|
|
||||||
Read [Bluetooth](https://wiki.archlinux.org/index.php/Bluetooth).
|
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
|
```sh
|
||||||
systemctl start bluetooth.service
|
systemctl start bluetooth.service
|
||||||
|
|
11
cli-apps.md
11
cli-apps.md
|
@ -1,11 +1,20 @@
|
||||||
# CLI apps
|
# CLI apps
|
||||||
|
|
||||||
|
[curl](https://curl.haxx.se/)
|
||||||
|
|
||||||
[bat](https://github.com/sharkdp/bat): `cat` with colors.
|
[bat](https://github.com/sharkdp/bat): `cat` with colors.
|
||||||
|
|
||||||
[fd](https://github.com/sharkdp/fd): simple `find`.
|
[fd](https://github.com/sharkdp/fd): simple `find`.
|
||||||
|
|
||||||
[fzf](https://github.com/junegunn/fzf): command-line finder.
|
[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`.
|
[tldr](https://github.com/tldr-pages/tldr): simple `man`.
|
||||||
|
|
||||||
[HTTPie](https://httpie.org/): call API in terminal.
|
[HTTPie](https://httpie.org/): call API in terminal.
|
||||||
|
@ -13,3 +22,5 @@
|
||||||
[Rclone](https://rclone.org/): `rsync` for cloud storage.
|
[Rclone](https://rclone.org/): `rsync` for cloud storage.
|
||||||
|
|
||||||
[bucklespring](https://github.com/zevv/bucklespring): keyboard sound.
|
[bucklespring](https://github.com/zevv/bucklespring): keyboard sound.
|
||||||
|
|
||||||
|
[Prettier](https://prettier.io/): format code.
|
||||||
|
|
|
@ -9,3 +9,9 @@ Run:
|
||||||
```sh
|
```sh
|
||||||
consul agent -dev
|
consul agent -dev
|
||||||
```
|
```
|
||||||
|
|
||||||
|
UI:
|
||||||
|
|
||||||
|
```txt
|
||||||
|
http://localhost:8500/ui
|
||||||
|
```
|
||||||
|
|
|
@ -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)
|
4
fonts.md
4
fonts.md
|
@ -10,6 +10,8 @@ Fonts I use currently:
|
||||||
|
|
||||||
[Google Noto Fonts](https://www.google.com/get/noto/)
|
[Google Noto Fonts](https://www.google.com/get/noto/)
|
||||||
|
|
||||||
|
[Ubuntu font](https://design.ubuntu.com/font/)
|
||||||
|
|
||||||
[JetBrains Mono](https://www.jetbrains.com/lp/mono/)
|
[JetBrains Mono](https://www.jetbrains.com/lp/mono/)
|
||||||
|
|
||||||
[Fira Code](https://github.com/tonsky/FiraCode)
|
[Fira Code](https://github.com/tonsky/FiraCode)
|
||||||
|
@ -18,6 +20,8 @@ Honorable mention:
|
||||||
|
|
||||||
[Iosevka](https://github.com/be5invis/Iosevka)
|
[Iosevka](https://github.com/be5invis/Iosevka)
|
||||||
|
|
||||||
|
[Fantasque Sans Mono](https://github.com/belluzj/fantasque-sans)
|
||||||
|
|
||||||
How to see font name:
|
How to see font name:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
|
|
|
@ -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 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)
|
[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)
|
||||||
|
|
|
@ -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)
|
|
@ -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
|
||||||
|
```
|
|
@ -9,12 +9,31 @@ Install Instaloader with Python venv.
|
||||||
Create `args.txt` file with content, remember to change `username` with your real username:
|
Create `args.txt` file with content, remember to change `username` with your real username:
|
||||||
|
|
||||||
```txt
|
```txt
|
||||||
|
--login=username
|
||||||
|
--sessionfile=./session
|
||||||
--no-video-thumbnails
|
--no-video-thumbnails
|
||||||
--no-captions
|
--no-captions
|
||||||
--no-metadata-json
|
--no-metadata-json
|
||||||
|
```
|
||||||
|
|
||||||
|
For downloading posts, add to `args.txt`:
|
||||||
|
|
||||||
|
```txt
|
||||||
--fast-update
|
--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:
|
Then run, remeber to change `targetname1`, `targetname2`, ... to your target:
|
||||||
|
|
Loading…
Reference in New Issue