Skip to content

Instantly share code, notes, and snippets.

View kyungw00k's full-sized avatar
👋

Kyungwook Park kyungw00k

👋
View GitHub Profile
@kyungw00k
kyungw00k / PRIVACY-public.md
Created September 5, 2026 02:15
Privacy Policy — XAI Chrome Extension

Privacy Policy — XAI Chrome Extension / 개인정보처리방침

Last updated: 2026-09-05

Data We Collect / 수집하는 데이터

Chat queries and attached page content / 채팅 질문 및 첨부 페이지 콘텐츠 When you send a question with page context enabled, the extension extracts the current page's URL, title, and body text, and sends them together with your question to the operator's internal AI server, solely to answer your question.

질문 시 페이지 컨텍스트가 켜져 있으면 현재 페이지의 URL·제목·본문 텍스트를 추출하여 질문과 함께 운영사의 사내 AI 서버로 전송합니다. 오직 질문 답변 목적으로만 사용됩니다.

@kyungw00k
kyungw00k / README.md
Last active July 8, 2024 03:52
A utility functions for encoding and decoding `Sec-Browsing-Topics` HTTP header values

SecBrowsingTopicsHeader Utility

This project provides a utility for encoding and decoding Sec-Browsing-Topics HTTP header values. It is based on the Topics API draft specification, which can be found here.

Overview

The SecBrowsingTopicsHeader object offers two primary functions:

  1. decode: Converts a Sec-Browsing-Topics header string into a list of BrowsingTopic objects.
@Echo Off
For /F "Skip=1 Delims=" %%A In ('WMIC Bios Get SerialNumber'
) Do For /F "Delims=" %%B In ("%%A") Do Call :RenPC %%B
Exit/B
:RenPC
set newName="%~1"
echo Modifying registry keys...
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ComputerName\ActiveComputerName" /v "ComputerName" /d "%newName%" -f
@kyungw00k
kyungw00k / Rename.ps1
Created June 22, 2021 08:05 — forked from timnew/Rename.ps1
Script to Rename Computer without Reboot
$ComputerName = "New Name"
Remove-ItemProperty -path "HKLM:\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters" -name "Hostname"
Remove-ItemProperty -path "HKLM:\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters" -name "NV Hostname"
Set-ItemProperty -path "HKLM:\SYSTEM\CurrentControlSet\Control\Computername\Computername" -name "Computername" -value $ComputerName
Set-ItemProperty -path "HKLM:\SYSTEM\CurrentControlSet\Control\Computername\ActiveComputername" -name "Computername" -value $ComputerName
Set-ItemProperty -path "HKLM:\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters" -name "Hostname" -value $ComputerName
Set-ItemProperty -path "HKLM:\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters" -name "NV Hostname" -value $ComputerName
Set-ItemProperty -path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon" -name "AltDefaultDomainName" -value $ComputerName
@kyungw00k
kyungw00k / is-private-mode.js
Created May 13, 2019 13:48 — forked from jherax/is-private-mode.js
Detect if the browser is running in Private mode
// uncomment if you are transpiling with Babel + Webpack
// const { window, document } = global;
/**
* Lightweight script to detect whether the browser is running in Private mode.
*
* You should use a polyfill for Promise.
* @see https://ourcodeworld.com/articles/read/316/top-5-best-javascript-promises-polyfills
*
* @returns {Promise}
@kyungw00k
kyungw00k / index.html
Created November 13, 2018 15:51
JS Bin RxJS 연습 // source https://jsbin.com/vudatux
<!DOCTYPE html>
<html>
<head>
<meta name="description" content="RxJS 연습">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>JS Bin</title>
</head>
<body>
<script src="https://cdnjs.cloudflare.com/ajax/libs/rxjs/6.3.3/rxjs.umd.js"></script>
@kyungw00k
kyungw00k / USAGE.md
Last active February 2, 2018 05:58
SafeFrame External API Wrapper

register

sfApi = sfExtAPI()

// register

sfApi.register(250, 250)
@kyungw00k
kyungw00k / sf-register-viewability-beacon.js
Last active December 27, 2017 10:27
Register viewability beacon using SafeFrame
/**
* register viewability beacon
*
* @param {number} adWidth - ad width
* @param {number} adHeight - ad height
* @param {string} vimpUrl - beacon url to be sent when ad is shown
* @param {object} options
* @param {number} [options.percent = 50] - in view percent
* @param {number} [options.duration = 1000] - in view duration
* @throws {Error} throws error if `SafeFrame` is not supported
@kyungw00k
kyungw00k / cloudSettings
Last active March 15, 2022 23:33
Visual Studio Code Settings Sync Gist
{"lastUpload":"2022-03-15T23:33:12.571Z","extensionVersion":"v3.4.3"}
@kyungw00k
kyungw00k / response.json
Last active August 14, 2017 06:02
Facebook Native Ad Response
{
"type": "ads",
"code": 0,
"placements": [
{
"definition": {
"placement_id": "310278599393096_320154578405498",
"type": "native",
"refresh": "0",
"refresh_threshold": "-1",