You can not serve both God and money

他们中间的闲杂人大起贪欲的心;以色列人又哭号说:"谁给我们肉吃呢? (民数记 11:4 和合本)
The rabble with them began to crave other food, and again the Israelites started wailing and said, "If only we had meat to eat! (Numbers 11:4 NIV)
我们记得,在埃及的时候不花钱就吃鱼,也记得有黄瓜、西瓜、韭菜、葱、蒜。 (民数记 11:5 和合本)
We remember the fish we ate in Egypt at no cost—also the cucumbers, melons, leeks, onions and garlic. (Numbers 11:5 NIV)
现在我们的心血枯竭了,除这吗哪以外,在我们眼前并没有别的东西。" (民数记 11:6 和合本)
But now we have lost our appetite; we never see anything but this manna!" (Numbers 11:6 NIV)
这吗哪仿佛芫荽子,又好像珍珠。 (民数记 11:7 和合本)
The manna was like coriander seed and looked like resin. (Numbers 11:7 NIV)
百姓周围行走,把吗哪收起来,或用磨推,或用臼捣,煮在锅中,又做成饼,滋味好像新油。 (民数记 11:8 和合本)
The people went around gathering it, and then ground it in a hand mill or crushed it in a mortar. They cooked it in a pot or made it into loaves. And it tasted like something made with olive oil. (Numbers 11:8 NIV)
夜间露水降在营中,吗哪也随着降下。 (民数记 11:9 和合本)
When the dew settled on the camp at night, the manna also came down. (Numbers 11:9 NIV)


Photo by Bailey Zindel / Unsplash

A men!

Now I lay me down to sleep,
I pray the Lord my soul to keep:
May God guard me through the night
And wake me with the morning light.
Amen.

你们应当畏惧,不可犯罪;在床上的时候,要心里思想,并要肃静。 (细拉) (诗篇 4:4 和合本)
Tremble and do not sin; when you are on your beds, search your hearts and be silent. (Psalms 4:4 NIV)
我必安然躺下睡觉,因为独有你—耶和华使我安然居住。 (诗篇 4:8 和合本)
In peace I will lie down and sleep, for you alone, Lord , make me dwell in safety. (Psalms 4:8 NIV)


Photo by James Douglas / Unsplash

perfect will

所以,弟兄们,我以 神的慈悲劝你们,将身体献上,当作活祭,是圣洁的,是 神所喜悦的;你们如此侍奉乃是理所当然的。 (罗马书 12:1 和合本)
Therefore, I urge you, brothers and sisters, in view of God's mercy, to offer your bodies as a living sacrifice, holy and pleasing to God—this is your true and proper worship. (Romans 12:1 NIV)
不要效法这个世界,只要心意更新而变化,叫你们察验何为 神的善良、纯全、可喜悦的旨意。 (罗马书 12:2 和合本)
Do not conform to the pattern of this world, but be transformed by the renewing of your mind. Then you will be able to test and approve what God's will is—his good, pleasing and perfect will. (Romans 12:2 NIV)


Photo by Eurico Craveiro / Unsplash

Create App Icons for React Native Android App

First you need one png file as your launcher icon.
icon
Then you need to resize this icon file to needed resolutions.
There is a simple service to resize your app icon to all needed resolutions with rocket speed.
Then you can download all your needed icons.
icons
Then replace each ic_launcher.png via image with correct resolution.
webrowser/android$ find -name "ic_launcher.png"
./app/src/main/res/mipmap-hdpi/ic_launcher.png
./app/src/main/res/mipmap-mdpi/ic_launcher.png
./app/src/main/res/mipmap-xhdpi/ic_launcher.png
./app/src/main/res/mipmap-xxhdpi/ic_launcher.png

Or you can use Image Asset Studio to create App Icons.
1.open Android Studio poject in your react native application.
open-app
2.use Image Asset Studio
open-image-asset
In the Foreground Layer tab, select an Asset Type, and then specify the asset in the field underneath:
Select Image to specify the path for an image file.

If your app supports Android 8.0, create adaptive and legacy launcher icons.
ic_launcher
If your app supports versions no higher than Android 7.1, create a legacy launcher icon only.
ic_launcher-1

Check the result
react-native run-android

lc

Refer

https://developer.android.com/studio/write/image-asset-studio.html
https://www.npmjs.com/package/react-native-icon

Configure Proxy Settings for CMD.EXE, WinHttp

winhttp
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Users\lenger>netsh
netsh>winhttp
netsh winhttp>set proxy /?

Usage: set proxy [proxy-server=] [bypass-list=]

Parameters:

Tag Value
proxy-server - proxy server for use for http and/or https protocol
bypass-list - a list of sites that should be visited bypassing the
proxy (use "" to bypass all short name hosts)

Examples:

set proxy myproxy
set proxy myproxy:80 ";bar"
set proxy proxy-server="http=myproxy;https=sproxy:88" bypass-list="*.foo.com"

netsh winhttp>

set HTTP_PROXY=server:port
set HTTPS_PROXY=server:port

Refer

https://technet.microsoft.com/en-us/library/bb430772(v=exchg.141).aspx

install and build your first React Native app on windows

Installing Chocolatey with cmd.exe

@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin" 

Installing Node, Python2 and JDK with Chocolatey

choco install -y nodejs.install python2 jdk8 

Install The React Native CLI

npm install -g react-native-cli 

Setup Android Studio

Create Virtual Device

Create New Application

react-native init AwesomeProject 

Run android

Launch your AVD before run-android

react-native run-android 

If every works well, below is your final result:
React-native-sample

Refer

https://facebook.github.io/react-native/docs/getting-started.html
https://chocolatey.org/install

Troubleshooting page

npm proxy set
run-android connection timeout
unable to load index.android.bundle

Unable to load script from assets index.android.bundle

Unable to load script from assets index.android.bundle

Solution

mkdir android/app/src/main/assets react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res 

Run

react-native run-android
Total time: 23.641 secs
'adb' is not recognized as an internal or external command,
operable program or batch file.
Starting the app (C:\Users\lenger\AppData\Local\Android\Sdk/platform-tools/adb shell am start -n com.webrowser/com.webrowser.MainActivity...
Starting: Intent { cmp=com.webrowser/.MainActivity }
React-native-sample

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