테스트
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- base source from "https://stackoverflow.com/a/34934497" --> | |
<script src="/resources/js/jspdf/html2canvas.js"></script> | |
<script src="/resources/js/jspdf/jspdf.js"></script> | |
<script src="/resources/js/jspdf/plugins/addimage.js"></script> | |
<script src="/resources/js/jspdf/FileSaver.js"></script> | |
<script> | |
const A4_WIDTH = 595; | |
const A4_HEIGHT = 842; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# .ebextensions/01_AWS_Single_LetsEncrypt.config | |
# [reference] | |
# https://blog.microideation.com/2016/09/23/zero-cost-verified-https-using-letsencrypt-and-nginx-for-tomcat-8/ | |
# https://gist.github.com/tony-gutierrez/198988c34e020af0192bab543d35a62a | |
# please edit 'yourdomain' and 'youremail' | |
# At first, you will encounter, nginx error. because there is no 'fullchain.pem' and 'privkey.pem' files | |
# I resolved that manually by using 'eb ssh' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<link rel="stylesheet" href="https://cdn.jsdelivr.net/simplemde/latest/simplemde.min.css"> | |
<script src="https://cdn.jsdelivr.net/simplemde/latest/simplemde.min.js"></script> | |
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.2/MathJax.js?config=TeX-MML-AM_CHTML"></script> | |
<script src="https://code.jquery.com/jquery-3.2.1.min.js" integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4=" crossorigin="anonymous"></script> | |
<script> | |
$(function () { | |
MathJax.Hub.Config({ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.util.Scanner; | |
public class Example { | |
public static void main(String[] args) { | |
Scanner scanner = new Scanner(System.in); | |
String pw; | |
boolean loginFailed; | |
int failCount = 0; | |
// do ... while 의 경우 먼저 1번 실행하고 조건문을 확인합니다. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.apache.commons.io.FileUtils; | |
import java.io.File; | |
public class MainClass { | |
private final static char[] hexArray = "0123456789ABCDEF".toCharArray(); | |
public static void main(String[] args) { | |
File fileDirectory = new File("files"); | |
for (File file : fileDirectory.listFiles()) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=pinpoint collector service | |
After=syslog.target | |
[Service] | |
ExecStart=/home/ubuntu/pinpoint/quickstart/bin/start-collector.sh | |
ExecStop=/home/ubuntu/pinpoint/quickstart/bin/stop-collector.sh | |
[Install] | |
WantedBy=multi-user.target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<script src="https://openapi.map.naver.com/openapi/v3/maps.js?ncpClientId=<<yourId>>&submodules=panorama"></script> | |
<script> | |
var pano = null; | |
naver.maps.onJSContentLoaded = function() { | |
pano = new naver.maps.Panorama("pano", { | |
position: new naver.maps.LatLng(37.3599605, 127.1058814), |
https://stackoverflow.com/a/34445606
FiddlerScript uses JScript.NET, which can reference .NET assemblies, and System.Threading contains Sleep.
1. In Tools > Fiddler Options > Extensions, add the path to System.Threading.dll. On my machine, this was located at C:\Windows\Microsoft.NET\Framework\v4.0.30319.
2. In FiddlerScript, add import System.Threading;.
3. You can now add lines like Thread.Sleep(1000).
- Step 1 is not required on latest version of Fiddler
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@import url("https://fonts.googleapis.com/css?family=Noto Sans"); | |
html { | |
background-color: rgba(0,0,0,0); | |
} | |
/* Background colors*/ | |
body { | |
overflow: hidden; | |
background-color: rgba(0,0,0,0); |
OlderNewer