surprise
parent
4d23c37b6d
commit
7712c952b0
|
@ -1,4 +1,4 @@
|
|||
# Use AMD
|
||||
# AMD
|
||||
|
||||
Assume you use Archlinux.
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
# Use AUR
|
||||
# AUR
|
||||
|
||||
AUR is [Arch User Repository](https://wiki.archlinux.org/index.php/Arch_User_Repository).
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
# Use bluetooth
|
||||
# bluetooth
|
||||
|
||||
Assume you use Archlinux.
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
# Use DNSCrypt
|
||||
# DNSCrypt
|
||||
|
||||
What is DNSCrypt? Why use DNSCrypt? These questions can be answered by simple Google search, and I don't know where to start.
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
# Use fish
|
||||
# fish
|
||||
|
||||
Read [fish](https://wiki.archlinux.org/index.php/fish).
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
# Use fwupd
|
||||
# fwupd
|
||||
|
||||
Assume you use Archlinux.
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
# Use git
|
||||
# git
|
||||
|
||||
Prefer rebase when pull:
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
# Use Instaloader
|
||||
# Instaloader
|
||||
|
||||
[Instaloader](https://instaloader.github.io/) is a tool for download Instagram photos, videos, ...
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
# Use iwd
|
||||
# iwd
|
||||
|
||||
Assume you use Archlinux.
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
# Use OpenVPN
|
||||
# OpenVPN
|
||||
|
||||
Assume you use Archlinux.
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
# Use pacman
|
||||
# pacman
|
||||
|
||||
Assume you use Archlinux.
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
# Use rsync
|
||||
# rsync
|
||||
|
||||
```sh
|
||||
rsync -vah src dest
|
|
@ -1,4 +1,4 @@
|
|||
# Use systemd-boot
|
||||
# systemd-boot
|
||||
|
||||
Read [systemd-boot](https://wiki.archlinux.org/index.php/Systemd-boot).
|
||||
|
|
@ -1,7 +1,5 @@
|
|||
# Terminal emulator
|
||||
|
||||
Assume you use Archlinux.
|
||||
|
||||
Read [List of applications/Terminal emulators](https://wiki.archlinux.org/index.php/List_of_applications#Terminal_emulators).
|
||||
|
||||
[Alacritty](https://wiki.archlinux.org/index.php/Alacritty)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# Use tmux
|
||||
# tmux
|
||||
|
||||
Imagine you want to run a long task in terminal, but you don't want to keep terminal open.
|
||||
|
|
@ -4,6 +4,8 @@ Assume you use Archlinux.
|
|||
|
||||
Read [Docker](https://wiki.archlinux.org/index.php/Docker).
|
||||
|
||||
Read [LinuxServer.io/Docs](https://docs.linuxserver.io/).
|
||||
|
||||
Start/enable service:
|
||||
|
||||
```sh
|
||||
|
|
|
@ -0,0 +1,25 @@
|
|||
# Python
|
||||
|
||||
## venv
|
||||
|
||||
Python venv is Python Virtual Environment.
|
||||
Why do we need to use Python venv?
|
||||
Because we don't want to mess up with Python packages which are stored in different location: system directories, user directories, ...
|
||||
|
||||
Assume you use Python 3 and Linux.
|
||||
|
||||
---
|
||||
|
||||
Python venv stores everything in a local directory.
|
||||
|
||||
Inside chosen directory, run:
|
||||
|
||||
```sh
|
||||
python -m venv venv
|
||||
```
|
||||
|
||||
Now you can use venv with:
|
||||
|
||||
```sh
|
||||
source ./venv/bin/activate
|
||||
```
|
|
@ -1,21 +0,0 @@
|
|||
# Use Python venv
|
||||
|
||||
Python venv is Python Virtual Environment. Why do we need to use Python venv ? Because we don't want to mess up with Python packages which are stored in different location: system directories, user directories, ...
|
||||
|
||||
Assume you use Python 3 and Linux.
|
||||
|
||||
---
|
||||
|
||||
Python venv stores everything in a local directory.
|
||||
|
||||
Inside a directory, run:
|
||||
|
||||
```sh
|
||||
python -m venv venv
|
||||
```
|
||||
|
||||
Now you can use venv with:
|
||||
|
||||
```sh
|
||||
source ./venv/bin/activate
|
||||
```
|
Loading…
Reference in New Issue