Dev

Using Autoenv: The Ultimate Shortcut to Environment Management

I. Overview Autoenv is a tool that makes it easy to manage your environment variables. With it, you can automatically set environment variables when you enter a directory, and unset them when you leave. This makes it a powerful tool for managing different environments for different projects, and automating repetitive tasks. In this article, we’ll cover how to install Autoenv on different platforms and some usage examples. II. Installation Mac Autoenv can be easily installed on macOS with Homebrew. First, ensure you have Homebrew installed. Then, run the following command: ...

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

Automating Workout Scheduling with Notion API

I. Introduction This development report aims to demonstrate how to use the Notion API to automate workout scheduling. Notion is an all-in-one productivity tool that allows users to create and organize databases, notes, tasks, and much more. The Notion API provides developers with programmatic access to Notion’s features, enabling the automation of various tasks. The code snippet provided showcases how to use the Notion API to create workout events in a database based on a predefined schedule. The script fetches the existing events within a specific date range and creates new events for the days that do not have any scheduled events. The workout schedule is defined in the days_of_week dictionary, which maps each day of the week to a workout name and a list of tags. ...

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