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

Archives

Total: 3400

| 2023-06-26

CSS Grid Tutorial - The Future of Web Layouts

CSS Grid Tutorial - The Future of Web Layoutstags:web development, CSS Grid, layouts CSS Grid is the new groundbreaking technology for building layouts using CSS. Although not fully supported by all browsers yet, it is expected to be the fu ...

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

How to Install a Local SSL Certificate in macOS

How to Install a Local SSL Certificate in macOSIf you’re encountering issues with your app when trying to access it using HTTPS and receiving a warning even though you have created a local certificate, it’s likely because the browser doesn’ ...

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

Understanding npm dependencies and devDependencies

Understanding npm dependencies and devDependenciesWhen working with npm packages, it’s important to understand the difference between dependencies and devDependencies. Knowing when to classify a package as a dependency or a dev dependency w ...

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

Python Booleans: Understanding and Using Boolean Values in Python

Python Booleans: Understanding and Using Boolean Values in PythonPython has a built-in data type called “bool” that represents boolean values. A boolean value can have one of two possible states: True or False (both capitalized). For exampl ...

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

Understanding JavaScript Comparison Operators

Understanding JavaScript Comparison OperatorsIn JavaScript, comparison operators are used to compare two values and determine their relationship. These operators return a boolean value, either true or false, based on the comparison result. ...

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

Managing Cookies with Express: A Complete Guide

Managing Cookies with Express: A Complete GuideIn this blog post, we will explore how to effectively manage cookies using the Response.cookie() method in Express. Cookies are small pieces of data that are stored on the client-side and are c ...

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

Building an SEO Friendly Command Line App with Go: lolcat

Building an SEO Friendly Command Line App with Go: lolcatDo you enjoy working with Command Line Interface (CLI) applications? If so, then you’re going to love this tutorial on building a CLI app with Go called lolcat. While searching for so ...

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

Exploring the JavaScript includes() Method

Exploring the JavaScript includes() MethodIn JavaScript, the includes() method can be used to determine whether a string contains a specific value as a substring. The method returns a boolean value, true if the string includes the specified ...

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

React Higher Order Components: Creating Reusable and Composable Code

React Higher Order Components: Creating Reusable and Composable CodeIn the world of JavaScript programming, you might be familiar with Higher Order Functions that accept functions as arguments and/or return functions. React takes this ...

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

How to Remove a Property from a JavaScript Object

How to Remove a Property from a JavaScript ObjectDeleting a property from a JavaScript object can be done using the delete keyword. Alternatively, you can set the property to undefined. This article discusses these options and provides a su ...

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

Interacting with the Google Analytics API using Node.js

Interacting with the Google Analytics API using Node.jsLearn how to interface a Node.js application with the Google Analytics API by using the official googleapis package. In this blog, we will use a JSON Web Token for authentication and pr ...

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

How to Reference a DOM Element in React

How to Reference a DOM Element in ReactLearn the best way to reference a DOM element in React React is an excellent framework for abstracting the DOM when building applications. However, there may be situations where you need to access the ...

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

JavaScript Operators: Understanding and Using Them for Complex Expressions

JavaScript Operators: Understanding and Using Them for Complex ExpressionsJavaScript operators are essential elements that allow developers to work with simple expressions and combine them to form more complex expressions. By using various ...

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

Understanding JavaScript Types: A Guide for Developers

Understanding JavaScript Types: A Guide for DevelopersJavaScript is often said to be untyped, but that’s not entirely accurate. While it is true that JavaScript allows you to assign different types of values to variables, it does have types ...

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

The toString() Method in JavaScript Strings

The toString() Method in JavaScript StringsIn this blog post, we will explore the toString() method in JavaScript strings. This method allows us to obtain the string representation of a String object. UsageThe toString() method is invoked o ...

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

Choosing between Vue and React: A Comparison

Choosing between Vue and React: A ComparisonMany developers often find themselves torn between choosing Vue.js or React for their projects. As a senior developer with experience in both frameworks, I am here to provide my insights and help ...

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

How to Iterate Over Object Properties in JavaScript

How to Iterate Over Object Properties in JavaScriptIterating over an object’s properties is a common task in JavaScript. However, you can’t simply use methods like map(), forEach(), or a for..of loop to iterate over an object. Attempting to ...

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

