神显明深奥隐密的事



但以理说:“ 神的名是应当称颂的!从亘古直到永远,因为智慧能力都属乎他。  (但以理书 2:20 和合本)
and said: “Praise be to the name of God for ever and ever; wisdom and power are his.  (Daniel 2:20 NIV)
他改变时候、日期,废王,立王,将智慧赐与智慧人,将知识赐与聪明人。  (但以理书 2:21 和合本)
He changes times and seasons; he deposes kings and raises up others. He gives wisdom to the wise and knowledge to the discerning.  (Daniel 2:21 NIV)
他显明深奥隐秘的事,知道暗中所有的,光明也与他同居。  (但以理书 2:22 和合本)
He reveals deep and hidden things; he knows what lies in darkness, and light dwells with him.  (Daniel 2:22 NIV)
当那列王在位的时候,天上的 神必另立一国,永不败坏,也不归别国的人,却要打碎灭绝那一切国,这国必存到永远。  (但以理书 2:44 和合本)
“In the time of those kings, the God of heaven will set up a kingdom that will never be destroyed, nor will it be left to another people. It will crush all those kingdoms and bring them to an end, but it will itself endure forever.  (Daniel 2:44 NIV)


神吩咐

 神吩咐这一切的话说:  (出埃及记 20:1 和合本)
And God spoke all these words:  (Exodus 20:1 NIV)
“我是耶和华—你的 神,曾将你从埃及地为奴之家领出来。 (出埃及记 20:2 和合本)
“I am the Lord your God, who brought you out of Egypt, out of the land of slavery.  (Exodus 20:2 NIV)
“除了我以外,你不可有别的神。 (出埃及记 20:3 和合本)
“You shall have no other gods before me.  (Exodus 20:3 NIV)
“不可为自己雕刻偶像,也不可做什么形象仿佛上天、下地,和地底下、水中的百物。  (出埃及记 20:4 和合本)
“You shall not make for yourself an image in the form of anything in heaven above or on the earth beneath or in the waters below.  (Exodus 20:4 NIV)
不可跪拜那些像,也不可事奉它,因为我耶和华—你的 神是忌邪的 神。恨我的,我必追讨他的罪,自父及子,直到三四代;  (出埃及记 20:5 和合本)
You shall not bow down to them or worship them; for I, the Lord your God, am a jealous God, punishing the children for the sin of the parents to the third and fourth generation of those who hate me,  (Exodus 20:5 NIV)
爱我、守我诫命的,我必向他们发慈爱,直到千代。 (出埃及记 20:6 和合本)
but showing love to a thousand generations of those who love me and keep my commandments.  (Exodus 20:6 NIV)
“不可妄称耶和华—你 神的名;因为妄称耶和华名的,耶和华必不以他为无罪。 (出埃及记 20:7 和合本)
“You shall not misuse the name of the Lord your God, for the Lord will not hold anyone guiltless who misuses his name.  (Exodus 20:7 NIV)
“当记念安息日,守为圣日。  (出埃及记 20:8 和合本)
“Remember the Sabbath day by keeping it holy.  (Exodus 20:8 NIV)
六日要劳碌做你一切的工,  (出埃及记 20:9 和合本)
Six days you shall labor and do all your work,  (Exodus 20:9 NIV)
但第七日是向耶和华—你 神当守的安息日。这一日你和你的儿女、仆婢、牲畜,并你城里寄居的客旅,无论何工都不可做;  (出埃及记 20:10 和合本)
but the seventh day is a sabbath to the Lord your God. On it you shall not do any work, neither you, nor your son or daughter, nor your male or female servant, nor your animals, nor any foreigner residing in your towns.  (Exodus 20:10 NIV)
因为六日之内,耶和华造天、地、海,和其中的万物,第七日便安息,所以耶和华赐福与安息日,定为圣日。 (出埃及记 20:11 和合本)
For in six days the Lord made the heavens and the earth, the sea, and all that is in them, but he rested on the seventh day. Therefore the Lord blessed the Sabbath day and made it holy.  (Exodus 20:11 NIV)
“当孝敬父母,使你的日子在耶和华—你 神所赐你的地上得以长久。 (出埃及记 20:12 和合本)
“Honor your father and your mother, so that you may live long in the land the Lord your God is giving you.  (Exodus 20:12 NIV)
“不可杀人。 (出埃及记 20:13 和合本)
“You shall not murder.  (Exodus 20:13 NIV)
“不可奸淫。 (出埃及记 20:14 和合本)
“You shall not commit adultery.  (Exodus 20:14 NIV)
“不可偷盗。 (出埃及记 20:15 和合本)
“You shall not steal.  (Exodus 20:15 NIV)
“不可作假见证陷害人。 (出埃及记 20:16 和合本)
“You shall not give false testimony against your neighbor.  (Exodus 20:16 NIV)
“不可贪恋人的房屋;也不可贪恋人的妻子、仆婢、牛驴,并他一切所有的。” (出埃及记 20:17 和合本)
“You shall not covet your neighbor’s house. You shall not covet your neighbor’s wife, or his male or female servant, his ox or donkey, or anything that belongs to your neighbor.”  (Exodus 20:17 NIV)


