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

Archives

Total: 3400

| 2023-06-26

The Importance of Having a Developer Blog: Reasons and Tips to Stay Consistent

The Importance of Having a Developer Blog: Reasons and Tips to Stay ConsistentHaving a developer blog can be incredibly beneficial for a number of reasons. In this post, we will explore why every developer should have a blog and how to main ...

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

A Beginner's Guide to the `history` Command in Linux

A Beginner’s Guide to the history Command in LinuxThe history command in Linux allows users to view their command line history, making it easy to recall and reuse past commands. Whether you’re a seasoned Linux user or just starting out, und ...

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

Linux Commands: du - A Quick Guide to Calculating File and Directory Space Usage

Linux Commands: du - A Quick Guide to Calculating File and Directory Space UsageThe du command is a powerful tool in Linux that allows you to determine the space usage of files and directories. By using this command, you can easily find out ...

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

Linux Command: `su`

Linux Command: suIn this blog post, we will explore the su command in Linux, which allows you to switch the shell to another user. This can be particularly useful when you need to perform certain tasks or access files associated with a diff ...

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

The Arduino Uno WiFi rev 2: A Powerful Microcontroller Board

The Arduino Uno WiFi rev 2: A Powerful Microcontroller BoardThe Arduino Uno is the go-to microcontroller board for many developers. As the reference version of Arduino, it sets the standard for performance and functionality. The latest offi ...

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

Tips for Effective Learning

Tips for Effective LearningAs developers and software engineers, continuous learning is an essential part of our lives. With the ever-evolving technology landscape, it’s crucial to learn new skills and stay up-to-date with the latest trends ...

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

How to Hide a File or Folder in macOS Finder

How to Hide a File or Folder in macOS FinderAs a macOS user, you may sometimes come across unnecessary system folders, such as the “Public” folder, in your home directory. Although you can’t delete these system folders, you can hide them fr ...

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

How to Resolve the TypeError: resolver is not a function Error in React

How to Resolve the TypeError: resolver is not a function Error in ReactWhile working on a Next.js/React application, you might come across a puzzling error message like this one: 1TypeError: resolver is not a function Fortunately, the ...

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

How to Transition from Tutorial Dependency to Active Problem Solving

How to Transition from Tutorial Dependency to Active Problem SolvingAt some point in your journey to learning a new skill or programming language, there comes a realization: You possess the knowledge necessary to embark on the project you ...

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

How to Ensure the Raspberry Pi Always Has the Same IP Address

How to Ensure the Raspberry Pi Always Has the Same IP Addresstags: [“Raspberry Pi”, “static IP address”, “DHCP”, “MAC address”, “network configuration”] In this guide, I will walk you through the process of configuring your router to assign ...

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

Linux commands: kill - A Quick Guide to Sending Signals to Processes

Linux commands: kill - A Quick Guide to Sending Signals to ProcessesIn the world of Linux, processes can receive signals and react to them. This is one way we can interact with running programs. The kill command is a powerful tool that allo ...

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

How to Make Your S3 Buckets Public

How to Make Your S3 Buckets PublicI recently wrote a tutorial on how to upload an image to S3, but I encountered an issue when the uploaded image couldn’t be accessed publicly in read mode. If you’re facing the same problem, don’t worry. I’ ...

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

Go Data Structures: Set

Go Data Structures: SetIn this technical blog, we will analyze and implement the Set data structure in Go programming language. A Set is a collection of values that allows various operations such as iteration, addition, removal, size retrie ...

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

How to Use the useRef React Hook

How to Use the useRef React HookDiscover the practical uses of the useRef React hook and learn how to effectively use it in your projects! If you’re new to React hooks, make sure to check out my React hooks introduction first. One of the us ...

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

How to Make Responsive JSX in React

How to Make Responsive JSX in ReactI recently had the need to create a responsive sidebar in React that appears differently on large screens compared to smaller screens. In order to achieve this, I wanted to find a way to detect changes in ...

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

Linux Commands: `nohup`

Linux Commands: nohupIn this blog post, we’ll explore the nohup command, which is used to run processes that continue even after the terminal is closed or the session is terminated. Whether you need to run a long-lived process on a remote m ...

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

The HTML `audio` tag

