Oct 6

Java Move Mouse

import java.awt.AWTException; import java.awt.Robot; public final class JMoveMouse {     public static void main(String[] args) throws AWTException     {         Robot robot = new Robot();         robot.setAutoDelay(5);         robot.setAutoWaitForIdle(true);         int counts = 0;         while(true){             robot.mouseMove(200, 200);             robot.delay(500);             robot.mouseMove(200, 210);          

阅读全文...

Aug 23

CoreFTP server

Free FTP & SFTP Server

http://www.coreftp.com/server


阅读全文...

July 29

NPM Instal Vue3

CNPM:

npm install -g cnpm --registry=http://registry.npm.taobao.org


Vue 3:

cnpm install vue@next


Vue-cli

cnpm install -g @vue/cli


Vue-cli-init

cnpm i -g @vue/cli-init

阅读全文...

July 12

PHP Sending JSON

    header("Content-type:application/json; charset=utf-8");
    
    if ($_GET["mkmac"] == 'MD202112010001') {
        $resp = '{ "result": 1, "matnr": "MRK291AC00B13A", "kata": "K01" }';
    }else{
        $resp = '{ "result": 0 }';
    }
    echo $resp;


阅读全文...

July 7

openssl req

CSR Online check: https://www.clickssl.net/check-csr 

Openssl Windows Installer: http://slproweb.com/products/Win32OpenSSL.html 

Openssl path: openssl version -d

Openssl CSR:

openssl req -new -key r:\E2P.p8 -out r:\E2P_2022.csr -config r:\openssl.cnf


阅读全文...