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

Archives

Total: 3400

| 2023-06-26

Linux commands: ps

Linux commands: psA comprehensive guide to using the ps command in Linux to list and manage running processes. At any given time, your computer is running numerous processes. To inspect and manage these processes, the ps command comes in ha ...

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

JavaScript Algorithms: Bubble Sort

JavaScript Algorithms: Bubble SortBubble sort is a simple sorting algorithm with an inefficient worst-case time complexity of O(n^2). However, it is still worth learning about the algorithm. Bubble sort works by looping through an array an ...

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

How to Redirect to Another Web Page Using JavaScript

How to Redirect to Another Web Page Using JavaScriptIn JavaScript, there are multiple ways to redirect the user to a different web page. In this blog, we will explore the canonical way to achieve this and discuss other options available usi ...

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

The Node Event Emitter: Working with Custom Events in Node

The Node Event Emitter: Working with Custom Events in NodeIf you have experience working with JavaScript in the browser, you know how important events are for handling user interactions such as mouse clicks, keyboard button presses, and mou ...

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

How to Rearrange Code Blocks with React and Tailwind CSS

How to Rearrange Code Blocks with React and Tailwind CSSWhen developing a Next.js website, you may encounter the need to rearrange a React component within your markup based on the screen size. In my case, I wanted to position a Sidebar com ...

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

How to Copy Inner Object Properties to the Outer Object

How to Copy Inner Object Properties to the Outer ObjectProblem: Moving Inner Object Properties to the Outer ObjectIn some cases, you may encounter a situation where an object contains its actual data within another object assigned to a spec ...

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

Using Johnny Five to Receive Input from an Electronic Device

Using Johnny Five to Receive Input from an Electronic Devicetags: [“Johnny Five”, “Node.js”, “water level sensor”] This blog post is part of the Johnny Five series. If you haven’t read the first post yet, you can find it here. In this post, ...

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

How to check if a string contains a substring in JavaScript

How to check if a string contains a substring in JavaScriptChecking if a string contains a substring is a common task in JavaScript programming. In this blog, we will explore different ways to accomplish this and find the best approach to u ...

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

Optimizing Network Data Fetching in Astro

Optimizing Network Data Fetching in AstroOne of the inherent advantages of Astro is its flexible frontmatter feature. Using frontmatter, we can execute JavaScript code, making it exceptionally convenient for fetching data during the build p ...

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

How to Slugify a String in JavaScript

How to Slugify a String in JavaScriptIn this blog post, we will discuss how to slugify a string in JavaScript. Slugifying means creating a URL-friendly version of a string by removing any special characters, spaces, and converting it to low ...

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

Linux Commands: Understanding the `type` Command

Linux Commands: Understanding the type CommandIn the world of Linux commands, the type command plays a crucial role in determining the nature of a command. It helps identify whether a command is an executable, a shell built-in program, a sh ...

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

Understanding the package-lock.json File

Understanding the package-lock.json FileThe package-lock.json file is generated automatically during the installation of node packages. In version 5, npm introduced this file alongside the commonly known package.json file. The purpose of th ...

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

How to Update All npm Packages in Multiple Projects Situated in Subfolders

How to Update All npm Packages in Multiple Projects Situated in SubfoldersIn this blog post, I will guide you on how to update all npm packages in multiple projects that are located within subfolders. Updating packages is an essential task ...

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

How to Create an IAM User in AWS: A Step-by-Step Guide

How to Create an IAM User in AWS: A Step-by-Step GuideIn this tutorial, we will walk you through the process of creating a user with programmatic access in AWS using the IAM (Identity and Access Management) panel. By following these steps, ...

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

Getting the Current File Name in Hugo without .md Extension

Getting the Current File Name in Hugo without .md ExtensionIn Hugo, there may be situations where you need to retrieve the current file name without the “.md” extension. This can be useful when you want to display or manipulate the file nam ...

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

A Guide to JavaScript Generators for Improved Code Efficiency

A Guide to JavaScript Generators for Improved Code EfficiencyGenerators in JavaScript are a valuable tool for creating functions that can be paused and resumed, allowing other code to execute in the meantime. By incorporating the keyword “y ...

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

Migrating a Basic Site to Astro

Migrating a Basic Site to AstroIn this blog post, I will walk you through the process of moving a website from Hugo to Astro, a simpler solution that eliminates the need to work with Hugo templates when making changes. I find Astro to be a ...

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

The Importance of Business Skills for Developers: Unlocking New Opportunities

