Dev

Pytrends 1: How to use Google Trend unofficially with Python

Overview Google Trends provides valuable insights into search trends and keyword popularity. However, Google doesn’t offer an official API for accessing this data. Fortunately, the Pytrends library enables us to access Google Trends data using Python. In this tutorial, we’ll walk you through the installation and setup of Pytrends, and demonstrate how to perform a simple search and interpret the results. Prerequisites To follow this tutorial, you should have: Python 3 installed Basic knowledge of Python programming Familiarity with using Python packages Installation To install Pytrends, simply use pip: ...

March 26, 2023 · 2 min · 326 words · Juhyun Lee
한국어 日本語 简体中文 Bahasa Indonesia Español Français Português Tiếng Việt 繁體中文
Dev

Deploying a Hugo Static Site to GitHub Pages with GitHub Actions

In this blog post, we will discuss how to deploy a Hugo static site to GitHub Pages using GitHub Actions. GitHub Actions is an automation feature provided by GitHub that allows you to create custom software development workflows directly in your GitHub repository. By using GitHub Actions, you can automate the process of building and deploying your Hugo static site to GitHub Pages with ease. Configuring GitHub Pages Settings Before you can successfully deploy your Hugo static site to GitHub Pages using GitHub Actions, you need to configure the GitHub Pages settings for your project. ...

March 25, 2023 · 3 min · 581 words · Juhyun Lee
한국어 日本語 简体中文 Bahasa Indonesia Español Français Português Tiếng Việt 繁體中文
Dev

Adding AdBlocker Detection to Your Hugo Blog with PaperMod Theme

In this blog post, we will learn how to add AdBlocker detection to your Hugo blog using the PaperMod theme. We will also include a simple warning message for users who have an ad-blocker enabled, encouraging them to disable it or whitelist your website. Overview Here’s a quick overview of the steps we will take: Create a custom CSS file to style the warning message. Create a JavaScript file to detect ad-blockers. Add a partial HTML file for the warning message. Extend the head and footer partials to include our new files. Step-by-step Guide 1. Create a custom CSS file Create a new file named custom_css.css under the assets/css/extended/ directory and paste the following CSS code: ...

March 24, 2023 · 2 min · 361 words · Juhyun Lee
한국어 日本語 简体中文 Bahasa Indonesia Español Français Português Tiếng Việt 繁體中文
Dev

Using NVM and Autoenv in Combination

In this blog post, we will learn how to use nvm (Node Version Manager) and autoenv together to manage Node.js versions and environment variables in your development workflow. This guide assumes you have already installed both nvm and autoenv on your system. Why use NVM and Autoenv together? nvm is a fantastic tool for managing multiple versions of Node.js on your system, allowing you to switch between them easily. autoenv simplifies the process of managing environment variables by automatically loading them from a .env file when you enter a directory. ...

March 23, 2023 · 2 min · 416 words · Juhyun Lee
한국어 日本語 简体中文 Bahasa Indonesia Español Français Português Tiếng Việt 繁體中文
Dev

How to Use jEnv and autoenv in Combination

In this blog post, we will discuss how to use jEnv and autoenv in combination to manage multiple Java versions and automatically set environment variables for your projects. This tutorial assumes that you have already installed jEnv and autoenv on your system. We will go over some working examples to demonstrate their usage. Overview of jEnv and autoenv jEnv jEnv is a command line tool that simplifies the management of multiple Java installations on your system. It allows you to switch between different Java versions easily, set a global or local version, and provides a convenient way to configure your environment. ...

March 22, 2023 · 3 min · 514 words · Juhyun Lee
한국어 日本語 简体中文 Bahasa Indonesia Español Français Português Tiếng Việt 繁體中文