Skip to main content

KTDEVX

Basic GitHub Copilot Usage in VS Code

GitHub Copilot in Visual Studio Code (VS Code) can help you write, investigate, and modify code with AI assistance. This article explains how to set up GitHub Copilot in VS Code and try its basic features, including code completion and chat. Always review generated code and run tests when appropriate. # Prerequisites Prepare the following: VS Code A GitHub account A plan or free allowance that supports GitHub Copilot Use a recent version of VS Code when possible.

How to Configure GitHub Copilot Context Files

GitHub Copilot can use more than the file you have open or the code you are typing. It can also use instructions stored in your project when generating answers and changes. Keeping project rules in context files reduces the need to repeat the same explanation in every request. This article explains the main types of context files available in Visual Studio Code (VS Code) and how to configure them in a repository.

How to Create and Use Agent Skills in VS Code

Agent Skills let AI agents such as GitHub Copilot use additional procedures and decision criteria for specialized tasks. They make a repeatable workflow available for tasks such as investigation, editing, and testing. This article explains how to create a project Agent Skill in VS Code and use it in chat. The hands-on example creates a release-notes skill that drafts release notes from a repository’s changes. # Prerequisites Prepare the following:

What Is GitHub Copilot?

GitHub Copilot is a service that uses AI to support software development. It improves developers’ productivity by suggesting code as they type and answering questions in natural language. This article explains what GitHub Copilot is, what it can do, and what to keep in mind when using it. # What Is GitHub Copilot? GitHub Copilot is an AI coding assistant that generates code suggestions based on the context of the code and comments written by the developer.

Build a WordPress Server on Debian

# Install the Packages Install the packages required to build a WordPress server. First update the package list, then install the required packages. sudo apt update sudo apt install -y wordpress curl apache2 mariadb-server Installed packages: wordpress: WordPress application and files, including PHP files and templates curl: Tool for downloading files from the web and sending API requests apache2: Web server software that runs WordPress PHP files and displays them in a browser mariadb-server: Database server that stores WordPress posts, user information, and other data The -y flag automatically answers yes to confirmation prompts during installation.

Automatically Update Onamae.com DNS Records from OpenWrt Using DDNS

# Introduction The Onamae.com Dynamic DNS (DDNS) client supports only Windows. However, using ddns-scripts-onamae, you can update Onamae.com DNS records from a router running OpenWrt. ddns-scripts-onamae is a submodule of the ddns-scripts package, which supports DDNS management on OpenWrt. It provides a function for automatically updating DNS records for Onamae.com, a widely used domain registrar in Japan. This allows you to keep a hostname registered with Onamae.com synchronized with the latest IP address using an OpenWrt router, even when your internet connection does not have a static IP address.

Build a VPN Server on OpenWrt with WireGuard for Remote Access to Your Home Network

This article explains how to build a VPN server using WireGuard on a router running OpenWrt and securely access your home network while away from home. WireGuard is a lightweight, fast, and secure VPN protocol that makes it easy to build a VPN environment at home. # Install the Package Log in to the OpenWrt web management interface (LuCI) and install luci-proto-wireguard. This also installs required packages such as wireguard-tools.

Build an OpenVPN Server on OpenWrt for Remote Access to Your Home Network

OpenVPN is an open-source VPN technology that provides an encrypted VPN tunnel and secure access to your home network while away. This article explains how to build an OpenVPN server on an OpenWrt router and connect multiple clients. Audience: Users with OpenWrt installed and SSH access Prerequisites: OpenWrt installation, administrator access, and basic terminal/SSH knowledge # Environment Item Value OS OpenWrt 24.10.0 or later VPN protocol OpenVPN UDP 1194 VPN network 10.

Build a File Server with Samba

In this article, we use Samba to build a file server that can be accessed from Windows. # Introduction For the server hardware, GMKtec’s NucBox M5 Plus was selected. リンク Since Debian is installed on the mini PC, Samba is installed there to build the file server. When installing Debian from scratch, also see Install Debian. # Install Samba Install Samba with apt. sudo apt install samba The Samba installation is complete.

Set a Static IP Address on Debian

When using Debian as a server operating system, you may need to configure it so that its IP address does not change. This article explains how to set a static IP address on Debian. # Check the Network Interface Information Enter ip a to check the network interface information. kaito@file:~$ ip a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.