Electronics Basics: Understanding Analog and Digital

Electronics Basics: Understanding Analog and DigitalIn the world of electronics, there are two major divisions: analog and digital. Understanding the difference between these two is essential in grasping the fundamentals of electronic syste ...

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

Building a Digital Thermometer Using Arduino

Building a Digital Thermometer Using ArduinoIn this project, we will combine two components: the 1602 LCD Display and the DHT11 temperature and humidity sensor to create a functional digital thermometer. To get started, make sure to read th ...

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

Introduction to Remix: A New React-Based Framework

Introduction to Remix: A New React-Based FrameworkIn this blog post, I want to introduce you to Remix, a new React-based framework that has recently reached version 1.0. Remix offers some unique features that make it an interesting alternat ...

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

Python Network Requests: A Comprehensive Guide

Python Network Requests: A Comprehensive GuideIn Python, the urllib standard library package provides a convenient way to create network requests. Let’s explore how to use it effectively. To start, let’s create a basic network request: 1234 ...

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

How to Use Exceptions in PHP

How to Use Exceptions in PHPErrors can occur unexpectedly in our code, but by using exceptions in PHP, we can handle them in a more controlled manner. Exceptions allow us to intercept errors and take appropriate actions, such as displaying ...

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

Create Security for Your Future: Becoming Your Own Boss

Create Security for Your Future: Becoming Your Own BossGone are the days when being an employee guaranteed job security. Working for someone else means you are at the mercy of their decisions. Imagine dedicating 40 to 60 hours a week to a j ...

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

How to Use JavaScript to Redirect to a New URL

How to Use JavaScript to Redirect to a New URLIn this blog post, I will guide you through the process of redirecting to a new URL using JavaScript. Specifically, I will address a use case where you want to track the number of people who sub ...

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

JavaScript Recursion: Solving Problems in a Neat Way

JavaScript Recursion: Solving Problems in a Neat WayIn JavaScript, recursion refers to the ability of a function to call itself. This powerful concept allows us to solve problems in a clean and efficient way. To implement recursion, you nee ...

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

Introduction to Docker: Revolutionizing Application Deployment and Distribution

Introduction to Docker: Revolutionizing Application Deployment and DistributionDocker has emerged as a game-changing tool for deploying and distributing applications. It has gained significant popularity among developers and possessing Dock ...

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

Python, Accepting Input

Python, Accepting InputWhen developing a command line application in Python, it is important to be able to display information to the user as well as accept input from them. This can be achieved using the print() function to display informa ...

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

Arduino project: Using the map() function for value scaling

Arduino project: Using the map() function for value scalingWhen working with analog input pins on an Arduino, the acquired values are typically in the range of 0 to 1023. This is because the analog read resolution is 10 bits, resulting in a ...

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

How I Overcame RSI (Repetitive Strain Injury)

How I Overcame RSI (Repetitive Strain Injury) Disclaimer: I am not a doctor. The following is my personal experience and should not be taken as medical advice. What worked for me may not work for everyone. A few years ago, I went through a ...

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

The Cache API Guide: A Powerful Resource Caching Tool

The Cache API Guide: A Powerful Resource Caching ToolThe Cache API, which is part of the Service Worker specification, provides developers with more control over resource caching. It allows you to cache URL-addressable resources such as ass ...

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

Getting year-month-date from JS dates

Getting year-month-date from JS datesIf you ever find yourself in a situation where you need to extract only the year, month, and day from a JavaScript date object, here’s a simple solution. Let’s say you want today’s date in the following ...

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

How to Install Pygame Zero on macOS

How to Install Pygame Zero on macOSA few months ago, I purchased a book called Code the Classics from Raspberry Pi Press. This fantastic book explores various classic games like Sensible Soccer and Centipede. Moreover, it guides readers on ...

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

How to Resolve the Homebrew Error \"Permission Denied @ apply2files\"

How to Resolve the Homebrew Error “Permission Denied @ apply2files”When upgrading my Node.js installation on macOS using Homebrew, I encountered a problem. After running brew upgrade node, Homebrew automatically executed brew cleanup. Durin ...

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

How to Check if Two Dates are the Same Day in JavaScript

