Skip to content

Instantly share code, notes, and snippets.

View kmc7468's full-sized avatar
🤔
Hello, world!

static kmc7468

🤔
Hello, world!
View GitHub Profile
@kmc7468
kmc7468 / LinearEquation.cpp
Last active September 7, 2021 12:57
일차방정식 풀이 프로그램
/*
* MIT License
*
* Copyright (c) 2021 kmc7468
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
@SkyLightQP
SkyLightQP / linked_list.rs
Created February 26, 2020 13:09
러스트 초보의 단일 Linked List 만들어보기
#[derive(Debug)]
struct LinkedList<T> {
head: Option<Box<Node<T>>>,
length: usize
}
#[derive(Debug)]
struct Node<T> {
element: T,
next: Option<Box<Node<T>>>
@RanolP
RanolP / enumUtil.ts
Last active January 23, 2021 18:39
Add static method to enum without namespace in TypeScript
type NoConflict<
A extends Record<string | symbol, unknown>,
B extends string | number | symbol
> = { [K in keyof A]: K extends B ? never : A[K] };
type PropsUnion<A> = { [K in keyof A]: A[K] }[keyof A];
export function withMethods<
Origin extends Record<string | symbol, unknown>,
Methods extends Record<string | symbol, unknown>
@luncliff
luncliff / cmake-tutorial.md
Last active July 16, 2024 13:09
CMake 할때 쪼오오금 도움이 되는 문서

CMake를 왜 쓰는거죠?
좋은 툴은 Visual Studio 뿐입니다. 그 이외에는 전부 사도(邪道)입니다 사도! - 작성자

주의

  • 이 문서는 CMake를 주관적으로 서술합니다
  • 이 문서를 통해 CMake를 시작하기엔 적합하지 않습니다
    https://cgold.readthedocs.io/en/latest/ 3.1 챕터까지 따라해본 이후 기본사항들을 속성으로 익히는 것을 돕기위한 보조자료로써 작성되었습니다
@kmc7468
kmc7468 / Circle-MonteCarlo.cpp
Last active July 25, 2018 02:28
몬테카를로 방법을 이용한 원주율 계산
/*
* (C) 2018. kmc7468 All rights reserved.
* The MIT License. See also the LICENSE file.
* https://gist.github.com/kmc7468/33bd66ecca40cb5a256ee4bb0700b8eb
*/
#include <chrono>
#include <future>
#include <iostream>
#include <random>
@kmc7468
kmc7468 / Air.ino
Last active July 24, 2018 09:22
공기 순환기 모델
/*
* (C) 2018. kmc7468 All rights reserved.
* MIT 라이선스입니다.
* https://gist.github.com/kmc7468/9cb6edc588b451f748dba9f96918309d
*/
#include "DHT.h"
#include <math.h>
//
@RanolP
RanolP / 개발자 수다방.aheui
Created July 9, 2018 10:37
‘2018.07.11. 개발자 수다방: 텔레그램 에디션 제 1회 개천절 경축!’을 출력합니다.
개반뭉반붓밪두빥붖빠뭏밠뭉박누망뭏따뿌삭뿌밪붅파투밣뚜타댜뎌뭏뷺다두타두밢두밙뚜빥푸다뿑빠뿌빥분받뚜삽쑤밪불빥두받투밧누
발꾔바몽나몽망봀타뽀바몽맣본빠몽밤봃싹뫃빠소따뽅빥볼타빠쑺봃밠뽅소두봎뭏또두볻두봃쑵봃붖뽀뿌토붅또투도수소뚜도푸토뭏본뭉
자두변번뻕떠벌벚멓더떠벓벐더머퍼뻕더뻕벒뻕더벇뻕떠벐번멓서볻퍼두뫃불포두봀뭏뽅뭏뽅투뫃불속뭏볾뚜쏩뭏뽅투뫃뿑노투도분소붋
수뺝리밪밤따다맣밪타빥밠빥파타반밧나타타삭맣사맣밢타빥맣발다뽅맣속타뽅빥본밦토밦도밞토따도사뫃빠뽀밦도맣속반봇밠뽅삭뫃뿌
다총통각하만세삼창해멓북번붏멓뚜벖두뻕숙멓붊번붇썩투퍼투너뚜벓수멓두번푸뻕푸터두번불벚두벘뿑벐뿑더뿑벑숮멓투떠붍번뿌떠붐
방망희됴아하는난로당도너또범토더봆벌토벌토더토너뽀퍼뽅터봇번볻뻐속멓토머볾터포뻕뽅떠뫃더토더토퍼본더뫃뻐속멓봆더도뻕또더
aecidiaceae 마치힘차마
aeviternal 마피라너며
alangiaceae 며머심차마
aldermanate 며하느멈라
aldermancy 며하느머채
aldermanry 며하느머내
alternance 며라너머차
alternative 며라넘리파
alternatives 며라넘리팡
alternativity 며라넘리피래
@phu54321
phu54321 / g1.c
Created October 7, 2017 12:59
Prime generating quine
// Simple prime generatine quine example.
char *f="?1?2?0=5755?/(?75=?5='!??5?'%?",*r="aeaaaaaaa",a[]="c*d(%%e%y]0q9=("
"05;t/\"nf<(<u*(ip;ru}lrhr+)i7(3<[;!22*);}c(,=o7*1+u1fu}(tes+a=1{=5+]1xf=);q"
";pih?c$r5p5i;0(te3cle+r\"5;=8+>0/o0;p)prfa7[,(8-;%x)*cl4hs ; a,m0]p>;4r;pu;"
"ui(r57mi;-i3+;phs)ae{p*e*=);<(y](qutxtnx(=5,=i=+]+}=ae;r xufaqnbwdi+?p+tc+c"
"t+1?8x2+n+=)p=r }(i+t=a,;rh+/+4=+ch+hf*05+,;+%)1pu6(ie3f+c\"abwei13)7c)ha;a"
"(r)=1yi)1i;ut49fl4(;h?a[hal6){:;{ar}r\"-;'],<c0futc)2(s)*pa1a5ike))f3*ir(i("
"%9r!,um[)(+ch{)*e;pur?a]l;({&o2pf(9f3d7e?d=;i)(=haf;q p=t(2a[efnf1r)!(12(4\""
">t?[0i]/f4arop={u=c1?\"8(o>o)(;=*1)x),7u51,+=1[;r(ru=pt3h00,0ir0rbxp0q0;>;m"
@NeuroWhAI
NeuroWhAI / Action.hpp
Last active May 28, 2017 03:30
Parameters like Member variables
#include <memory>
#include <functional>
#include <type_traits>
#include <tuple>
#include <utility>
template <typename... ARGS>