Sumber : https://www.w3docs.com/snippets/php/how-to-determine-the-first-and-last-iteration-in-a-foreach-loop.html#:~:text=A%20handy%20solution%20to%20determining,)%20%7B%20%2F%2F%20last%20%7D%20%2F%2F%20%E2%80%A6
Sumber : https://mukharom.com/cara-reset-tws-haylou-gt1-pro-yang-tidak-stereo/
Alasan Menyimpan : karena saya sering mencari blog ini untuk perangkat saya sendiri yang error.
Mukharom.com –Haylou GT1 Pro sudah menjadi TWS harian yang saya gunakan untuk berbagai kegiatan. Mulai dari mendengarkan musik, podcast, hingga online meeting. Ada beberapa alasan saya memilih TWS tersebut, alasannya sudah saya tulis pada artikel:Hal yang Saya Suka dari TWS Haylou GT1 Pro. TWS ini memiliki sistem stereo, yang secara otomatis dapat terhubung antara earbuds kanan dan earbuds kiri sehingga suara dapat dihasilkan oleh 2 output. Lalu apakah sistem tersebut dapat error dan tidak dapat terkoneksi secara otomatis?
Ya, itu baru saja terjadi beberapa waktu lalu pada TWS haylou milik teman saya. Yang menyebabkan earbuds kanan dan kiri terpisahkan dan tidak bisa saling terhubung secara stereo. Akibatnya kita hanya dapat menggunakan salah satu earbud saja dari TWS Haylou GT1 Pro tersebut, sangat tidak nyaman rasanya bukan? Tentu saja, karena TWS tersebut tidak bisa terhubung 1 sama lain sehingga penggunaannya tidak maksimal. Saya pun mencari tahu dan segera mencoba memperbaikinya, hingga akhirnya menemukan sebuah artikel di internet dan berhasil mereset TWS Haylou tersebut.
Lalu bagaimana cara reset TWS dari Haylou GT1 Pro tersebut yang tidak bisa terkoneksi dan membentuk stereo? Caranya sangatlah mudah, kita hanya perlu mereset kedua earbuds tersebut dan melakukan pairing ulang secara otomatis. Penasaran? Masalah koneksi pada TWS Haylou GT1 Pro masihlah dapat ditangani. Berikut tutorial cara Reset TWS Haylou GT1 Pro yang tidak saling terhubung atau tidak stereo.
Cara Reset TWS Haylou GT1 Pro yang tidak SalingTerhubung
Sebelum melakukan reset TWS Haylou GT1 Pro tersebut, pastikan kamu memiliki TWS dan tentunya Charging Case-nya ya! Yuk langsung saja berikut cara reset TWS Haylout GT1 Pro tersebut
Silakan keluarkan kedua earbuds tersebut dari Charging Case-nya, maka secara otomatis TWS tersebut akan menyala
Jika sudah silakan kamu matikan kembali kedua earbuds tersebut dengan menekannya selama kurang lebih 3 detik hingga lampu berwarna merah dan mati
Kemudian lakukan reset kedua earbuds secara bersamaan dengan menyentuh tombol pada kedua earbuds selama 15-20 detik. Pastikan kedua earbuds berhasil direset dengan ditandai lampu yang berkedip dengan warna putih dan merah secara cepat
Selanjutnya kedua earbuds akan mati secara otomatis
Silakan letakkan kembali kedua earbuds tersebut pada charging case-nya
Pada smartphone kamu, buka pengaturan bluetooth dan Forget atau delete Bluetooth dari Haylou GT1 Pro tersebut dari perangkat yang sudah terhubung
Jika sudah, tunggu sekitar 1-2 menit kemudian keluarkan kembali TWS Haylou GT1 Pro tersebut dari Charging Case nya
Tunggu beberapa detik agar kedua earbuds tersebut terhubung kembali, biasanya ditandai dengan warna kedipan yang berhenti pada salah satu earbuds
Setelah itu silakan lakukan pairing kembali pada perangkat Smartphone kamu atau perangkat lainnya
Selamat! Saat ini TWS kamu sudah berhasil kembali ke mode stereo dan earbudsnya saling terhubung satu sama lain. Kamu bisa menggunakannya kembali dengan nyaman seperti sebelumnya
Bagaimana, mudah bukan mereset konfigurasi pada TWS Haylout GT1 Pro agar kembali dapat stereo kembali? Kamu pun dapat menggunakan kembali TWS tersebut seperti sebelumnya untuk menemani aktifitas sehari-hari kamu. Kalau TWS Haylou GT1 Pro itu kamu gunakan untuk apa aja sih pada kehidupan sehari-hari? Jangan malu untuk share dikolom komentar ya! Silakan bagikan artikel ini ke pengguna Haylou lainnya, agar tau cara reset TWS yang mereka punya dan tidak panik saat mendapatkan kendala tersebut
sumber : https://hackthedeveloper.com/how-to-install-redis-on-windows-10/
dir : D:\LKPP\katalog5-dev\Redis\redis-server
This blog’s primary focus is to discussHow to install Redis on Windows 10? Before addressing the main question, let’s first take a brief look on what isRedis.
What Is Redis?
Redis full form is Remote Directory Server. Redis is a NO-SQL in-memory remote database that offers high performance, replication, and a unique data model.
Now when we have a brief idea of what Redis is, let’s see how we can install Redis on windows 10.
Redis was not developed for windows and thus a team of Microsoft handles the task to make it available to us.
How To Install Redis On Windows 10
Follow the steps as shown to properly install Redis on Windows 10.
Step 1: Download .Zip Or .Msi File
As told earlier, Redis is not available on windows but Microsoft makes it available for the Windows users.
The ZIP file will require you to add the environment variables manually while the MSI file is an installer and will do it automatically for you.
In this blog, I will show you both the process. Starting with the ZIP File.
MicrosoftArchive Redis
Make sure you get the latest release and not the pre-release, as shown by the mouse pointer on the picture.
Step 2: Extract The ZIP File
Create a new folder named “Redis” and extract the ZIP file into it. Name of the folder is up to you but it is good to follow the conventions.
After Extracting the ZIP you will see files of the Redis.
Redis Files
Two important files in this folder is redis-server.exe which will run the redis server and the redis-cli.exe which will enable us to interact with the server.
Let’s start the redis-server by double clicking the redis-server.exe.
Redis Server
By Default Redis Server runs on the port 6379.
Let’s Open the redis-cli and interact with the server.
Double click the redis-cli.exe to start the client interface.
Redis Client
The above image shows the interaction with the Redis Server.
This shows that the Redis is working in Windows 10, but we don’t want to come to this directory every time we want to work with Redis. To Solve this we will add the Redis-server and Redis-CLI path to the windows environment variable to interact with it using the command prompt.
Step 3: Move The Redis Folder To C Drive (Optional)
By Default the Redis folder will be downloaded on the Download folder of the windows. Then we created a folder and extracted the ZIP file into it.
It may happen that we accidently delete the Redis folder and the system will not find the path to open the Redis-Server and Redis-CLI.
So, it will be a good choice if we move our Redis folder to the Root of the C Drive.
Step 3: Add Redis Path To Windows 10 Environment Variable
Right Click to the My Computer (This PC in Windows 10) icon and go to properties or move to Control Panel\All Control Panel Items\System. Then go to Advanced System Settings > Environment Variables.
On the System Variables section, double click on the PATH variable and add the path of redis folder.
redis to environment variable
To test the path has been successfully added or not.
Open the Command Prompt and write command:
> redis-server
Bash/Shell
Redis on Commad Prompt
> redis-cli
Bash/Shell
Redis Server on Powershell and Redis Client on Command Prompt
Now let’s look at how we can install the Redis using MSI Installer on Windows 10.
Installing Redis Using MSI On Windows 10
MSI is an installer and the automatic process for adding the path to environment variables.
Just remember to check the tick box that says add to the environment variable. and you keep the rest as default. Redis will be successfully installed on your Windows 10 system.
One thing to know that, When you choose the MSI Installer the redis-server will automatically run in the background when the system starts. you just have to connect to the server using the redis-cli from the CMD.