Latest Blog

What is GAINLIQ159LD?
June 30, 2023 | No Comments

It is a laundry detergent sold by Costco. Link Its item number is 3160644. The price is 19.99 (-4.00) in Jun 2023.

Read More

Simplifying Node.js Script Configuration with Command-Line Arguments
June 28, 2023 | No Comments

Introduction Configuring Node.js scripts can be made more flexible and user-friendly by utilizing command-line arguments. With the help of the yargs package, handling command-line parameters becomes a breeze. In this tutorial, we’ll explore how to enhance your Node.js scripts by adding command-line arguments for dynamic configuration. Example In your app.js file, you can easily implement […]

Read More

How to write a shopify app that can pull a merchant’s catalog data
June 23, 2023 | No Comments

To write a Shopify app that can pull a merchant’s catalog data, you can follow these general steps: Remember to refer to Shopify’s API documentation (https://shopify.dev/docs/admin-api) for detailed information on the available endpoints, data structures, and authentication processes.

Read More

How to interact with GCS using Python
June 17, 2023 | No Comments

To write data to a file in a Google Cloud Storage bucket using the Google Cloud Storage Python client library, you can use the following code: What does blob mean? In the context of Google Cloud Storage, a blob represents a data object stored in a bucket. It is the fundamental unit of data in […]

Read More

What is funcy.collecting in python?
June 8, 2023 | No Comments

In Python, funcy.collecting refers to a module provided by the Funcy library. Funcy is a functional programming library for Python that aims to enhance and simplify common programming tasks. The funcy.collecting module provides functions for working with collections, such as lists, dictionaries, and other iterable objects. It offers various utilities to collect, transform, and manipulate […]

Read More

In dbeaver, when I query PostgreSql, can I run queries like \l?
June 7, 2023 | No Comments

In DBeaver, you cannot directly run psql meta-commands, such as \l, as part of your SQL query. The \l command is specific to the psql command-line tool and is not recognized by DBeaver. However, you can achieve the same result in DBeaver by executing a regular SQL query against the PostgreSQL database information schema. The […]

Read More

How to Use ssh-add to Avoid Typing Passphrase Over and Over Again
June 7, 2023 | No Comments

To avoid typing passphrase for a specific key over and over again, like when git pull from github, can use this command It will store the key as long as the session is live. Using ps command, we can see the process of /usr/bin/ssh-agent, the ssh-agent will handle passphrase for us.

Read More

Can redis handle batch hourly write and frequent read?
May 24, 2023 | No Comments

Redis is an in-memory data store that is known for its fast read and write performance. While it can handle frequent reads efficiently, it may not be the optimal choice for batch hourly writes due to its design characteristics. Redis is primarily optimized for low-latency operations and real-time data processing. It excels at handling small, […]

Read More

GCP counterpart for DynamoDB
May 24, 2023 | No Comments

GCP counterpart The counterpart for Amazon DynamoDB in Google Cloud Platform (GCP) is Google Cloud Bigtable. Both DynamoDB and Cloud Bigtable are NoSQL databases designed for handling large-scale, high-performance workloads. They provide key-value storage with automatic scaling and built-in fault tolerance. Cloud Bigtable is a fully managed, highly scalable NoSQL database service offered by GCP. […]

Read More

in python, how to escape “{” in formatted string like f”{something}”
May 24, 2023 | No Comments

In Python, you can escape the opening curly brace ‘{‘ in a formatted string by using double curly braces ‘{{‘ to represent a single curly brace. Here’s an example: Output: In the above example, {{ represents the escaped opening curly brace, {something} is the placeholder for the variable, and }} represents the closing curly brace. […]

Read More