Skip to content

Instantly share code, notes, and snippets.

View enghqii's full-sized avatar

Chanwoo enghqii

  • NEXON KOREA
  • South Korea
View GitHub Profile
@enghqii
enghqii / SKILL.md
Created May 1, 2026 15:31
pptx-font-normalizer
name pptx-font-normalizer
description Inspect and repair PowerPoint `.pptx` files that render the same font inconsistently because slide XML requests one face name while the embedded font table exposes another. Use when Codex needs to diagnose font fallback, compare requested faces against embedded faces, normalize exact face-name mismatches, or write a repaired copy of a presentation.

PPTX Font Normalizer

Treat a .pptx as an Open XML package. Verify what the slide XML actually requests before changing anything.

Quick Start

@enghqii
enghqii / README.md
Last active February 2, 2026 12:28
Amped.jar Decrypter

What this does

Loads amped.jar with the decompiled nkeel.jar loader and captures decoded class bytes via a Java agent, then writes a standard .class jar.

Required files

Download one of those single getamped zip files that includes the following:

  • amped.jar
  • keel_clazz.dll (32-bit)
  • 32-bit JRE6\
@enghqii
enghqii / oldfy.py
Created June 8, 2020 07:27
A python script that overwrites file creation time
#! /usr/bin/python
import os, sys
import platform
import time
# pip install pypiwin32
import pywintypes, win32file, win32con
@enghqii
enghqii / multiple_hole.geojson
Last active April 3, 2019 07:57
GeoJson with multiple holes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@enghqii
enghqii / redirect.js
Last active May 25, 2018 06:02
Redirect Reddit (grease monkey script)
// ==UserScript==
// @name Redirect Reddit
// @version 1
// @grant none
// @include http://www.reddit.com/*
// @include https://www.reddit.com/*
// ==/UserScript==
console.log("redirecting");
@enghqii
enghqii / main.lua
Created May 7, 2017 16:25
The art of computer programming vol.1 coroutine example in lua (3 passes)
INPUT = "A2B5E3426FG0ZYW3210PQ89R."
-- Registers
CH = nil
NUM = nil
COUNTER = 0
READ_INDEX = 1
WRITE_INDEX = 1
@enghqii
enghqii / fb_sanitizer.js
Created March 4, 2017 13:20
Facebook newsfeed sanitizer
// ==UserScript==
// @name fb_sanitizer
// @namespace enghqii
// @description make clean facebook newsfeed
// @include https://www.facebook.com/
// @version 1
// @grant none
// ==/UserScript==
function sanitize() {
@enghqii
enghqii / ParallaxMappingShader.shader
Created September 30, 2016 13:54
Parallax mapping unity custom shader
Shader "Custom/ParallaxMapShader" {
Properties{
_Color("Color", Color) = (1,1,1,1)
_LightColor("LightColor", Color) = (1,1,1,1)
_MainTex("Albedo (RGB)", 2D) = "white" {}
_ParallaxMap("_ParallaxMap (RGB)", 2D) = "white" {}
_NormalMap("NormalMap", 2D) = "white" {}
_MainLightPosition("MainLightPosition", Vector) = (0,0,0,0)
_HeightScale("height scale", Float) = 0.01
}
@enghqii
enghqii / main.lua
Created August 30, 2016 10:26
Lua Coroutine Example
queue = {}
queue_max = 100
producer = coroutine.create(function ()
while #queue < queue_max do
local item = "Hello! "..#queue
table.insert(queue, item)
-- print(item .. " inserted")
end
@enghqii
enghqii / Program.cs
Created August 29, 2016 18:15
C# Coroutine example
using System;
using System.Collections;
using System.Collections.Generic;
namespace Generator3
{
class Program
{
// classic Generator
static IEnumerable<string> Script()