Install nginx from source for your google compute engine vm instance (ubuntu 16.04)

Dependence Installation: zlib, pcre, openssl
sudo apt-get install openssl libssl-dev libpcre3 libpcre3-dev zlib1g-dev
( if you want to compile them from source,
get zlib source:
wget http://zlib.net/zlib-1.2.11.tar.gz
gunzip zlib-1.2.11.tar.gz
tar -xvf zlib-1.2.11.tar
mv zlib-1.2.11 zlib

get pcre source:
svn co svn://vcs.exim.org/pcre2/code/trunk pcre
)


I want to install nginx on my my google compute engine.

Use SSH Client to connect your Google Compute Engine

The easy way is via browser.


Below is use putty.exe on windows.
Other system, you can refer to offical guide.

Try free Google Cloud Platform for 12 month, Setup VPS via GCE(Google Computer Engine)

GCP official websites

1. https://cloud.google.com
2. https://cloud.google.com/free/

Always free for GCE













诸天述说 神的荣耀;穹苍传扬他的手段。 (诗篇 19:1 和合本)
 The heavens declare the glory of God; the skies proclaim the work of his hands.  (Psalms 19:1 NIV)
这日到那日发出言语;这夜到那夜传出知识。 (诗篇 19:2 和合本)
Day after day they pour forth speech; night after night they reveal knowledge.  (Psalms 19:2 NIV)
无言无语,也无声音可听。 (诗篇 19:3 和合本)
They have no speech, they use no words; no sound is heard from them.  (Psalms 19:3 NIV)
它的量带通遍天下,它的言语传到地极。 神在其间为太阳安设帐幕; (诗篇 19:4 和合本)
Yet their voice goes out into all the earth, their words to the ends of the world. In the heavens God has pitched a tent for the sun.  (Psalms 19:4 NIV)
太阳如同新郎出洞房,又如勇士欢然奔路。 (诗篇 19:5 和合本)
It is like a bridegroom coming out of his chamber, like a champion rejoicing to run his course.  (Psalms 19:5 NIV)
它从天这边出来,绕到天那边,没有一物被隐藏不得它的热气。 (诗篇 19:6 和合本)
It rises at one end of the heavens and makes its circuit to the other; nothing is deprived of its warmth.  (Psalms 19:6 NIV)
耶和华的律法全备,能苏醒人心;耶和华的法度确定,能使愚人有智慧。 (诗篇 19:7 和合本)
The law of the Lord is perfect, refreshing the soul. The statutes of the Lord are trustworthy, making wise the simple.  (Psalms 19:7 NIV)
耶和华的训词正直,能快活人的心;耶和华的命令清洁,能明亮人的眼目。 (诗篇 19:8 和合本)
The precepts of the Lord are right, giving joy to the heart. The commands of the Lord are radiant, giving light to the eyes.  (Psalms 19:8 NIV)
耶和华的道理洁净,存到永远;耶和华的典章真实,全然公义— (诗篇 19:9 和合本)
The fear of the Lord is pure, enduring forever. The decrees of the Lord are firm, and all of them are righteous.  (Psalms 19:9 NIV)
都比金子可羡慕,且比极多的精金可羡慕;比蜜甘甜,且比蜂房下滴的蜜甘甜。 (诗篇 19:10 和合本)
They are more precious than gold, than much pure gold; they are sweeter than honey, than honey from the honeycomb.  (Psalms 19:10 NIV)
况且你的仆人因此受警戒,守着这些便有大赏。 (诗篇 19:11 和合本)
By them your servant is warned; in keeping them there is great reward.  (Psalms 19:11 NIV)
谁能知道自己的错失呢?愿你赦免我隐而未现的过错。 (诗篇 19:12 和合本)
But who can discern their own errors? Forgive my hidden faults.  (Psalms 19:12 NIV)
求你拦阻仆人不犯任意妄为的罪,不容这罪辖制我,我便完全,免犯大罪。 (诗篇 19:13 和合本)
Keep your servant also from willful sins; may they not rule over me. Then I will be blameless, innocent of great transgression.  (Psalms 19:13 NIV)
耶和华—我的磐石,我的救赎主啊,愿我口中的言语、心里的意念在你面前蒙悦纳。 (诗篇 19:14 和合本)
May these words of my mouth and this meditation of my heart be pleasing in your sight, Lord , my Rock and my Redeemer.  (Psalms 19:14 NIV)


Can const_cast do change the constant in c/c++ ? No, in c/c++ const is const, and never change.

Consider below simple codes, what is the correct output ?

#include <stdio.h>

int main() {
  const int constant = 300;
  int* modifier = const_cast<int*>(&constant);
  printf("%d\n", constant);
  *modifier = 100;
  printf("%d\n", *modifier);
  printf("%d\n", constant);
  return 0;
}


fixed: embedded-redis: Unable to run on macOS Sonoma

Issue you might see below error while trying to run embedded-redis for your testing on your macOS after you upgrade to Sonoma. java.la...