Skip to content

Instantly share code, notes, and snippets.

View pgmrDohan's full-sized avatar

Dohan pgmrDohan

View GitHub Profile
@pgmrDohan
pgmrDohan / autounattend.xml
Last active December 31, 2022 05:49
Windows 11 Answer File for x64
<?xml version="1.0" encoding="utf-8"?>
<unattend
xmlns="urn:schemas-microsoft-com:unattend">
<settings pass="windowsPE">
<component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS"
xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SetupUILanguage>
<UILanguage>en-US</UILanguage>
</SetupUILanguage>
#include <iostream>
#include <vector>
int main() {
int n;
std::cin >> n;
std::vector<int> apple;
apple.push_back(0);
int sum = 0, time = 0;

SDL2 Development Setting on Windows

1. Using MinGW-w64
2. Using Cigwin

Using MinGW-w64

  1. Download MinGW-w64 in sourceforge.

image

import mediapipe as mp # type: ignore
BaseOptions = mp.tasks.BaseOptions
GestureRecognizer = mp.tasks.vision.GestureRecognizer
GestureRecognizerOptions = mp.tasks.vision.GestureRecognizerOptions
VisionRunningMode = mp.tasks.vision.RunningMode
options =GestureRecognizerOptions(
base_options=BaseOptions(model_asset_path='gesture_recognizer.task'),
running_mode=VisionRunningMode.VIDEO)
import ccxt
import time
# Bitget API 키 설정
api_key = 'YOUR_API_KEY'
api_secret = 'YOUR_API_SECRET'
password = 'YOUR_PASSWORD'
# Bitget 거래소 객체 생성
exchange = ccxt.bitget({
// Using p5.js
function roundedBox(length, width, height, radius) {
// Draw walls (three orthogonal boxes)
box(length, width - radius, height - radius);
box(length - radius, width, height - radius);
box(length - radius, width - radius, height);
// Draw 8 corner spheres
for (let xSign = -1; xSign <= 1; xSign += 2) {
for (let ySign = -1; ySign <= 1; ySign += 2) {
@pgmrDohan
pgmrDohan / lossy-compression.ipynb
Last active July 9, 2025 00:37
lossy-compression.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@pgmrDohan
pgmrDohan / cifar10-cnn.ipynb
Created August 6, 2025 03:08
CIFAR10-CNN.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@pgmrDohan
pgmrDohan / qiskit-example-alice-bob-number-game.ipynb
Created August 8, 2025 14:51
Qiskit Example: Alice-Bob Number Game
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@pgmrDohan
pgmrDohan / index.html
Created September 6, 2025 08:30
안동대학교 SW 캠프
<!DOCTYPE html>
<html lang="kr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>플레이리스트 추천기</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Jua&display=swap" rel="stylesheet">
<style>