Sunday, January 31, 2021

How to validate Libre Office on Mac

For a peace of mind, spend a minute to validate the downloaded file from internet.

Get information from https://download.documentfoundation.org/libreoffice/stable/7.0.4/mac/x86_64/LibreOffice_7.0.4_MacOS_x86-64.dmg.mirrorlist

File information
Filename: LibreOffice_7.0.4_MacOS_x86-64.dmg
Path: /libreoffice/stable/7.0.4/mac/x86_64/LibreOffice_7.0.4_MacOS_x86-64.dmg
Size: 252M (263941643 bytes)
Last modified: Fri, 11 Dec 2020 23:57:25 GMT (Unix time: 1607731045)
SHA-256 Hash: 0fcd83399609780013aee1acc805d1380434118d459829908aa409f7eb67c4e7
SHA-1 Hash: 443de571dad8e412e8b9e4be52ad5b249cc2627f
MD5 Hash: a36fd3c1d5e8935e4732cbf0f826a821
BitTorrent Information Hash: 636f6abbb3ed784831da6385686b1577538e8a39
PGP signature available

Run this command on MacBook: 
openssl dgst -sha256 LibreOffice_7.0.4_MacOS_x86-64.dmg
SHA256(LibreOffice_7.0.4_MacOS_x86-64.dmg)= 0fcd83399609780013aee1acc805d1380434118d459829908aa409f7eb67c4e7

Compare this SHA256 value against with value got from LibreOffice web site above.

Thursday, December 31, 2020

The Te Deum

