Posts

API | Create a Fully Working API with Node.js and Express - EHB

Image
In this post I am going to show you how you can create an API to get some data with the help of Node.js and Express. Here we are going to create a simple API that sends the word "Hello". Let's get started now that you know what we are going to do. Make sure you have installed and setup Node.js on your computer. If you haven't installed it yet, then you can download it here . We will be using Hyper Terminal in this post. You can use any terminal you are familiar with. Step 1: Create a folder called "backend" In the first step, we are simply going to create a folder named "backend". You can name it whatever you want. You can create a folder in two ways: Making Use of the Mouse Use a mouse or trackpad and "Right-Click > New > Folder" . Making Use of Terminal Open the Terminal and use the cd command to go to the location where you want to create the folder. For simplicity's sake, I am going to create the fol...

Did you know that first transaction using bitcoin made to buy pizza - EHB

Image
Well, today I am going to talk about Bitcoin's history. We all know what Bitcoin is, but do you know about the history of Bitcoin? When was it created? Who was the first person who received the first Bitcoin transaction? What was the name of the starting block that was mined from the Bitcoin chain? So without further ado, let's get started. Bitcoin is a digital currency that we gain by mining. In bitcoin mining, we use our computer, laptop, mobile phone, or any other internet-enabled device. Here we solve some hash problems with the help of pre-built tools, and in return we are awarded with bitcoin currency. It works on the blockchain technology. You can also invest in it. Now let's learn more about Bitcoin. The domain name of Bitcoin's official website is bitcoin.org, and it was registered on August 18, 2008. Here on this website, you can find more details about Bitcoin. Here you can also create a wallet to store your earned bitcoins and buy bitcoins with real m...

Do you know that Archimedes' principle was invented during bath? 🛀

Image
Today, I am going to tell you an interesting story about how the Archimedes' principle was invented, who invented it, and why. If you don't know what Archimedes' principle is, when you submerge a body (object) in the water, then there will be a force that will push it upwards called buoyant force. This force will be equal to the weight of the fluid (water) that is displaced by the body. This is called Archimedes' principle. I was scrolling through youTube and suddenly I came across this interesting video in which they explain how the Archimedes' principle was invented while taking a bath. So the story goes like this: One day, the king of Sicily summoned a goldsmith to make a crown for himself. The King gave him the exact amount of gold that was needed to make the crown. After some days, when the crown was completed, the goldsmith gave the gold crown to the king. But the king suspected that the goldsmith had cheated him. The king thought that the goldsmith k...

Laptop/Computer की Speed बढ़ाने के लिए इस सेटिंग को बदलें।

Image
इस पोस्ट में मैं आपको अपने लैपटॉप या कंप्यूटर के प्रदर्शन को बढ़ाने का एक तरीका बताने जा रहा हूं, जो निश्चित रूप से काम करेगा। यह तरीका पुराने और नए दोनों लैपटॉप या कंप्यूटर पर काम करेगा। यहां हम अपने पीसी पर न तो कोई ऐप डाउनलोड करेंगे और न ही फाइल्स को डिलीट करेंगे। हम अपने पीसी पर कुछ सेटिंग्स बदलने जा रहे हैं। तो पढ़ते रहिये। 1. अपने Taskbar में सर्च (Search) पर क्लिक करें। 2. Search में "Adjust the appearance and performance of Windows" लिखें। 3. "Open" पर क्लिक करें। अब आपको नीचे दी गई Window दिखाई देगी। 4. "Adjust for best performance" विकल्प चुनें। 5. "Apply" पर क्लिक करें। 6. अपने लैपटॉप/कंप्यूटर को पुनरारंभ (Restart) करें। आप "Advanced" section में जाकर कुछ और परिवर्तन भी कर सकते हैं।

वीडियो को Stable करने के लिए मोबाइल में किस तकनीक का उपयोग किया जाता है?

