• HOME
  • ARCHIVES
  • Sitemap
Search ...
Search ...

Archives

Total: 3400

| 2023-06-26

Powering an Arduino with a Power Bank: A Guide for Reliable Operation

Powering an Arduino with a Power Bank: A Guide for Reliable OperationWhen it comes to powering an Arduino project with a USB power bank, there are a few important considerations to keep in mind. While it may seem like a simple solution, the ...

tech wiki
tech wiki
5 min read
| 2023-06-26

A Comprehensive Guide to the `killall` Command in Linux

A Comprehensive Guide to the killall Command in LinuxIn the world of Linux commands, killall serves as a powerful tool for sending signals to multiple running processes simultaneously. While the traditional kill command targets a specific p ...

tech wiki
tech wiki
3 min read
| 2023-06-26

SwiftUI: Exploring the NavigationView View

SwiftUI: Exploring the NavigationView ViewThe NavigationView view is a crucial component in SwiftUI that you will frequently use in your app development. By wrapping your views within a NavigationView, you gain access to several beneficial ...

tech wiki
tech wiki
7 min read
| 2023-06-26

The Complete Guide to JSONP

The Complete Guide to JSONPJSONP, or JSON with Padding, is a technique used to load data from third-party servers while bypassing the same-origin policy. By default, web browsers restrict loading JSON files from domains and ports that are d ...

tech wiki
tech wiki
4 min read
| 2023-06-26

Deferreds and Promises: Structuring Your JavaScript Code with Ease (+ Ember.js Example)

Deferreds and Promises: Structuring Your JavaScript Code with Ease (+ Ember.js Example)tags: [“Promises”, “Deferred”, “JavaScript”, “Async Management”, “Ember.js”] Promises are an innovative approach to managing asynchronous code in JavaScr ...

tech wiki
tech wiki
16 min read
| 2023-06-26

How to Upload Files to S3 from Node.js

How to Upload Files to S3 from Node.jsIn this tutorial, I will guide you on how to upload files to AWS S3 from Node.js. The scenario I encountered was building a job board where recruiters can submit a new job offer along with a company log ...

tech wiki
tech wiki
5 min read
| 2023-06-26

Uninstalling npm packages with `npm uninstall`

Uninstalling npm packages with npm uninstallLearn how to properly uninstall an npm Node package, whether it is installed locally or globally. To uninstall a package that was previously installed locally in the node_modules folder, you can r ...

tech wiki
tech wiki
2 min read
| 2023-06-26

Using Docker Desktop to Manage a Container

Using Docker Desktop to Manage a ContainerManaging Docker containers is made easier with Docker Desktop. Once you have started a container, you can use Docker Desktop to perform various tasks and monitor its status. To access the container ...

tech wiki
tech wiki
5 min read
| 2023-06-26

Electronic Project: How to Build an LED Dimmer with a Potentiometer

Electronic Project: How to Build an LED Dimmer with a PotentiometerIn this blog post, I will guide you through the process of building an LED dimmer using a potentiometer. It’s a simple and fun electronic project that you can easily do at h ...

tech wiki
tech wiki
4 min read
| 2023-06-26

How to Invert Colors Using CSS: A Guide to Making Elements and Images Dark Mode Friendly

How to Invert Colors Using CSS: A Guide to Making Elements and Images Dark Mode FriendlyHave you ever encountered a situation where you added a “black on white” image on a web page, only to find out that when switching to dark mode, the bac ...

tech wiki
tech wiki
4 min read
| 2023-06-26

Personal Blog vs Company/Product Blog: Making the Right Choice

Personal Blog vs Company/Product Blog: Making the Right ChoiceAs a freelancer or a solopreneur, you may find yourself faced with the decision of whether to create a personal blog or a company/product blog. While both options have ...

tech wiki
tech wiki
3 min read
| 2023-06-26

How to Work with Files/Folders in PHP

How to Work with Files/Folders in PHPPHP, being a server-side language, offers convenient access to the filesystem. In this blog post, we will explore some basic operations on files and folders using PHP. Checking if a File ExistsTo ch ...

tech wiki
tech wiki
4 min read
| 2023-06-26

How to Get the File Extension in Node.js

