- 서버를 연다.
${x}
번 포트에 열었다고 하자. - Tor이 설치된 폴더에 들어가서,
Tor Browser\Browser\TorBrowser\Data\Tor
세부 경로로 들어가torrc
파일을 연다 (확장자 없음) - 다음 두 줄을 추가한다.
HiddenServiceDir (생략)\tor\onion_service
HiddenServicePort 80 127.0.0.1:${x}
set datafile separator ',' | |
set title "HPLC data by substance at 270nm" | |
FILE = 'ex1.csv' | |
stats FILE using 2 nooutput name 'Y_' | |
stats FILE using 1 every ::Y_index_max::Y_index_max nooutput | |
X_max = STATS_max | |
set label 2 sprintf("(%.1f,%.3f)", X_max+0.1,Y_max) center at first X_max,Y_max point pt 7 ps 1 offset 0,1 | |
stats FILE using 3 nooutput name 'Y_' |
const fs = require('fs') | |
function randfn(n){ | |
const b = new Buffer.alloc(n) | |
for(let i=0;i<n;i++) b[i]=Math.random()*256&(-1) | |
return b; | |
} | |
for(let i=0; i<1024*10; i++) fs.appendFileSync('40.txt',randfn(1024*1024)) //1MB |
<!DOCTYPE html> | |
<html lang="ko"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>간격타이머</title> | |
<style> | |
#기록목록>tr>td{ | |
padding-right: 30px; | |
} | |
</style> |
for %%i in (*.mkv *.mp4 *.webm) do ffmpeg -i "%%i" "%%~ni.mp3" | |
rem for %%i in (*.mkv) do type "%%i" |
<!DOCTYPE HTML> | |
<html lang="ko"> | |
<head> | |
<meta charset="UTF-8"> | |
</head> | |
<body> | |
<textarea id="txt_area" style="height:100px; width:100%"></textarea> | |
<h2 id="ttt"></h2> | |
<script> |
// ==UserScript== | |
// @name 비디오 돌리기 | |
// @version 1 | |
// @grant none | |
// ==/UserScript== | |
(()=>{ | |
const div = document.createElement('div') | |
document.body.appendChild(div) | |
div.style.position = 'absolute' |
const MD5 = (txt)=> crypto.createHash('md5').update(txt).digest('hex'); |
//https://stackoverflow.com/questions/7089443/restoring-console-log | |
var i = document.createElement('iframe'); | |
i.style.display = 'none'; | |
document.body.appendChild(i); | |
window.console = i.contentWindow.console; |