Posted on September 6, 2018
(Last modified on April 13, 2023)
| 1 minutes
|
|
0 comment
Problem
After installing NPM throught Ubuntu’s default apt-get manager, I got
permission errors. Though sudo can solve the problem, that’s not
the right way in principle because NPM is supposed to hold different versions of
Node.js packages for testing. It’s insecure to execute npm with sudo
priviledges.
Posted on September 6, 2018
(Last modified on December 19, 2018)
| 2 minutes
|
|
0 comment
Le Temple du Marais
"Eglise verte" means "green church".
Background: 🈶 ⛪ → 🌿
→ 📧 In the recent decade,
organizations are replacing courrier with email. The reason is two-folded. 🌿
First, the later is more environmentally-friendly. 📨 Second, the later delivers
the content to the recipient quick as a flash.
📧 📎 When one sends an email,
one sometimes wants to attach a file to an email. If one has to sign a paper
document and send it by email, then one will probably need a scanner. (Despite
the emergence of scanning apps on mobile devices, the quality of a scanner is
normally better since the page is flattened during the scan.)
Posted on September 5, 2018
(Last modified on April 13, 2023)
| 1 minutes
|
|
0 comment
Main ideas
–
Ideal energy range for storage: 40%–80%
The biggest enemy of electronic parts
is heat
.
Avoid overchanging and unplug AC adapter when charging is complete. In
particular, don’t leave a fully charged laptop connected to power supply.
This can reduce the lifespan of the battery.
Avoid deep discharges: recharge the laptop battery when its enery level
drops to 40%.
Reduce unnecessary programs running in background.
If your hardware vendor supports Linux drivers for batteries, set the charging
thershold to 80%.
Posted on September 5, 2018
(Last modified on April 12, 2023)
| 4 minutes
|
|
0 comment
Background
Despite my experience in Vim, the multi-cursor functionality in
Sublime Text 3 has seduced my to change my editor.
Unlike Vim, a nonempty new line at the end of Sublime Text 3
file buffer causes the file to end without a newline character. In fact,
it’s a POSIX standard to include a newline character at the EOL (end of
file). (c.f. No Newline at End of File)
Problem
Unaware of the above POSIX standard and Sublime Text 3 convention,
I have edited many lines of code in the repository for this blog and the one for
my custom Beautiful Hugo. These edited files were almost everywhere in
these repositories, and they polluted their remote counterparts on GitLab .
Posted on August 23, 2018
(Last modified on April 13, 2023)
| 3 minutes
|
|
0 comment
Motivation
One loves adding colors to his/her life by adding stunning photos to his/her
social media profile. However, due to various constraints, such as weather,
budget and time, it’s possible that the photos taken look dark and somber.
Eglise St Martine
Photo taken at Pont-du-Château, Puy-de-Dôme (63) on 30th June, 2017
Despite a suboptimal choice of camera angle, a right tool enables you to take
the best out of the photo. Let’s go GIMPing.
Posted on August 18, 2018
(Last modified on April 13, 2023)
| 4 minutes
|
|
0 comment
Objective
To get a hands-on experience on Ubuntu installation on a UEFI hybrid system.
Devices
120 GB SSD disk: /dev/sda
1 TB HDD disk: /dev/sdb
8 GB USB key: /dev/sdc
Stage 0: precautions
Ensure that your machine has enough
power.
Disable Secure Boot in M$ Windows
Disable Quick Boot in boot menu
Stage 1: Make your live USB key
I tried Xubuntu’s built-in disk writing tool to create a live USB key from the official ISO file.
Like my Xubuntu 18.04 installation on Fujitsu LH532 , the installer crashed during the installation. After
submitting the generated report to Launchpad, I found out that the cause for
this crash: the integrity test for my live USB key had failed.
Posted on August 15, 2018
(Last modified on April 13, 2023)
| 1 minutes
|
|
0 comment
It’s FOSS’s after-installation guide #11 recommends TLP. However,
this package stopped my laptop from shutting down and logging in. I resorted
to remove it through TTY.
Posted on July 26, 2018
(Last modified on April 13, 2023)
| 2 minutes
|
|
0 comment
Why image optimization?
To save loading .
My old way
ImageMagick provides a great
CLI utility to convert and compress images
for any purposes. However, to -crop images, I have to specify the numbers in
pixels. One certainly works much more efficiently with a GUI tool.
My new way
GIMP can do anything that Adobe Photoshop can do, even
saving images for web. In the linked page to this powerful GIMP plugin
tutorial, the link for the GNU/Linux binary file is broken.
Posted on July 23, 2018
(Last modified on April 13, 2023)
| 8 minutes
|
|
0 comment
😖 @ 📃! This post contains unpleasant images. If you don’t
wish to see them, please view this page with a text browser or a text mode
plugin of your browser.
Rationale
Why?
My Fujitsu LH532 has been serving me
well as my production machine for almost six years.
The keyboard was quite dirty: it’s full of hair and dandruff. I had to clean
it for personal hygiene.