The HTML audio tagLearn the fundamentals of using the HTML audio tag The audio tag in HTML is used to embed audio content in web pages. It allows you to stream audio from sources like a microphone using getUserMedia() or play an audio file ...

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

The PEP8 Python Style Guide: Writing Code with Conventions

The PEP8 Python Style Guide: Writing Code with ConventionsWhen writing code, it is essential to follow the conventions of the programming language you are using. Adhering to these conventions not only helps you understand code written by ot ...

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

JavaScript Ternary Operator

JavaScript Ternary OperatorIn this blog, we will explore the fundamentals of the JavaScript Ternary Operator and understand how it can be used as a concise way to express conditionals. The ternary operator is a unique operator in JavaScript ...

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

Handling Null Values in SQL Databases

Handling Null Values in SQL DatabasesIn SQL databases, it is important to properly handle null values, which are empty or missing data. Here are some tips on how to handle null values effectively. When creating a table, you can define const ...

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

Understanding the Differences: event.stopPropagation(), event.preventDefault(), and return false

Understanding the Differences: event.stopPropagation(), event.preventDefault(), and return falseWhen it comes to handling DOM events in JavaScript, it’s common to get confused about when to use event.stopPropagation(), event.preventDefault( ...

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

The Importance of Immutability in React: Explained

The Importance of Immutability in React: ExplainedIn the world of React, immutability is a significant concept that plays a crucial role in the development process. Whether you agree with it or not, React and its ecosystem strongly encourag ...

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

How to Use Composer and Packagist in PHP

How to Use Composer and Packagist in PHPComposer is a PHP package manager that simplifies the process of installing packages into your projects. By using Composer, you can easily add libraries and dependencies to your PHP projects. In this ...

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

The setPrototypeOf() Method in JavaScript

The setPrototypeOf() Method in JavaScriptLearn all about the setPrototypeOf() method in the JavaScript Object object. Setting the prototype of an object is made possible with the setPrototypeOf() method. To dive deeper into JavaScript Proto ...

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

How to Simultaneously Push to 2 Repositories and Keep Them in Sync

How to Simultaneously Push to 2 Repositories and Keep Them in SyncIf you find yourself needing to have two GitHub repositories with identical content and want to effortlessly push your changes to both, I have a solution for you. Here’s what ...

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

Handling Promise Rejections: Best Practices

Handling Promise Rejections: Best PracticesPromises have greatly improved JavaScript in recent years, allowing us to handle asynchronous operations more efficiently. When working with functions that return promises, it’s important to know h ...

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

How to Resolve the Chrome Blue Noise/Lines Rendering Issue

How to Resolve the Chrome Blue Noise/Lines Rendering IssueToday, I encountered an unusual problem on my MacBook Pro 16” 2019 when I woke it from sleep. The Chrome browser displayed strange blue noise/lines on the screen, as shown ...

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

Diodes: An Overview of Electronic Components

Diodes: An Overview of Electronic ComponentsIn our previous discussion, we explored Light-Emitting Diodes, which emit light when sufficient current and voltage are applied. Now, let’s delve into the broader concept of diodes. A diode is a s ...

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

How to Use or Execute a Package Installed Using npm

How to Use or Execute a Package Installed Using npmLearn how to include and use a package that you have installed using npm into your Node.js code. When you install a package using npm, it gets saved into your node_modules folder. But how d ...

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

How to Rerender a Svelte Component On Demand

How to Rerender a Svelte Component On DemandToday, I want to share with you a solution to a problem I encountered recently: how to rerender a Svelte component on demand and, in particular, how to rerender it when I want to run a function pr ...

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

Introduction to create-react-app: The Easiest Way to Start a React Application

Introduction to create-react-app: The Easiest Way to Start a React ApplicationCreate-react-app is a powerful tool that allows developers to quickly start building React applications without having to deal with complex configurations. It pro ...

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

How to Deep Clone a JavaScript Object

How to Deep Clone a JavaScript ObjectWhen it comes to copying objects in JavaScript, it can get tricky, especially if you want to perform a deep clone. Deep cloning ensures that not only the primitive types like numbers and strings are copi ...

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

Understanding JavaScript Error Objects

Understanding JavaScript Error ObjectsJavaScript has 7 error objects that are raised in a try/catch expression, depending on the type of error. These error objects are: Error EvalError RangeError ReferenceError SyntaxError TypeError U ...

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

Arduino Project: Using the tone() Function for Buzzer Music

Arduino Project: Using the tone() Function for Buzzer MusicThe tone() function in Arduino is a useful tool for playing notes on passive buzzers. By combining multiple calls to the tone() function, we can create melodies and play songs. To ...

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

What is Serverless and Why Should You Care?

What is Serverless and Why Should You Care?Serverless is a term that refers to a specific way of running programs without the need to manage your own server. Instead, you create a function and store it on a cloud server, which gives you a U ...

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

Setting up Git SSH keys for secure authentication

Setting up Git SSH keys for secure authenticationWhen working with Git using the command line, the most common and secure way to handle authentication is through the use of SSH keys. This guide will walk you through the process of setting u ...

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

Python Tuples: An Introduction

Python Tuples: An IntroductionTuples are a fundamental data structure in Python that allow for the creation of immutable groups of objects. Once a tuple is created, its values cannot be modified, added, or removed. Tuples are created using ...

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

The Importance of Timing When Working with the DOM

The Importance of Timing When Working with the DOMWhen working with the DOM, it is important to understand the concept of timing. One crucial detail that may not be immediately apparent is that when you access the value of a DOM element and ...

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

How to Read Environment Variables from Node.js

How to Read Environment Variables from Node.jsLearn how to read and utilize environment variables in a Node.js program. Environment variables are incredibly valuable as they allow us to avoid hardcoding sensitive information, such as API ke ...

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

Quotes in JavaScript: An Overview

Quotes in JavaScript: An OverviewIn JavaScript, there are three types of quotes that can be used: single quotes, double quotes, and backticks. While single quotes and double quotes are essentially the same, there is a slight difference when ...

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

Understanding HTTP Cookies and Their Functionality

Understanding HTTP Cookies and Their FunctionalityHTTP cookies are a fundamental aspect of the Web that enable sessions and help recognize users during their browsing experience. IntroductionCookies allow the exchange of information between ...

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

Next.js: Troubleshooting Component State Not Refreshing on Navigation

Next.js: Troubleshooting Component State Not Refreshing on Navigationtags: [“Next.js”, “useState”, “useRouter”] I recently encountered an issue where the state of a component was not getting refreshed when navigating with the Next.js router ...

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

The UNIX Filesystem Commands

The UNIX Filesystem CommandsA concise guide to understanding and utilizing the UNIX filesystem commands in an efficient manner. Introduction This guide provides a comprehensive overview of the UNIX filesystem commands, with a focus on macOS ...

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

The Object create() Method: A Complete Guide

The Object create() Method: A Complete GuideLearn all about the create() method of the Object object in JavaScript. Introduced in ES5, the create() method is used to create a new object with a specified prototype. UsageTo use the create() m ...

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

How to Resolve a \"cb.apply is not a function\" Error in Gitbook

How to Resolve a “cb.apply is not a function” Error in GitbookI regularly use Gitbook, a Node.js software that converts a set of markdown files into an ebook. Recently, while trying to generate a PDF using the command gitbook pdf ., I encou ...

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

Arduino Project: Generating Sound with a Passive Buzzer

Arduino Project: Generating Sound with a Passive BuzzerIn this Arduino project, we will be using a passive buzzer to generate sound. Similar to the active buzzer example, you will need to connect the buzzer to the Arduino. The buzzer has a ...

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

Linux Command: uname

Linux Command: unameIn this blog post, we will explore the uname command and its various options, which are used to retrieve information about the current machine and the operating system running on it. By calling uname without any options, ...

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

How to Serve an HTML Page using Node.js

How to Serve an HTML Page using Node.jsLearn how to easily serve an HTML page using Node.js without any dependencies. Recently, I came across a requirement to serve an HTML page from a Node.js server. After some research, I found the simple ...

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

Working with Reactive Statements in Svelte

Working with Reactive Statements in SvelteLearn how to effectively use reactive statements in Svelte to listen for changes in component state and update other variables. In Svelte, you can easily track changes in component state and update ...

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

How to Detect Dark Mode Using JavaScript

How to Detect Dark Mode Using JavaScriptDetecting dark mode and mode changes using JavaScript CSS provides a way to detect dark mode using the prefers-color-scheme media query. But what if we need to use JavaScript? I recently encountered t ...

tech wiki
tech wiki
4 min read
← Prev1…1011121314…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