The Importance of Business Skills for Developers: Unlocking New OpportunitiesAs a developer, it’s easy to get caught up in the technical side of things and overlook the importance of business knowledge. Many developers I know have little to ...

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

How to Utilize npm Packages in Netlify Functions

How to Utilize npm Packages in Netlify FunctionsTo incorporate npm packages into your Netlify Functions, follow these steps: Start by creating a package.json file in the root folder of your project: 1npm init -y Afterward, install the n ...

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

The Document Object Model (DOM): A Guide for Developers

The Document Object Model (DOM): A Guide for DevelopersThe Document Object Model (DOM) is a representation of an HTML document in nodes and objects. It is the browser’s internal structure that allows developers to interact with and manipula ...

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

How I Solved the Trailing Slash Issue in Netlify Rewrites

How I Solved the Trailing Slash Issue in Netlify RewritesNetlify’s rewrite feature is incredibly useful for creating duplicate pages on my websites. By adding rules to the _redirects file in the project’s public root, I can easily create di ...

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

Van Life: Where to Go with Your Van

Van Life: Where to Go with Your VanWhen it comes to van life, deciding where to go can be both exciting and challenging. There are two important aspects to consider: where you want to go and where you can go. In this blog, we will explore b ...

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

Clearing the Terminal in VS Code

Clearing the Terminal in VS CodeWhen using VS Code as your development environment, you may encounter situations where you need to clear the terminal. While the commonly used cmd-k key combination typically clears the terminal in other appl ...

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

Upgrading the Solar Panel on My Van: Increased Power and Efficiency

Upgrading the Solar Panel on My Van: Increased Power and EfficiencyWhen it comes to being on the road in a van or motorhome, having enough electrical power is crucial. Whether you’re off-grid or away from a power source, the need to recharg ...

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

Debugging Python: A Guide to Improve Your Coding Experience

Debugging Python: A Guide to Improve Your Coding ExperienceDebugging is an essential skill for programmers to overcome challenging situations and improve code efficiency. In Python, the built-in debugger pdb is available in the standard lib ...

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

Retrieving Entries in a Notion Database Using the Notion API

Retrieving Entries in a Notion Database Using the Notion APIIf you’re looking to retrieve all the entries from a Notion database using the official Notion API, here’s how you can do it. Obtaining the Notion Instance ReferenceFirst, you’ll n ...

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

React PropTypes: Enforcing Type Checking for Props

React PropTypes: Enforcing Type Checking for PropsWhen working with JavaScript, enforcing the type of a variable at compile time can be challenging because of its dynamic nature. Passing invalid types can lead to runtime errors or unexpecte ...

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

What is the Best JavaScript Course for Web Developers?

What is the Best JavaScript Course for Web Developers?In today’s world of web development, having a strong understanding of JavaScript is essential. JavaScript lies at the heart of everything, from building interactive websites to creating ...

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

Should I include comments in my code?

Should I include comments in my code?Opinions on commenting code can vary widely, often leaving beginners unsure of how many comments to add and what to write in them. However, in my experience, it is important to include comments, but only ...

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

How to Play a Sound from the macOS Command Line

How to Play a Sound from the macOS Command LineIf you want to play a sound from the macOS command line, you can make use of the afplay command. Simply follow the steps below: Open the Terminal application on your Mac. Type the following co ...

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

Where does npm install the packages?

Where does npm install the packages?How to Find Out Where npm Installs the PackagesIf you’re new to npm and want to learn more about it, check out the npm guide which covers all the basics. When you install a package using npm (or yarn), th ...

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

Troubleshooting \"Too Many Redirects\" Error After Setting up SSL/TLS on Laravel Forge and Cloudflare DNS

Troubleshooting “Too Many Redirects” Error After Setting up SSL/TLS on Laravel Forge and Cloudflare DNSIf you encounter a “Too Many Redirects” error after setting up SSL/TLS on your Laravel Forge site with Cloudflare DNS, there is ...

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

How to Update a Git Branch from Another Branch: A Step-by-Step Guide

How to Update a Git Branch from Another Branch: A Step-by-Step GuideIn the world of Git, it’s common to work on different branches simultaneously. However, at times, you might find that one branch is not up to date with the changes made on ...

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

Understanding Electronics Basics: Vcc, Ground, and More

Understanding Electronics Basics: Vcc, Ground, and MoreIn the world of electronics, different terms are often used to refer to the same concept. It’s important to grasp these terms to build a solid foundation in electronics. One commonly m ...

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

