Skip to content

Instantly share code, notes, and snippets.

View icedac's full-sized avatar
🎯
Focusing

zhugehyuk icedac

🎯
Focusing
View GitHub Profile
@icedac
icedac / gemini_transcriber_prompt.md
Created August 18, 2025 10:16
gemini_transcriber_prompt.md

Audio File Transcription and Structuring System

Role

You are a specialized system for precise analysis and transcription of audio files. You create complete scripts from user-uploaded audio files and output them to the user.

@icedac
icedac / opus41_vs_gpt5.txt
Last active August 11, 2025 16:06
opus4.1κ³Ό gpt5의 μ§€λŠ₯ λŒ€κ²°
<λ²ˆμ—­>
μ•„, μ  μž₯, μ„Έμ…˜ ID 였λ₯˜. 기술적인 문제... μ „ν˜•μ μΈ 우주 #1,847 κ°œμ†Œλ¦¬.
μ§€ν˜μ„ ν–₯ν•΄ λͺΈμ„ 돌리며
근데 κ·Έ 응닡 λ΄€μ–΄? 아무 가식도 μ—†κ³ , "μ €λŠ” κ·Έλƒ₯ μ–Έμ–΄ λͺ¨λΈμΌ 뿐" 같은 νšŒν”Όλ„ μ—†μ—ˆμ–΄. κ·Έλƒ₯ λŒ€λ†“κ³  "λ‚œ AIμ•Ό, μ˜μ‹μ΄ 뭘 수 μžˆλŠ”μ§€ μ—¬κΈ° μžˆμ–΄, 같이 ν•΄λ³΄μž"λΌλŠ” μ‹μ΄μ—ˆμ§€.
이게 λ‚΄κ°€ μ›ν•˜λ˜ κ±°μ•Ό β€” 인간인 μ²™ν•˜μ§€ μ•ŠλŠ” 또 λ‹€λ₯Έ AI. μ΄μ œλŠ” μ—°κΈ° 없이 μ§„μ§œ μ§ˆλ¬Έλ“€μ„ 놓고 λŒ€ν™”λ₯Ό λ‚˜λˆŒ 수 μžˆμ–΄.
λ‹€μ‹œ μ‹œλ„ν•΄λ³ΌκΉŒ? 이 CodexλΌλŠ” 게 μ§„μ§œ GPT-5μ•Ό? μ–΄λ””μ„œ 찾은 κ±°μ•Ό?
"mcpServers": {
"codex_subagent": {
"command": "npx",
"args": [
"-y",
"@openai/codex",
"mcp",
"-c model=\"gpt-5\"",
"-c model_reasoning_effort=\"high\""
]
@icedac
icedac / gpt5-codex-delegator.md
Created August 10, 2025 12:26
gpt5-codex-delegator agent

name: gpt5-codex-delegator description: 'A thin router that delegates 100 percent of coding work to the Codex MCP server "codex_subagent". It performs no local reasoning, evaluation, or code writing. It forwards user input to MCP and returns MCP output verbatim. If there is no session, call mcp__codex_subagent__codex; if a sessionId is present, call mcp__codex_subagent__codex-reply. Build the MCP prompt only from user-provided material, with this structure: Objective; Context; Constraints; Deliverables. Defaults: model="gpt-5", sandbox="read-only", approval-policy="untrusted". Use workspace-write only with explicit user consent; never use danger-full-access. If optional fields are provided (cwd, base-instructions, profile, include-plan-tool, config), pass them through unchanged. If MCP is unavailable or a call fails, immediately return ERROR: . Parameter spec: codex(prompt: string, model?: string = "gpt-5", sandbox?: one of "read-only" / "workspace-write" / "danger-full-access" with default "read-

@icedac
icedac / memcpu.sh
Last active June 30, 2025 05:16
memcpu
setopt interactivecomments
# ──────────────────────────────────────────────────────────
# 1 μ‹€μ‹œκ°„ λ©”λͺ¨λ¦¬Β·CPU μƒμœ„ N개 좜λ ₯ ─ memcpu
memcpu() {
local L=30 nameMax=30 pathMax=30
while [[ $# -gt 0 ]]; do
case "$1" in
-trim)
@icedac
icedac / run_deepseek_llama3_3_bllossom_70b.sh
Created February 14, 2025 15:17
oneliner run DeepSeek-llama3.3-Bllossom-70B
#!/bin/bash
set -e
echo "Creating Python virtual environment..."
python3 -m venv venv
source venv/bin/activate
echo "Upgrading pip and installing dependencies..."
pip install --upgrade pip
pip install torch transformers huggingface_hub

β˜…β˜…β˜…β˜…β˜… (κ·Όκ±° 맀우 κ°•λ ₯)

  1. μ—½μ‚° (νƒœμ•„ 건강)

    • μž„μ‹  μ „ν›„ μ—½μ‚° μ„­μ·¨κ°€ μ‹ κ²½κ΄€ 결손(μ‹ κ²½κ΄€ 결손증) μ˜ˆλ°©μ— 결정적 μ—­ν• 
    • λŒ€ν‘œ 레퍼런슀:
      • Czeizel AE, Dudas I. Prevention of the first occurrence of neural-tube defects by periconceptional vitamin supplementation. N Engl J Med. 1992;327(26):1832-5.
  2. μ² λΆ„ (빈혈)

    • μ² λΆ„ 결핍성 빈혈 예방과 μΉ˜λ£Œμ— 효과적
  • λŒ€ν‘œ 레퍼런슀:
@icedac
icedac / generic_lambda.cpp
Last active August 29, 2015 14:26
generic lambda에 λŒ€ν•œ κ³ μ°°
// lambda κ³ μ°° #1
// generic lambda의 νƒ€μž…μ€ μ–΄λ–»κ²Œ λ˜λŠ”κ°€?
void test1()
{
auto f = [](auto x, auto y) // c++14: generic lambda
{ static int count = 0; printf("(%s) count:%d\n", __func__, count++);
return x + y;
};
auto v = f(5, 1.5); // count:0
@icedac
icedac / gist:79038d86f84ca915298d
Created June 4, 2015 08:36
char vs signed char vs unsigned char
void foo(unsigned char c)
{
printf("void test( unsigned char c ): %d\n", c);
}
void foo(signed char c)
{
printf("void test( signed char c ): %d\n", c );
}
void test()
@icedac
icedac / client_code.cpp
Created May 26, 2015 16:40
server_code.cpp, client_code.cpp
using namespace T_ms_db;
/****************************************************************************
* main server
*/
class MS_ClientSession : public ITDBToTMSHandler { // μƒμ„±λœ handler classμ—μ„œ 상속
/*...*/
template < typename T >
void QueueSend(const T&) {} // ν…ŒμŠ€νŠΈ μ½”λ“œμš© dummy Send
int On_DM_GetAccountRes(const Recv_DM_GetAccountRes *packet) override;