Skip to content

Instantly share code, notes, and snippets.

View yosun's full-sized avatar
:octocat:
cal.permute.xyz

Yosun Chang yosun

:octocat:
cal.permute.xyz
View GitHub Profile
@yosun
yosun / frictionlog.md
Last active October 23, 2026 17:39
AMAZON FIRETV HACKATHON FRICTION LOG Please include specific task attempted, steps taken, expected vs. actual result, severity rating, workaround used, and actionable suggestion. Participants who submit friction logs score higher in judging (up to 10% bonus).

Friction 1 — Amazon IAP product submission

Task: Configure consumable digital credit packs for POPULI TV.

Steps: Prepared the Amazon product identifiers and mappings, entered the credit product in the developer console, and attempted to submit it.

Expected: Successful product submission or a detailed, actionable validation error.

Actual: The product was saved, but submission returned a generic error without sufficient explanation.

@yosun
yosun / icon-composer-in-xcode.md
Created May 25, 2026 16:20
None of the input catalogs contained a matching stickers icon set, app icon set, or icon stack named "AppIcon". XCode 26

Error: None of the input catalogs contained a matching stickers icon set, app icon set, or icon stack named "AppIcon".

Fix: name the file AppIcon and drag it to xcode file manager

@yosun
yosun / athens.gpx
Last active December 15, 2025 04:27
GPS Exchange File for XCode Location Simulation
<?xml version="1.0" encoding="UTF-8"?>
<gpx version="1.1" creator="Xcode" xmlns="http://www.topografix.com/GPX/1/1">
<wpt lat="37.971532" lon="23.725749">
<name>Acropolis, Athens</name>
</wpt>
</gpx>
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
@yosun
yosun / install.models.etc.default.py
Last active August 30, 2025 10:16
python ~/ComfyUI/_install.models.etc.py [path to workflow.json] <br> installs all missing models and lets you insert civitai key if needed <br> extract workflow from image using https://absurdity.ai/comfyui/image2workflowjson.html
import json
import os
import sys
import requests
MODELS_BASE_DIR = os.path.join("ComfyUI", "models")
def download_file(url, directory, filename, civitai_key=None, hf_token=None):
target_dir = os.path.join(MODELS_BASE_DIR, directory)
os.makedirs(target_dir, exist_ok=True)
# configure the docker repository
curl -fsSL https://nvidia.github.io/libnvidia-container/gpgkey | sudo gpg --dearmor -o /usr/share/keyrings/nvidia-container-toolkit-keyring.gpg \
&& curl -s -L https://nvidia.github.io/libnvidia-container/stable/deb/nvidia-container-toolkit.list | \
sed 's#deb https://#deb [signed-by=/usr/share/keyrings/nvidia-container-toolkit-keyring.gpg] https://#g' | \
sudo tee /etc/apt/sources.list.d/nvidia-container-toolkit.list
# update the repository
sudo apt-get update
# Install the NVIDIA Container Toolkit packages:
@yosun
yosun / VideoKitRecorder.cs
Created June 12, 2025 06:09
fix for editor recording test
/*
* VideoKit
* Copyright © 2024 Yusuf Olokoba. All Rights Reserved.
*/
#nullable enable
namespace VideoKit {
using System;
@yosun
yosun / MoGe2UnityMatching.cs
Created May 27, 2025 08:58
places image quad at position of MoGe glb in Unity https://github.com/microsoft/MoGe
using UnityEngine;
public class MoGe2UnityMatching : MonoBehaviour
{
public GameObject goTestMesh;
public Texture2D goTestImage;
public Material matImageQuadMaterial;
void Start()
using UnityEngine;
using OpenCVForUnity.CoreModule;
using OpenCVForUnity.ImgprocModule;
using OpenCVForUnity.UnityUtils;
using OpenCVForUnity.VideoioModule;
using System.Collections.Generic;
public class LowRankWebcam : MonoBehaviour
{
VideoCapture capture;