You are God: we praise you;
You are God: we acclaim you;
You are the eternal Father:
All creation worships you.
To you all angels, all the powers of heaven,
Cherubim and Seraphim, sing in endless praise:
Holy, holy, holy, Lord, God of power and might,
Heaven and earth are full of your glory.
The glorious company of apostles praise you.
The noble fellowship of prophets praise you.
The white-robed army of martyrs praise you.
Throughout the world the holy Church acclaims you:
Father, of majesty unbounded,
Your true and only Son, worthy of all worship,
And the Holy Spirit, advocate and guide.
You, Christ, are the king of glory,
The eternal Son of the Father.
When you became man to set us free
You did not spurn the Virgin’s womb.
You overcame the sting of death,
And opened the kingdom of heaven to all believers.
You are seated at God’s right hand in glory.
We believe that you will come, and be our judge.
Come then, Lord, and help your people,
Bought with the price of your own blood,
And bring us with your saints
To glory everlasting.
Save your people, Lord, and bless your inheritance.
Govern and uphold them now and always.
Day by day we bless you.
We praise your name forever.
Keep us today, Lord, from all sin.
Have mercy on us, Lord, have mercy.
Lord, show us your love and mercy;
For we put our trust in you.
In you, Lord, is our hope:
And we shall never hope in vain
(Source: https://www.vaticannews.va/en/prayers/the-te-deum.html)

Sunday, November 29, 2020

How to validate KeePassXC on Mac

Per https://keepassxc.org/download/#mac

Before installing KeePassXC, you should always verify that your download matches the signature that is published alongside the release package! 

openssl dgst -sha256 KeePassXC-2.6.2-2.dmg

Compare the result with value in KeePassXC-2.6.2-2.dmg.DIGEST downloaded from KeePassXC web site

Sunday, November 22, 2020

How to make multiple profiles in Mozilla Firefox

Multiple profiles is not visible as in Microsoft Edge Chromium, according to https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Multiple_profiles

Enter "about:profiles" to create a new profile or update. 

Sunday, September 13, 2020

HÃY LÀM NGƯỜI TỬ TẾ TRƯỚC KHI LÀM NGƯỜI CÓ HỌC

Chiều đi làm về quá đói bụng, ghé tiệm xôi ở Nguyễn Văn Đậu. Đợi mua xôi, lấy điện thoại gọi cho đứa bạn, tự nhiên có thằng nhỏ đâu nhảy ra, làm giật cả mình:
- Chú ơi, đừng xài điện thoại ở đây, dễ bị giật lắm.
Mình gật gù, ờ ờ…
- Con biết chú không mua vé số đâu, nhưng nếu được, chú ủng hộ con 1 tờ thôi?
- Sao biết chú không mua? Cho 1 tờ đi — mình bảo.
- Dạ, con cảm ơn chú.
- Con ăn gì chưa, chú bao con hộp xôi nha.
Nó gật đầu, lí nhí cảm ơn.
- Cô ơi, phần xôi của con cô tách làm đôi để trong bịch ni-lông giúp. Nó dặn chị bán xôi.
- Ăn bịch ni-lông độc lắm — mình bảo.
- Tại nếu con xin thêm cái hộp thì tội cô bán xôi. Con để dành cho nhỏ em cũng đang bán vé số chắc chưa ăn gì.
- Chị, vậy cho thằng nhỏ thêm 1 hộp nữa nha, rồi tính cho em luôn.
Thằng nhỏ cầm 2 hộp xôi, rối rít cảm ơn rồi chạy vụt đi. Chị bán xôi góp chuyện:
- Nhìn vậy chớ có lòng lắm. Hôm rồi trời mưa to, thấy người ta bị tắt máy xe, nó lao ra phụ đẩy, cái rồi bị rớt xấp vé số xuống nước, thương gì đâu. Mười ngàn, em.
- Ủa, 3 hộp sao có 10 ngàn?
- Hổng có em tui cũng cho nó mà. Tính hộp của em thôi.
Tự nhiên nghe mắt cay cay… Cổ họng tôi như nghẹn lại…
Bởi vậy có bao giờ rời Sài Gòn được đâu. Lòng tin nhiều khi đặt có thể sai, có thể đúng, có thể bị phản bội… nhưng ở Sài Gòn muốn mất lòng tin cũng đâu có dễ!
Vui quá, tôi chợt hát nghêu ngao một mình: “Phố thị đông, người đông đông/ Tôi như đứa nhóc lông bông, chơi xa mà không về nhà…”
Đừng trách con người, nên chăng trách những này nọ làm họ quay lưng lại với nhau. Đâu cần làm ông nọ bà kia, đâu cần phải vinh hoa, phú quý… Ai đó đã nói: “Làm người tử tế trước khi làm người có học”.
(Sưu tầm)

Sunday, August 16, 2020

95-year-old billionaire Charlie Munger: The secret to a long and happy life is 'so simple'

According to https://www.cnbc.com/2019/02/21/95-year-old-billionaire-charlie-munger-says-the-secret-to-a-long-and-happy-life-is-so-simple.html

“You don’t have a lot of envy.
“You don’t have a lot of resentment.
“You don’t overspend your income.
“You stay cheerful in spite of your troubles.
“You deal with reliable people.
“And you do what you’re supposed to do.
“And all these simple rules work so well to make your life better. And they’re so trite.”
( Charlie Munger)

Saturday, July 11, 2020

Saint Benedict's Rule - Chapter 4 What Are the Instruments of Good Works

Translated from the Latin by Leonard J. Doyle
http://www.gutenberg.org/files/50040/50040-h/50040-h.html#chapter-4-nl-what-are-the-instruments-of-good-works

  1. In the first place, to love the Lord God with the whole heart, the whole soul, the whole strength.
  2. Then, one’s neighbor as oneself.
  3. Then not to murder.
  4. Not to commit adultery.
  5. Not to steal.
  6. Not to covet.
  7. Not to bear false witness.
  8. To respect all men.
  9. And not to do to another what one would not have done to oneself.
  10. To deny oneself in order to follow Christ.
  11. To chastise the body.
  12. Not to become attached to pleasures.
  13. To love fasting.
  14. To relieve the poor.
  15. To clothe the naked.
  16. To visit the sick.
  17. To bury the dead.
  18. To help in trouble.
  19. To console the sorrowing.
  20. To become a stranger to the world’s ways.
  21. To prefer nothing to the love of Christ.
  22. Not to give way to anger.
  23. Not to nurse a grudge.
  24. Not to entertain deceit in one’s heart.
  25. Not to give a false peace.
  26. Not to forsake charity.
  27. Not to swear, for fear of perjuring oneself.
  28. To utter truth from heart and mouth.
  29. Not to return evil for evil.
  30. To do no wrong to anyone, and to bear patiently wrongs done to oneself.
  31. To love one’s enemies.
  32. Not to curse those who curse us, but rather to bless them.
  33. To bear persecution for justice’ sake.
  34. Not to be proud.
  35. Not addicted to wine.
  36. Not a great eater.
  37. Not drowsy.
  38. Not lazy.
  39. Not a grumbler.
  40. Not a detractor.
  41. To put one’s hope in God.
  42. To attribute to God, and not to self, whatever good one sees in oneself.
  43. But to recognize always that the evil is one’s own doing, and to impute it to oneself.
  44. To fear the Day of Judgment.
  45. To be in dread of hell.
  46. To desire eternal life with all the passion of the spirit.
  47. To keep death daily before one’s eyes.
  48. To keep constant guard over the actions of one’s life.
  49. To know for certain that God sees one everywhere.
  50. When evil thoughts come into one’s heart, to dash them against Christ immediately.
  51. And to manifest them to one’s spiritual father.
  52. To guard one’s tongue against evil and depraved speech.
  53. Not to love much talking.
  54. Not to speak useless words or words that move to laughter.
  55. Not to love much or boisterous laughter.
  56. To listen willingly to holy reading.
  57. To devote oneself frequently to prayer.
  58. Daily in one’s prayers, with tears and sighs, to confess one’s past sins to God, and to amend them for the future.
  59. Not to fulfil the desires of the flesh; to hate one’s own will.
  60. To obey in all things the commands of the Abbot, even though he himself (which God forbid) should act otherwise, mindful of the Lord’s precept, “Do what they say, but not what they do.”
  61. Not to wish to be called holy before one is holy; but first to be holy, that one may be truly so called. 
  62. To fulfil God’s commandments daily in one’s deeds.
  63. To love chastity.
  64. To hate no one.
  65. Not to be jealous, not to harbor envy.
  66. Not to love contention.
  67. To beware of haughtiness.
  68. And to respect the seniors.
  69. To love the juniors.
  70. To pray for one’s enemies in the love of Christ.
  71. To make peace with one’s adversary before the sun sets.
  72. And never to despair of God’s mercy. 
These, then, are the tools of the spiritual craft. If we employ them unceasingly day and night, and return them on the Day of Judgment, our compensation from the Lord will be that wage He has promised: “Eye has not seen, nor ear heard, what God has prepared for those who love Him.”

Now the workshop in which we shall diligently execute all these tasks is the enclosure of the monastery and stability in the community.