I want to keep these here

  • AMD vs Intel in AI: The Battle of the GPUs

    The world of artificial intelligence (AI) has seen a significant shift in recent years, with advancements in hardware and software technologies. Two major players in this arena are AMD and Intel, each vying for dominance in the AI chip market. In this blog post, we’ll delve into the latest developments and compare the performance of…


  • N8N Workflow on WordPress site

    function load_n8n_demo_scripts() { wp_enqueue_script( ‘webcomponents-loader’, ‘https://cdn.jsdelivr.net/npm/@webcomponents/webcomponentsjs@2.0.0/webcomponents-loader.js’, array(), null, true ); wp_enqueue_script( ‘lit-polyfill’, ‘https://www.unpkg.com/lit@2.0.0-rc.2/polyfill-support.js’, array(), null, true ); wp_enqueue_script( ‘n8n-demo’, ‘https://cdn.jsdelivr.net/npm/@n8n_io/n8n-demo-component/n8n-demo.bundled.js’, array(), null, true ); } add_action(‘wp_enqueue_scripts’, ‘load_n8n_demo_scripts’);


  • “Unlocking the Health Benefits of New Zealand’s Premium Manuka Honey: UMF Certification Explained”

    Title: The Health Benefits of Manuka Honey from New Zealand Manuka Honey, produced in New Zealand, is renowned for its unique health benefits. This monofloral honey, derived from the nectar of the mānuka tree (Leptospermum scoparium), boasts potent antimicrobial, anti-inflammatory, and antioxidant properties. Here are some of its key health benefits: -Soothes Coughs Naturally:** Manuka…


  • Claude Code: Enhancing Coding Efficiency with AI

    Claude Code: Revolutionizing Coding with AI Claude, developed by Anthropic, is an advanced AI model designed to assist with coding tasks. With its integration into JetBrains AI Assistant, developers can now leverage Claude’s capabilities to enhance their coding workflows. Here are some key features of Claude Code: Code Explanation and Refactoring: Claude can explain code…


  • array( $this, ‘process_admin_options’ )처럼 작성해야하는 이유는?

    phpCopyEditarray( $this, ‘process_admin_options’ ) 이렇게 작성해야 하는 이유는 객체 지향 프로그래밍에서 클래스의 메서드를 콜백으로 전달할 때 사용하는 올바른 방식이기 때문입니다. 아래에서 각 부분을 상세히 설명하겠습니다. 1. array( $this, ‘process_admin_options’ )의 의미 2. 왜 이렇게 해야 하는가? 3. 대안과 문제점 4. 결론 array( $this, ‘process_admin_options’ )는 현재 클래스의 인스턴스 메서드를 콜백으로 전달할 때 사용하는 표준적인 방법입니다.…


  • 왜 ‘woocommerce_update_options_shipping_’ . $this->id 이렇게 해야 할까? ‘woocommerce_update_options_shipping_. $this->id’ 로 쓰면 틀리나?

      ‘woocommerce_update_options_shipping_. $this->id’ 이렇게 쓰면 문법 오류가 발생합니다. 이 부분은 문자열 연결(string concatenation)과 관련된 것으로, PHP에서 올바른 문법을 사용해야 합니다. 1. 문법 차이 2. 예시 비교 3. 결론 . 연산자를 따옴표 바깥에 사용해야 $this->id 값을 포함한 동적인 문자열을 생성할 수 있습니다. 그렇지 않으면 PHP는 문자열을 그대로 해석하여, 변수를 포함한 문자열 결합이 이루어지지 않습니다. 따라서 ‘.’…


  • WordPress plugin 개발에서 add_filter와 add_action의 차이

    add_filter와 add_action은 WordPress에서 플러그인을 개발할 때 사용하는 두 가지 주요 함수입니다. 이 두 함수는 WordPress의 Hook 시스템의 일부로, 플러그인이나 테마가 WordPress의 기본 기능을 확장하거나 수정할 수 있도록 도와줍니다. 1. Hook 시스템 개요 2. add_action add_action 함수는 WordPress가 특정 Action Hook에서 실행될 때 사용자 정의 함수를 호출하도록 등록합니다. 이 함수는 주로 작업을 수행하는 데 사용됩니다. 사용…


  • Docker Compose로 업데이트

    Compose 사용 시: Docker Compose를 사용하는 경우 docker-compose.yml 파일을 업데이트한 후 실행합니다. # Pull latest version# Stop and remove older version# Start the container docker-compose downdocker-compose pulldocker-compose up -d    


  • 배송방법 추가 코드

    <?php /* Plugin Name: Custom Shipping Method Plugin URI: Description: WooCommerce Custom Shipping Method Version: 1.0 Author: Your Name */ if (!defined(‘ABSPATH’)) { exit; } function custom_shipping_method_init() { if (!class_exists(‘Custom_Shipping_Method’)) { class Custom_Shipping_Method extends WC_Shipping_Method { /** * Weight unit */ private $weight_unit; /** * Constructor for shipping class */ public function __construct($instance_id = 0)…


  • The 12.3 Emergency Martial Law in South Korea

    Introduction In December 2024, South Korea witnessed a significant political crisis with the declaration of emergency martial law by President Yoon Suk Yeol. This move, aimed at addressing perceived threats to the country’s democratic order, was met with widespread opposition and ultimately led to its swift reversal. In this blog post, we will delve into…


  • OCI Free Tier 상시 무료 서비스의 Docker 컨테이너에 WordPress 사이트 호스팅

    출처 : https://docs.oracle.com/ko/solutions/oci-free-wordpress-docker/install-and-configure1.html https://tyzen.net/2 설치 및 구성 OCI Free Tier 상시 무료 서비스의 Docker 컨테이너에 WordPress 사이트 호스팅 다음 단계에 따라 설치 및 구성을 완료합니다. Docker를 설치합니다. Docker는 WordPress를 설치 및 유지 관리하는 프로세스를 만듭니다. 이전에는 훨씬 더 쉽게 여러 소프트웨어를 필요로 합니다. MySQL를 설치합니다. WordPress를 설치하기 전에 데이터를 저장할 MySQL를 설치해야 합니다. WordPress를 설치합니다.…