How to Check if Two Dates are the Same Day in JavaScriptAre you looking to determine if two date object instances in JavaScript refer to the same day? JavaScript doesn’t come with built-in functionality for this, but you can easily implemen ...

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

How to Use pm2 to Serve a Node.js App

How to Use pm2 to Serve a Node.js AppIn this tutorial, we will explore how to use pm2, a powerful process management tool for Linux, to run and manage a Node.js app on a DigitalOcean VPS. Additionally, we will set up pm2 to automatically up ...

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

React: How to Toggle Display of Different Components on Click

React: How to Toggle Display of Different Components on ClickIn React, it is common to want to display a different component when a button or link is clicked. This can be useful in scenarios like navigation menus, where you want to show dif ...

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

The Push API Guide: Improving Engagement with Push Notifications

The Push API Guide: Improving Engagement with Push NotificationsThe Push API is a powerful tool that allows web applications to receive messages pushed by a server, even when the app is not actively open in the browser or running on the dev ...

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

Exploring the typedef Keyword in C

Exploring the typedef Keyword in CIn this blog post, we will dive into the typedef keyword in C and understand its usage and benefits. The typedef keyword allows C developers to define new types based on existing ones. By using this keyword ...

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

The String valueOf() Method: Explained in Detail

The String valueOf() Method: Explained in DetailIn JavaScript, the valueOf() method in the String object is used to obtain the string representation of the current String object. It returns the string value of the object. Here is an example ...

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

Emmet Tutorial: Write HTML Faster with Emmet

Emmet Tutorial: Write HTML Faster with EmmetEmmet is an incredibly useful tool that allows you to write HTML at lightning speed. It’s like magic! Emmet has been around for years and there are plugins available for every editor out there. In ...

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

TypeScript Tutorial: Understanding the Key Concepts

TypeScript Tutorial: Understanding the Key ConceptsTags: TypeScript, JavaScript, programming languages, static types, interfaces, type inference, classes, accessors, abstract classes, interfaces, functions, enums, generics TypeScript has be ...

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

SwiftUI: Enhancing UI with the Label view

SwiftUI: Enhancing UI with the Label viewIn SwiftUI, the Label view is a powerful tool for enhancing the user interface of your app. It is commonly used in views like TabView to display both an icon and accompanying text. Creating a Label v ...

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

How to Format a Date in JavaScript

How to Format a Date in JavaScriptFormatting dates in JavaScript is a common task. There are several methods available to generate a string representation of a date object. Let’s explore the different options: Given a Date object: 1const da ...

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

How to Concatenate Strings in AppleScript

How to Concatenate Strings in AppleScriptIf you’re familiar with languages like JavaScript, Swift, or Python, you might be used to concatenating strings using the + operator. However, in AppleScript, you need to use the & operator inste ...

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

How to Use `await` in a Loop in JavaScript

How to Use await in a Loop in JavaScriptIn JavaScript, you can use the for..of loop to iterate over an array and await inside the loop. Here’s how you can do it: 12345678910111213141516171819const fun = (prop) => { return new Promi ...

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

Sorting an Array by Date Value in JavaScript

Sorting an Array by Date Value in JavaScriptLearn how to sort an array of items by date value in JavaScript. If you have an array of objects like the one below, which contains a set of date objects: 12345const activities = [ { title: & ...

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

How to Create an HTML Attribute Using Vanilla JavaScript

How to Create an HTML Attribute Using Vanilla JavaScriptIf you need to add an attribute to an HTML element in the DOM using vanilla JavaScript, there are a few steps you can follow. Let’s say you have already selected an element using query ...

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

Python List Comprehensions

Python List ComprehensionsList comprehensions provide a concise way to create lists in Python. They allow you to combine and transform elements from existing lists into a new list. Let’s consider an example where we have a list called numbe ...

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

How to avoid recording commands to history in Fish Shell

How to avoid recording commands to history in Fish ShellIn certain situations, you may need to run commands in the shell without having them saved in the shell history. If you are using Fish Shell, which happens to be my default shell, you ...

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

Node File Paths - Manipulating and Interacting with Paths in Node

Node File Paths - Manipulating and Interacting with Paths in NodeIn Node, working with file paths is essential for many applications. However, there are differences between file paths on different operating systems that must be taken into a ...

tech wiki
tech wiki
5 min read
← Prev12345…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