Skip to content

Instantly share code, notes, and snippets.

@ddulhddul
ddulhddul / custom_confirm_example.md
Created February 21, 2022 08:33
custom confirm example
async confirmTest () {
    const confirmResult = await this.confirm('confirm message')
    this.alert(`confirm result : ${confirmResult}`)
},
export default {
  methods: {
    async alert (message) {
// https://eslint.org/docs/user-guide/configuring
module.exports = {
  root: true,
  parserOptions: {
    parser: "babel-eslint",
    sourceType: 'module'
  },
  env: {
    browser: true,
@ddulhddul
ddulhddul / SpringParameterPassing.md
Last active July 31, 2017 12:08
Example of parameter passing

Example of spring framework (java, javascript) parameter passing

var param = {deleteList:[], param:{}}
$.ajax({
    type: 'POST',
    url: '',
    data: JSON.stringify(param),
    contentType: 'application/json',
 dataType: 'json',
@ddulhddul
ddulhddul / JavaPOIExcelDownloadExample.md
Last active July 22, 2017 07:53
Java Excel Download Sample - 자바 엑셀 다운로드 샘플
@ddulhddul
ddulhddul / MacroExample.java
Last active July 16, 2017 03:17
Example of Timer Macro
import java.awt.AWTException;
import java.awt.Robot;
import java.awt.event.InputEvent;
import java.awt.event.KeyEvent;
import java.io.IOException;
import java.util.Date;
// ctrl + 5 Full Screen
// 1280 X 720
public class MacroExample {
@ddulhddul
ddulhddul / MatchingDemo.java
Last active July 7, 2017 04:41
openCV template matching
/*
# 자바 매크로
[http://javafactory.tistory.com/963](http://javafactory.tistory.com/963)
```java
Robot r = new Robot();
r.mouseMove(200, 270);
r.mousePress(InputEvent.BUTTON1_MASK);
r.mouseRelease(InputEvent.BUTTON1_MASK);
r.mousePress(InputEvent.BUTTON1_DOWN_MASK);
r.mouseRelease(InputEvent.BUTTON1_DOWN_MASK);