How to Get the File Extension in Node.jsIn certain cases, you may come across the need to determine the extension of a file, such as an image file. To accomplish this task effectively in Node.js, you can utilize the path built-in module and ...

tech wiki
tech wiki
1 min read
| 2023-06-26

How to Resolve the \"Module not found: Can't resolve encoding\" Error in Next.js

How to Resolve the “Module not found: Can’t resolve encoding” Error in Next.jsIf you are encountering the error message “Module not found: Can’t resolve ‘encoding’ in …/node_modules/node-fetch/lib” in your Next.js application ...

tech wiki
tech wiki
3 min read
| 2023-06-26

Understanding the hasOwnProperty() Method in JavaScript

Understanding the hasOwnProperty() Method in JavaScriptThe hasOwnProperty() method in JavaScript allows you to determine whether an object has a specific property. It is useful when you need to check if an object instance has a property wit ...

tech wiki
tech wiki
3 min read
| 2023-06-26

Linux commands: env - Interacting with Environment Variables

Linux commands: env - Interacting with Environment VariablesThe env command is a versatile tool used in Linux, macOS, WSL, and UNIX environments to run commands while manipulating and interacting with environment variables. Passing Environm ...

tech wiki
tech wiki
5 min read
| 2023-06-26

How to Use the SELECT Command in SQL for Data Retrieval

How to Use the SELECT Command in SQL for Data RetrievalWhen working with a SQL database, the SELECT command is used to retrieve data from a table. In this blog, we’ll explore how to effectively use the SELECT command to fetch and manipulate ...

tech wiki
tech wiki
4 min read
| 2023-06-26

Understanding Hoisting in JavaScript

Understanding Hoisting in JavaScriptHoisting is a concept in JavaScript where the language moves all function and variable declarations to the top of their scope before executing the code. This means that regardless of where functions or va ...

tech wiki
tech wiki
4 min read
| 2023-06-26

How to Wait for 2 or More Promises to Resolve in JavaScript

How to Wait for 2 or More Promises to Resolve in JavaScriptIf you need to fire up and wait for the result of multiple promises in JavaScript, there is a simple way to do so using Promise.all(). Here’s how you can achieve this using async/aw ...

tech wiki
tech wiki
3 min read
| 2023-06-26

What are Data URLs

What are Data URLsA Data URL is a URI scheme that provides a way to inline data in a document, and it’s commonly used to embed images in HTML and CSS. IntroductionA Data URL is a URI scheme that provides a way to inline data in an HTML docu ...

tech wiki
tech wiki
12 min read
| 2023-06-26

The Benefits and Challenges of Remote Working for Software Developers

The Benefits and Challenges of Remote Working for Software DevelopersRemote working is becoming increasingly popular for software developers, offering a range of advantages that can lead to increased productivity and job satisfaction. Howev ...

tech wiki
tech wiki
13 min read
| 2023-06-26

How to Install Python 3 on macOS

How to Install Python 3 on macOSIf you’re using macOS, you may have noticed that it comes with an outdated version of Python 2 installed by default. Fortunately, you can easily install the latest version of Python 3 on your Mac. In this blo ...

tech wiki
tech wiki
7 min read
| 2023-06-26

A Beginner's Guide to the `crontab` Command for Linux

A Beginner’s Guide to the crontab Command for LinuxIntroductionCron jobs are a powerful way to schedule and automate tasks in your Linux environment. Whether you need a command to run every hour, every day, or at specific intervals, the cro ...

tech wiki
tech wiki
5 min read
| 2023-06-26

Python Lambda Functions: Simplifying Your Code

Python Lambda Functions: Simplifying Your CodeLambda functions, also known as anonymous functions, are incredibly useful tools in Python. They are small, nameless functions that consist of a single expression as their body. In Python, lambd ...

tech wiki
tech wiki
3 min read
| 2023-06-26

Simulating a For Loop in Svelte Templates

Simulating a For Loop in Svelte TemplatesSvelte templates provide the powerful each block, allowing us to iterate over arrays or any iterable objects. It’s a handy way to display dynamic content. However, what if you need to repeat a block ...

tech wiki
tech wiki
3 min read
| 2023-06-26

Introduction to SQL: Understanding the Basics

