main
Tran Hau 2020-04-30 23:32:50 +07:00
parent 4d23c37b6d
commit 7712c952b0
18 changed files with 41 additions and 37 deletions

View File

@ -1,4 +1,4 @@
# Use AMD
# AMD
Assume you use Archlinux.

View File

@ -1,4 +1,4 @@
# Use AUR
# AUR
AUR is [Arch User Repository](https://wiki.archlinux.org/index.php/Arch_User_Repository).

View File

@ -1,4 +1,4 @@
# Use bluetooth
# bluetooth
Assume you use Archlinux.

View File

@ -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.

View File

@ -1,4 +1,4 @@
# Use fish
# fish
Read [fish](https://wiki.archlinux.org/index.php/fish).

View File

@ -1,4 +1,4 @@
# Use fwupd
# fwupd
Assume you use Archlinux.

View File

@ -1,4 +1,4 @@
# Use git
# git
Prefer rebase when pull:

View File

@ -1,4 +1,4 @@
# Use Instaloader
# Instaloader
[Instaloader](https://instaloader.github.io/) is a tool for download Instagram photos, videos, ...

View File

@ -1,4 +1,4 @@
# Use iwd
# iwd
Assume you use Archlinux.

View File

@ -1,4 +1,4 @@
# Use OpenVPN
# OpenVPN
Assume you use Archlinux.

View File

@ -1,4 +1,4 @@
# Use pacman
# pacman
Assume you use Archlinux.

View File

@ -1,4 +1,4 @@
# Use rsync
# rsync
```sh
rsync -vah src dest

View File

@ -1,4 +1,4 @@
# Use systemd-boot
# systemd-boot
Read [systemd-boot](https://wiki.archlinux.org/index.php/Systemd-boot).

View File

@ -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)

View File

@ -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.

View File

@ -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

25
Development/python.md Normal file
View File

@ -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
```

View File

@ -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
```