Image
इस पोस्ट में, मैं आपको यह बताने जा रहा हूं कि कैसे मोबाइल फोन आपकी तस्वीर और वीडियो स्थिरता को बेहतर बनाने के लिए image stabilization तकनीकों का उपयोग करते हैं, ताकि अगर आप एक अस्थिर वातावरण में वीडियो और चित्र लेते हैं, तो भी वे धुंधले-मुक्त और सटीक होंगे। इस लेख में, हम OIS, EIS और AIS के बारे में बात करेंगे। उनके बारे में जानने के लिए पढ़ते रहें। Image Stabilization क्या है? सरल शब्दों में, image stabilization हार्डवेयर और सॉफ़्टवेयर की सहायता से कैमरे द्वारा ली गई छवि या वीडियो को धुंधला-मुक्त बनाने की प्रक्रिया है। इमेज स्टेबिलाइजेशन के प्रकार :- EIS OIS AIS 1. EIS - Electronic Image Stabilization इसे डिजिटल छवि स्थिरीकरण भी कहा जाता है क्योंकि इसमें कोई यांत्रिक हिस्सा नहीं होता है जो चलता रहता है। चूंकि कोई हिलने-डुलने वाला हिस्सा नहीं है, इसलिए कंपनी के सॉफ़्टवेयर अपडेट द्वारा इसे बेहतर बनाया जा सकता है या उपयोगकर्ताओं को उपलब्ध कराया जा सकता है। यह एक गायरोस्कोप सेंसर का उपयोग करता है ताकि यह पता लगाया जा सके कि कैमरा अपनी इच्छित स्थिति से कितना स्थानांत...

एक बैटरी को पूरे दिन चलने के लिए कितने mAh की आवश्यकता होती है - EHB

Image
जैसा कि आप जानते हैं कि 6000mAh से 7000mAh की बैटरी क्षमता वाले कई मोबाइल आ रहे हैं। तो यह सवाल उठाता है कि आपके मोबाइल को एक दिन तक चलने के लिए कितनी बैटरी क्षमता की आवश्यकता है। आज मैं आपको इस सवाल का जवाब विस्तार से देने जा रहा हूं, तो पढ़ते रहिए। बैटरी में mAh क्या होता है? आइए पहले जानते हैं कि एमएएच का मतलब क्या होता है। mAh का मतलब मिली एम्पीयर आवर्स है। यह हमें बताता है कि बैटरी द्वारा कितनी ऊर्जा संग्रहित की जा सकती है। तो एक बैटरी में जितनी अधिक ऊर्जा जमा होती है, वह उतनी ही अधिक समय तक चल सकती है। दूसरे शब्दों में, उच्च mAh की बैटरी कम mAh की बैटरी की तुलना में अधिक समय तक चलेगी। लेकिन कोई उपकरण कितने समय तक चलता है यह इस बात पर भी निर्भर करता है कि किसी कार्य को करने में बैटरी से कितनी ऊर्जा लगती है। विभिन्न कार्यों के लिए अलग-अलग मात्रा में ऊर्जा की आवश्यकता होती है। आइए इसे एक उदाहरण से समझते हैं। इस उदाहरण में, हम एक ऐसा उपकरण ले रहे हैं जो 1 घंटे में बैटरी से 100 mA (मिलीएम्प्स) बिजली निकालता है। ऐसे में अगर बैटरी 3000mAh की है तो यह 30 घंटे तक चलेगी। लेकिन अगर क...

माइक्रोसॉफ्ट विंडोज | Windows OS को अपडेट नहीं करने से होने वाली समस्याएं

Image
जैसा कि आप सभी जानते हैं, माइक्रोसॉफ्ट एक बड़ी कंपनी है, और लगभग हर कंप्यूटर या लैपटॉप माइक्रोसॉफ्ट ऑपरेटिंग सिस्टम (विंडोज) पर चलता है। Microsoft समय-समय पर अपडेट रोल आउट करता रहता है, कभी-कभी सप्ताह में दो बार। तो कभी-कभी हमारे मन में एक सवाल उठता है कि अगर हम अपने कंप्यूटर या लैपटॉप को लंबे समय तक अपडेट नहीं करते हैं तो क्या होगा। आज इस पोस्ट में मैं आपको इसी सवाल का जवाब बताने जा रहा हूं। तो पढ़ते रहिये। Contents:- Security संबंधी समस्याएं Drivers काम करना बंद कर देंगे आपको नई Features नहीं मिलेंगे 1. Security संबंधी समस्याएं आज के समय में सभी का ध्यान सुरक्षा पर है। हर कोई अपने डेटा को कंप्यूटर या लैपटॉप पर सुरक्षित रखना चाहता है ताकि उसके अलावा कोई और उसे एक्सेस न कर सके। हर दिन, माइक्रोसॉफ्ट की टीमें माइक्रोसॉफ्ट ओएस में कमजोरियों को खोजने की कोशिश करती हैं, और जब उन्हें ऐसी समस्याएं मिलती हैं जो आपके कंप्यूटर या लैपटॉप की सुरक्षा को खतरे में डाल सकती हैं, तो वे कुछ भी होने से पहले उन्हें ठीक कर देते हैं और अपडेट जारी करते हैं। यदि आप अपने डिवाइस ...