Introduction to SQL: Understanding the BasicsSQL (Structured Query Language) is a powerful language used to interact with Database Management Systems (DBMS). It is specifically designed for querying and manipulating data in relational datab ...

tech wiki
tech wiki
4 min read
| 2023-06-26

Living the \"Van Life\" as a Developer: A Guide to Working and Traveling on the Road

Living the “Van Life” as a Developer: A Guide to Working and Traveling on the RoadIn this blog series, we will explore the concept of living the “van life” as a developer. What exactly is the van life and how does it relate to this blog? Va ...

tech wiki
tech wiki
6 min read
| 2023-06-26

How to Force a Page Refresh in Next.js

How to Force a Page Refresh in Next.jsIn Next.js, there may be situations where you need to manually force a page refresh. Whether you are working within a component using the useRouter hook or in a utility function, this guide will show yo ...

tech wiki
tech wiki
3 min read
| 2023-06-26

How to Resolve the \"No inputs were found in config file\" Error in tsconfig.json

How to Resolve the “No inputs were found in config file” Error in tsconfig.jsonMany students have encountered the “No inputs were found in config file” error while working on an Astro project, which includes a tsconfig.json file by default. ...

tech wiki
tech wiki
3 min read
| 2023-06-26

Understanding Swift Operators Precedence and Associativity

Understanding Swift Operators Precedence and AssociativityIn Swift, the order in which operators are evaluated can have a significant impact on the result of an expression. This order is determined by the operator precedence and associativi ...

tech wiki
tech wiki
5 min read
| 2023-06-26

How to Learn Multiple Programming Languages

How to Learn Multiple Programming LanguagesWhen I announced my new SwiftUI series in an email newsletter, I received an interesting question: “How do you manage to learn several languages?” It’s a valid question, considering I have learned ...

tech wiki
tech wiki
5 min read
| 2023-06-26

How to Upload a File Using Fetch

How to Upload a File Using FetchLearn how to upload files to a server using the Fetch API in a simple and straightforward way. Uploading files to a server can sometimes be a challenging task that requires hours of research. In this tutorial ...

tech wiki
tech wiki
4 min read
| 2023-06-26

How to Empty a JavaScript Array

How to Empty a JavaScript ArrayIn JavaScript, there are multiple approaches to emptying an array. This blog post will discuss a couple of commonly used methods for clearing an array and emptying all its elements. Method 1: Setting the Array ...

tech wiki
tech wiki
2 min read
| 2023-06-26

How to Create an Empty SQLite Database

How to Create an Empty SQLite DatabaseWhen it comes to creating an SQLite database for use with Prisma, don’t overthink it - the process is actually quite simple. All you need to do is create an empty file. To illustrate, let’s say you want ...

tech wiki
tech wiki
1 min read
| 2023-06-26

Writing About Different Topics: A Reflection on Blogging

Writing About Different Topics: A Reflection on BloggingAs a seasoned blogger, I have covered a wide range of topics throughout my writing journey. Starting with random Web Development subjects, I delved into Go, React, Node.js, CSS, HTML, ...

tech wiki
tech wiki
7 min read
| 2023-06-26

The BroadcastChannel API: A Guide to 1-to-Many Communication

The BroadcastChannel API: A Guide to 1-to-Many CommunicationThe BroadcastChannel API allows for efficient communication among multiple entities simultaneously. Unlike the Channel Messaging API, which enables 1-to-1 messaging, the BroadcastC ...

tech wiki
tech wiki
3 min read
| 2023-06-26

How to Debug CSS Using the Bisect Technique

How to Debug CSS Using the Bisect TechniqueDebugging CSS issues can often be challenging, especially when trying to pinpoint the specific cause of a problem. In this blog, we will explore a helpful workflow called bisecting, also known as “ ...

tech wiki
tech wiki
4 min read
| 2023-06-26

Electronic Components: Understanding the 1602 LCD Display

Electronic Components: Understanding the 1602 LCD DisplayThe 1602 LCD display is a widely used alphanumeric display that consists of two lines, each capable of displaying 16 characters. Its versatility makes it suitable for various applicat ...

tech wiki
tech wiki
5 min read
| 2023-06-26

