Commit 829245e4 authored by Vincent Tam's avatar Vincent Tam

Support: upgraded Font Awesome from v4.7 to v5.3.1

parent 2774cb27
Pipeline #29189034 passed with stages
in 31 seconds
......@@ -3,7 +3,4 @@
Sekai is the [kanji][1] for 世界, meaning "the world". That's a great
word because of the scale it designates.
Site favicon and logo are taken from <i class="fa fa-wikipedia-w"></i>
iki Commons.
[1]: https://en.wikipedia.org/wiki/Kanji
......@@ -14,8 +14,8 @@ Show current path.
$ pwd
/home/vin100/quickstart
Distinguish files <i class="fa fa-file-o" aria-hidden></i> from folders <i
class="fa fa-folder-o" aria-hidden></i>.
Distinguish files <i class="far fa-file" aria-hidden></i> from folders <i
class="far fa-folder" aria-hidden></i>.
$ ls -l
total 28
......@@ -37,13 +37,13 @@ My preferred way: partial <i class="fa fa-git" aria-hidden></i> management.
2. <i class="fa fa-git" aria-hidden></i> manages partial password_s_.
3. (De)centralized <i class="fa fa-git" aria-hidden></i> _local_ storage. (bare repo on USB <i class="fa fa-usb" aria-hidden></i> devices)
<i class="fa fa-info-circle" aria-hidden></i> <i class="fa fa-flag-o"
aria-hidden></i> <i class="fa fa-sort-alpha-asc" aria-hidden></i> Flags
<i class="fa fa-info-circle" aria-hidden></i> <i class="far fa-flag"
aria-hidden></i> <i class="fas fa-sort-alpha-down" aria-hidden></i> Flags
explanations: (in alphabetical order)
- `-a [0|1]`: algorigthm
+ `0`: can be "pronounced"
+ `1`: "random" <i class="fa fa-random" aria-hidden></i> string
+ `1`: "random" <i class="fab fa-rebelndom" aria-hidden></i> string
- `-m`: minimum password length
- `-M`: mode
+ `c`: _should_ include **c**apital letter
......@@ -59,11 +59,11 @@ explanations: (in alphabetical order)
### apt-get
<span class="fa-stack"> <i class="fa fa-square-o fa-stack-2x"></i> <i class="fa
<span class="fa-stack"> <i class="far fa-square fa-stack-2x"></i> <i class="fa
fa-terminal fa-stack-1x"></i></span> CLI Package manager. Requires sudo
priviledge.
| <span class="fa-stack"> <i class="fa fa-square-o fa-stack-2x"></i> <i class="fa fa-terminal fa-stack-1x"></i></span> sudo apt-get ... | Function |
| <span class="fa-stack"> <i class="far fa-square fa-stack-2x"></i> <i class="fa fa-terminal fa-stack-1x"></i></span> sudo apt-get ... | Function |
| --- | --- |
| `update` | update local repo |
| `upgrade` | upgrade package version |
......@@ -140,19 +140,19 @@ will be taken)
### du
Display **d**isk **u**sage in KB. Only folders <i class="fa fa-folder-o"
Display **d**isk **u**sage in KB. Only folders <i class="far fa-folder"
aria-hidden></i> are shown by default.
General usage: `du [FLAG(S)] [DIR(S)] ...`
If the argument `[DIR(S)]` is omitted, the size of _every_ (sub)folder <i
class="fa fa-folder-o" aria-hidden></i> (including _hidden_ ones) will be
class="far fa-folder" aria-hidden></i> (including _hidden_ ones) will be
displayed.
$ du
...
Display the size of _each_ subfolder <i class="fa fa-folder-o" aria-hidden></i>
Display the size of _each_ subfolder <i class="far fa-folder" aria-hidden></i>
in the folder `layouts`.
$ du layouts
......@@ -160,8 +160,8 @@ in the folder `layouts`.
20 layouts/
<i class="fa fa-info-circle" aria-hidden></i> <i class="fa fa-flag-o"
aria-hidden></i> <i class="fa fa-sort-alpha-asc" aria-hidden></i> Flags
<i class="fa fa-info-circle" aria-hidden></i> <i class="far fa-flag"
aria-hidden></i> <i class="fas fa-sort-alpha-down" aria-hidden></i> Flags
explanations: (in alphabetical order)
- `-a`: also include all files
......@@ -177,11 +177,11 @@ explanations: (in alphabetical order)
- `-d [n]`: max depth
Process contents <i class="fa fa-folder-o" aria-hidden></i> of `[DIR]` up to
Process contents <i class="far fa-folder" aria-hidden></i> of `[DIR]` up to
at most `n` level(s) deep.
I found the concept of "level" hard to understand when I ran this in `.`
because the output was cluttered with fo||lders <i class="fa fa-folder-o"
because the output was cluttered with fo||lders <i class="far fa-folder"
aria-hidden></i> holding <i class="fa fa-git" aria-hidden></i> binary
objects.
......@@ -212,7 +212,7 @@ explanations: (in alphabetical order)
- `--exclude=[FILE]`
- `-s`: summary, display only `[DIR(S)]`'s size. (equivalent to `-d 0`) This
can be used to _measure the size of a folder_ <i class="fa fa-folder-o"
can be used to _measure the size of a folder_ <i class="far fa-folder"
aria-hidden></i>.
$ du -s static content
......@@ -262,12 +262,12 @@ General usage:
- read from file(s): `grep [FLAG(S)] [PATTERN] [FILE]`
- pipe from STDIN: `[cmd] | grep [FLAG(S)] [PATTERN]`
- read from STDIN:
1. <span class="fa-stack"> <i class="fa fa-square-o fa-stack-2x"></i> <i
1. <span class="fa-stack"> <i class="far fa-square fa-stack-2x"></i> <i
class="fa fa-terminal fa-stack-1x"></i> </span> Type `grep [PATTERN]`.
$ grep foo
2. <i class="fa fa-keyboard-o" aria-hidden></i> Input the content to be
2. <i class="far fa-keyboard" aria-hidden></i> Input the content to be
searched. After you've finished, terminate the line with a newline
character.
......@@ -277,8 +277,8 @@ General usage:
3. Your search content is _duplicated_, with the matching part
**highlighted**.
<i class="fa fa-info-circle" aria-hidden></i> <i class="fa fa-flag-o"
aria-hidden></i> <i class="fa fa-sort-alpha-asc" aria-hidden></i> Flags
<i class="fa fa-info-circle" aria-hidden></i> <i class="far fa-flag"
aria-hidden></i> <i class="fas fa-sort-alpha-down" aria-hidden></i> Flags
explanations: (in alphabetical order)
- `-A [n]`: print `n` lines _after_ the matching line
......@@ -308,7 +308,7 @@ explanations: (in alphabetical order)
index.md:Finally the N key was fixed: *no* noticeable difference from other norm
al size
Use this flag to ignore the JPG files <i class="fa fa-photo"
Use this flag to ignore the JPG files <i class="far fa-image"
aria-hidden></i> (and match the text files only).
$ grep -I if *
......@@ -364,7 +364,7 @@ General usage: `less [FILE]`
$ less config.toml
| Key <i class="fa fa-keyboard-o" aria-hidden></i> | Function |
| Key <i class="far fa-keyboard" aria-hidden></i> | Function |
| --- | --- |
| `b` | Scroll one page **b**ackward |
| `f` | Scroll one page **f**orward |
......@@ -385,19 +385,19 @@ Some of the above keys can be _quantified_ by prepending a number as in [Vim].
### ls
List files <i class="fa fa-file-o" aria-hidden></i> in a directory <i class="fa
List files <i class="far fa-file" aria-hidden></i> in a directory <i class="fa
fa-folder-o" aria-hidden></i>.
Default aliases:
| <span class="fa-stack"> <i class="fa fa-square-o fa-stack-2x"></i> <i class="fa fa-terminal fa-stack-1x"></i> </span> | Flags added <i class="fa fa-flag-o" aria-hidden></i> |
| <span class="fa-stack"> <i class="far fa-square fa-stack-2x"></i> <i class="fa fa-terminal fa-stack-1x"></i> </span> | Flags added <i class="far fa-flag" aria-hidden></i> |
|---|---|
|`l` | `-CF` |
| `la` | `-A` |
| `ll` | `-alF` |
<i class="fa fa-info-circle" aria-hidden></i> <i class="fa fa-flag-o"
aria-hidden></i> <i class="fa fa-sort-alpha-asc" aria-hidden></i> Flags
<i class="fa fa-info-circle" aria-hidden></i> <i class="far fa-flag"
aria-hidden></i> <i class="fas fa-sort-alpha-down" aria-hidden></i> Flags
explanations: (in alphabetical order)
- `-a`: all
......@@ -406,8 +406,8 @@ explanations: (in alphabetical order)
- `-d`
I _don't_ understand what "list directories themselves, _not_ their
contents" means, as it can display the _contents_ of a directory. Running
this on _any folder containing files <i class="fa fa-file-o"
aria-hidden></i> and subfolders_ <i class="fa fa-folder-o" aria-hidden></i>
this on _any folder containing files <i class="far fa-file"
aria-hidden></i> and subfolders_ <i class="far fa-folder" aria-hidden></i>
illustrates my doubts.
# see what '-d' does on current path '.'
......@@ -440,7 +440,7 @@ explanations: (in alphabetical order)
...
I use `-d` with `*` to keep `ls` from expanding the subfolders. <i
class="fa fa-folder-o" aria-hidden></i>.
class="far fa-folder" aria-hidden></i>.
### more
......@@ -450,7 +450,7 @@ explanations: (in alphabetical order)
### screendump
Record a <span class="fa-stack"> <i class="fa fa-square-o fa-stack-2x"></i> <i
Record a <span class="fa-stack"> <i class="far fa-square fa-stack-2x"></i> <i
class="fa fa-terminal fa-stack-1x"></i></span> TTY session into a text file
(with _one single long line_). Require sudo previledge.
......@@ -468,8 +468,8 @@ class="fa fa-terminal fa-stack-1x"></i></span> TTY session into a text file
**S**tream **ed**itor
<i class="fa fa-info-circle" aria-hidden></i> <i class="fa fa-flag-o"
aria-hidden></i> <i class="fa fa-sort-alpha-asc" aria-hidden></i> Flags
<i class="fa fa-info-circle" aria-hidden></i> <i class="far fa-flag"
aria-hidden></i> <i class="fas fa-sort-alpha-down" aria-hidden></i> Flags
explanations: (in alphabetical order)
- `-e`: extended mode
......@@ -537,7 +537,7 @@ FreeBSD distro. (even on Mac OS)
- `-R`: read-only mode
| Normal mode key <i class="fa fa-keyboard-o" aria-hidden></i> | Function |
| Normal mode key <i class="far fa-keyboard" aria-hidden></i> | Function |
| --- | --- |
| `<C-b>` | Scroll one page **b**ackward |
| `<C-f>` | Scroll one page **f**orward |
......
......@@ -13,9 +13,9 @@ date: 2018-07-09T23:21:17+02:00
One can use [xrandr to adjust screen brightness][1]. However, the
factor (default to 1.0) is *relative* to the current brightness.
**How to enable the brightness adjust keys <i class="fa fa-sun-o"
**How to enable the brightness adjust keys <i class="far fa-sun"
aria-hidden></i><i class="fa fa-caret-up" aria-hidden></i>/<i
class="fa fa-sun-o" aria-hidden></i><i class="fa fa-caret-down"
class="far fa-sun" aria-hidden></i><i class="fa fa-caret-down"
aria-hidden></i> on the keyboard under Xubuntu 18.04?**
### Solution
......
......@@ -43,13 +43,13 @@ reasons for cleaning my keyboard *by myself* is three-pronged.
### Detached keyboard from laptop
<i class="fa fa-exclamation-circle"></i> Always switch off
<i class="fa fa-laptop" aria-hidden></i> and remove <i class="fa fa-battery"
<i class="fa fa-laptop" aria-hidden></i> and remove <i class="fas fa-battery-full"
aria-hidden="true"></i> before any repairing work <i class="fa fa-wrench"
aria-hidden="true"></i>.
#### Goal
To separate <i class="fa fa-keyboard-o" aria-hidden="true"></i> from <i
To separate <i class="far fa-keyboard" aria-hidden="true"></i> from <i
class="fa fa-laptop" aria-hidden></i> for cleaning.
{{<figure src="20180709_011138_HDR.jpg" title="Fujitsu LH532 original keyboard" caption="detached keyboard from my laptop before cleaning" alt="Fujitsu LH532 keyboard">}}
......
......@@ -11,7 +11,7 @@ tags:
### Why image optimization?
To save loading <i class="fa fa-clock-o" aria-hidden="true"></i>.
To save loading <i class="far fa-clock" aria-hidden="true"></i>.
### My old way
......@@ -46,15 +46,15 @@ To download it for Debian-based distros, you may
- Max dimension: 1200 px
- JPEG for photos <i class="fa fa-camera" aria-hidden="true"></i>
+ Quality: 0.8--0.95 (0.6 is OK for huge photos <i class="fa fa-file-photo-o" aria-hidden="true"></i>)
+ Quality: 0.8--0.95 (0.6 is OK for huge photos <i class="far fa-file-image" aria-hidden="true"></i>)
+ Smoothness: 0.10--0.15
+ <i class="fa fa-check"></i> Progressif
+ <i class="fa fa-close" aria-hidden="true"></i> EXIF data
+ <i class="fas fa-times" aria-hidden="true"></i> EXIF data
- PNG for computer drawn raster graphics
+ _Transparent background_ if possible to discard background noise (with
[<i class="fa fa-magic fa-flip-horizontal" aria-hidden="true"></i> Magical Wand][11] and
[<i class="fa fa-scissors fa-rotate-270" aria-hidden="true"></i> Intelligent Scissors][12]).
[<i class="fas fa-cut fa-rotate-270" aria-hidden="true"></i> Intelligent Scissors][12]).
+ Use _black and white colors for black-and-white pictures_ <i class="fa
fa-file-image-o" aria-hidden="true"></i>.
......@@ -65,7 +65,7 @@ You may view this blog's
#### Photos <i class="fa fa-camera" aria-hidden="true"></i>
| | <i class="fa fa-file-image-o fa-2x" aria-hidden="true"></i> | ![compressed file icon][14] |
| | <i class="far fa-file-image fa-2x" aria-hidden="true"></i> | ![compressed file icon][14] |
|---|---|---|
| ![Fujitsu LH532 CPU fan][15] | 735 KB | 271 KB |
| ![Fujitsu LH532 CPU fan exhaust][16] | 558 KB | 236 KB |
......@@ -75,7 +75,7 @@ You may view this blog's
<i class="fa fa-info-circle fa-lg" aria-hidden="true"></i> Icon from [oNline Web Fonts][19].
#### Computer drawn raster graphics
| | <i class="fa fa-file-image-o fa-2x" aria-hidden="true"></i> | ![compressed file icon][14] |
| | <i class="far fa-file-image fa-2x" aria-hidden="true"></i> | ![compressed file icon][14] |
|---|---|---|
| ![rodéo sur cheval][20] | 21.1 KB | 1.6 KB |
| ![rodéo sur moto][21] | 56.4 KB | 3.71 KB |
......
......@@ -151,7 +151,7 @@ Sector size (logical/physical): (B/B) | 512 / 512 | 512 / 4096 | 512 / 512
I/O size (minimum/optimal): (B/B) | 512 / 512 | 4096 / 4096 | 512 / 512
Disklabel type | gpt | gpt | dos
Disk identifier | E1CF8D05-E16E-40F2-BA52-21CA2D6CCB75 | 2C8ED1E6-261B-462F-A989-4198F16EDBD4 | 0xdb3ee8de
Partitions in disk order | <i class="fa fa-check-square-o" aria-hidden></i> | <i class="fa fa-square-o" aria-hidden></i> | <i class="fa fa-check-square-o" aria-hidden></i>
Partitions in disk order | <i class="far fa-check-square" aria-hidden></i> | <i class="far fa-square" aria-hidden></i> | <i class="far fa-check-square" aria-hidden></i>
##### Partitions on SSD
......
......@@ -35,16 +35,16 @@ Among the color spaces, LAB has the [largest color gamut][3]. This provides the
Channel | Color components
------- | -----------------
L | <i class="fa fa-square"></i>--<i class="fa fa-square-o"></i>
L | <i class="fa fa-square"></i>--<i class="far fa-square"></i>
A | <i class="fa fa-square green"></i>--<i class="fa fa-square red" aria-hidden></i>
B | <i class="fa fa-square blue"></i>--<i class="fa fa-square yellow" aria-hidden></i>
The 'L' stands for "lightness" or "luminosity" <i class="fa fa-lightbulb-o"
The 'L' stands for "lightness" or "luminosity" <i class="far fa-lightbulb"
aria-hidden></i>.
#### Decomposition
This trick boosts the contrast of the photo <i class="fa fa-photo"
This trick boosts the contrast of the photo <i class="far fa-image"
aria-hidden></i>.
1. **Color** &rarr; **Components** &rarr; **Decompose**
......@@ -76,7 +76,7 @@ parameters.
##### A,B channels
If the photos <i class="fa fa-photo" aria-hidden></i> is _a bit but not too
If the photos <i class="far fa-image" aria-hidden></i> is _a bit but not too
dark_, [steepening the color curve][6] using **Colors** &rarr; **Curves** can be
a great technique.
......
......@@ -4,7 +4,9 @@
<a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/"><img id="cc-license-bar" alt="Creative Commons License" src="{{ "img/cc-by-sa4.svg" | absURL }}" /></a>
This work is licensed under a
<a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/">Creative
Commons Attribution-ShareAlike 4.0 International License</a>.
Commons Attribution-ShareAlike 4.0 International License</a>. <br>
Site favicon was taken from <i class="fab fa-wikipedia-w"></i>iki
Commons.
</p>
</div>
</div>
......
Subproject commit 43f44a97a90b9415ff533780bcc440e430fddbef
Subproject commit 388e8768b5a4c2ae70c73f6c938e528dc35ef63c
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment