Skip to content

Instantly share code, notes, and snippets.

View mjy9088's full-sized avatar

Juyeong Maing mjy9088

  • 대한민국
  • 04:46 (UTC +09:00)
View GitHub Profile
@mjy9088
mjy9088 / main.cpp
Last active May 22, 2021 10:13
Direct3D Tutorial
//-----------------------------------------------------------------------------
// File: Meshes.cpp
//
// Desc: For advanced geometry, most apps will prefer to load pre-authored
// meshes from a file. Fortunately, when using meshes, D3DX does most of
// the work for this, parsing a geometry file and creating vertx buffers
// (and index buffers) for us. This tutorial shows how to use a D3DXMESH
// object, including loading it from a file and rendering it. One thing
// D3DX does not handle for us is the materials and textures for a mesh,
// so note that we have to handle those manually.
@mjy9088
mjy9088 / main.c
Created October 3, 2019 18:07
int 소인수분해
#include <stdio.h>
#include <stdint.h>
#include "primes.h"
int main()
{
puts("소인수분해할 int 범위의 수를 입력하세요.");
int64_t input;
struct
@mjy9088
mjy9088 / ssha-to-new.js
Last active June 28, 2019 06:16
Migrating password LDAP SSHA hash to new one
var readline = require('readline');
var crypto = require('crypto');
var kdf2 = require('pbkdf2-password');
var hasher = kdf2({digest: 'sha256', iterations: 1000, keyLength: 64});
var r = readline.createInterface({
input: process.stdin,
output: process.stdout
});
@mjy9088
mjy9088 / bandArticleRemover.py
Last active July 3, 2020 07:43
네이버 밴드 글 삭제 매크로?
# -*- encoding: utf-8 -*-
import selenium
from selenium import webdriver
from time import sleep
driver = webdriver.Chrome('(웹드라이버 경로)')
driver.implicitly_wait(3)
driver.get('https://band.us/band/(밴드 ID)')
@mjy9088
mjy9088 / README.md
Last active December 30, 2021 06:27
테스트

테스트

테스트용...

테스트 결과

  • README.md를 먼저 만들었을 때 README.md, index.html이 있을 때 어떤 파일이 대표로 보일까 - 결과: README.md