How to Count the Number of Properties in a JavaScript Object

How to Count the Number of Properties in a JavaScript ObjectLearn how to efficiently calculate the number of properties in a JavaScript object. To accomplish this, you can use the Object.keys() method. By passing the object you want to insp ...

tech wiki
tech wiki
2 min read
| 2023-06-26

How to Handle Failed Requests with Axios in Node.js

How to Handle Failed Requests with Axios in Node.jsWhen using the popular Axios library in Node.js to make network requests, you may encounter a problem where the Node.js process crashes when the request fails. This can be unexpected and fr ...

tech wiki
tech wiki
4 min read
| 2023-06-26

How to Update Node.js: A Step-by-Step Guide

How to Update Node.js: A Step-by-Step GuideFind out how to properly upgrade the Node.js version you have installed. Node.js can be installed in multiple ways on a system, and the upgrade instructions depend on how you first installed it. Up ...

tech wiki
tech wiki
3 min read
| 2023-06-26

The parseInt() Method in JavaScript

The parseInt() Method in JavaScriptIn this blog post, we will explore the parseInt() method of the Number object in JavaScript. The parseInt() method is used to parse a string argument and convert it into an integer number. Let’s take a clo ...

tech wiki
tech wiki
4 min read
| 2023-06-26

The History API: Interacting with Browser History

The History API: Interacting with Browser HistoryThe History API is a set of browser features that allow developers to interact with the address bar and navigation history. It is especially useful for modern Single Page Applications that re ...

tech wiki
tech wiki
7 min read
| 2023-06-26

Exploring the String padEnd() Method

Exploring the String padEnd() MethodLearn all about the JavaScript padEnd() method for manipulating strings. String padding involves adding characters to a string in order to achieve a specific length. Introduced in ES2017, the padEnd() met ...

tech wiki
tech wiki
1 min read
| 2023-06-26

Dynamically Select a Method of an Object in JavaScript

Dynamically Select a Method of an Object in JavaScriptLearn how to dynamically access a method of an object in JavaScript and improve code flexibility. Sometimes, you may encounter a situation where you have an object and need to call diffe ...

tech wiki
tech wiki
3 min read
| 2023-06-26

Read values from an Arduino via HTTP

Read values from an Arduino via HTTPIn this tutorial, we will expand on the Arduino Web Server tutorial to include reading the values measured by a sensor. This will allow us to view the data by simply opening a page in our browser. For thi ...

tech wiki
tech wiki
11 min read
| 2023-06-26

The JavaScript for...of loop: A concise and versatile looping technique

The JavaScript for…of loop: A concise and versatile looping techniquetags: [“JavaScript”, “for…of loop”, “looping”, “programming”] The for...of loop is a powerful and concise way to iterate over elements in JavaScript. It combines the ease ...

tech wiki
tech wiki
6 min read
| 2023-06-26

SwiftUI Forms: Exploring TextField

SwiftUI Forms: Exploring TextFieldIn this article, we will dive into SwiftUI forms and explore the usage of the TextField control. TextField is a form control that allows users to input text. It can be used to display text and enable user i ...

tech wiki
tech wiki
3 min read
| 2023-06-26

How to Integrate ReCaptcha into a Next.js Form

How to Integrate ReCaptcha into a Next.js Formtags: [“Next.js”, “ReCaptcha”, “form validation”, “spam protection”, “Google”] ReCaptcha is a powerful tool provided by Google to combat spam and abuse in online forms. By adding ReCaptcha to yo ...

tech wiki
tech wiki
8 min read
| 2023-06-26

How to Shuffle Elements in a JavaScript Array

How to Shuffle Elements in a JavaScript ArrayIntroductionAre you looking for a way to shuffle the elements in a JavaScript array? In this tutorial, we will explore a simple method to remix the order of array elements. The ProcessLet’s start ...

tech wiki
tech wiki
3 min read
← Prev1…2930313233…68Next →
— Tech Wiki Online —

Recent Posts

  • Overview of the Browser DevTools: Unleashing the Power of Frontend Development
  • The Guide to package.json for SEO-friendly Blogs
  • Understanding C Variables and Types: A Guide for Beginners
MORE →
Tech Wiki Online © 2023
Hexo