The Object entries() Method: Explained and Utilized

The Object entries() Method: Explained and UtilizedThe entries() method of the JavaScript Object object is a powerful tool introduced in ES2017. It allows you to retrieve all the own properties of an object and returns them as an array of [ ...

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

CSS Filters: How to Manipulate Elements with the CSS `filter` Property

CSS Filters: How to Manipulate Elements with the CSS filter PropertyFilters are a powerful tool in CSS that allow you to perform various operations on elements, similar to what you can achieve with photo editing software like Photoshop. By ...

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

Arduino vs Raspberry Pi: A Comparison of Two Popular Platforms for Tinkering

Arduino vs Raspberry Pi: A Comparison of Two Popular Platforms for TinkeringI recently acquired an Arduino board to delve back into electronics after a hiatus of over 15 years. During my research, I discovered that two of the most prominent ...

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

How to Resolve the \"Unrecognized Command run-ios\" Error in React Native

How to Resolve the “Unrecognized Command run-ios” Error in React NativeIn this blog post, I will guide you on how to solve a common and confusing error that you may encounter when working with React Native. Specifically, I will walk you thr ...

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

Introduction to PostgreSQL: A Powerful and Versatile Relational Database Management System

Introduction to PostgreSQL: A Powerful and Versatile Relational Database Management SystemPostgreSQL, also known as Postgres, is a highly popular and robust SQL database management system (DBMS). Developed as an open-source software, it has ...

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

SEO Tips for Technical Bloggers

SEO Tips for Technical BloggersIf you’re a technical blogger, you may find yourself competing with numerous other posts on the same topic. While top sites like MDN, Google Developers, Smashing Magazine, and Stack Overflow dominate Google’s ...

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

Cross-component State Management in Svelte: How to Pass State Between Components

Cross-component State Management in Svelte: How to Pass State Between ComponentsIn Svelte, handling the state of a single component is straightforward. However, what about passing state between components? In this blog post, we’ll explore d ...

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

React Props: How to Pass Data Between Components

React Props: How to Pass Data Between ComponentsIn React, props are a way to pass data from a parent component to its child components. This allows you to share data and information throughout your application. In this blog post, I will exp ...

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

How to Disable Text Selection Using CSS

How to Disable Text Selection Using CSSLearn how to disable text selection on your webpage using the CSS property user-select to create a more app-like experience. By default, browsers allow users to select text on webpages using keyboard c ...

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

Introduction to JavaScript Arrays: A Key Building Block

Introduction to JavaScript Arrays: A Key Building BlockKeywords: JavaScript arrays, array literal syntax, array objects, multi-dimensional arrays, accessing array elements, initializing arrays, adding and removing items, joining arrays, fin ...

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

Memoization in JavaScript: Speeding up Your Applications

Memoization in JavaScript: Speeding up Your ApplicationsMemoization is a technique that allows you to significantly improve the performance of your JavaScript applications. While this technique is not unique to JavaScript, this article will ...

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

The ES2018 Guide: Features and Upgrades Explained

The ES2018 Guide: Features and Upgrades ExplainedECMAScript, often abbreviated as ES, serves as the standard on which JavaScript is based. The latest version of this standard is ES2018, also known as ES9. In this guide, we will explore the ...

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

Explaining JSON Web Tokens (JWT) for Enhanced Application Security

Explaining JSON Web Tokens (JWT) for Enhanced Application SecurityLearn the fundamentals of JSON Web Tokens (JWT) and discover how to effectively implement them in your applications. JSON Web Token (JWT) is a widely adopted standard for cre ...

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

CSS System Fonts: Improve Your Site's Speed and Performance

CSS System Fonts: Improve Your Site’s Speed and Performancetags: [“CSS”, “web development”, “typography”, “web fonts”, “system fonts”] A Brief HistoryIn the early days of web development, websites were limited to using only the fonts that w ...

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

Getting Started with Next.js: A Tutorial

Getting Started with Next.js: A TutorialNext.js is a popular Node.js framework that allows for easy server-side rendering of React applications and provides a range of other powerful features. In this tutorial, we will explore some of the m ...

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

Regular Expressions in Python: A Guide for Effective Searching, Replacing, and Extracting

Regular Expressions in Python: A Guide for Effective Searching, Replacing, and ExtractingRegular expressions can be a powerful tool for finding specific patterns within strings in Python. With the re module, which is part of the Python stan ...

tech wiki
tech wiki
8 min read
← Prev1…2122232425…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