This file contains hidden or 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
| /** | |
| * @auther terwer | |
| * @date 2026/4/21 17:30 | |
| * @description AutoJS6 Image Matching Helper | |
| * | |
| * GitHub Gist: https://gist.github.com/terwer/74f37cb8b0bd47d3c74c5767434b0b6b | |
| * | |
| * AutoJS6 image match helper for matching a reference template image within a screen image, with support for orientation, scaling, and region mapping. | |
| * - matchReferenceTemplate(screenImage, template, options) | |
| * - regionRef reference region mapping [x, y, width, height] in reference template coordinates |
This file contains hidden or 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
| const convertTimestampToDateString = (timestamp) => { | |
| const months = [ | |
| "January", | |
| "February", | |
| "March", | |
| "April", | |
| "May", | |
| "June", | |
| "July", | |
| "August", |
This file contains hidden or 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 re | |
| import shutil | |
| from collections import defaultdict | |
| def parse_changelog(): | |
| """ | |
| :robot: A new release will be created | |
| --- |
This file contains hidden or 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
| #!/bin/bash | |
| set -e | |
| SSHD_LISTEN_ADDRESS=127.0.0.1 | |
| SSHD_PORT=2222 | |
| SSHD_FILE=/etc/ssh/sshd_config | |
| SUDOERS_FILE=/etc/sudoers | |
| # 0. update package lists | |
| sudo apt-get update |
This file contains hidden or 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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, minimal-ui"> | |
| <title>Vue</title> | |
| <link href="https://cdn.staticfile.org/material-design-iconic-font/2.2.0/css/material-design-iconic-font.css" rel="stylesheet"/> | |
| <link href="https://unpkg.com/vuetify@1.0.17/dist/vuetify.min.css" rel="stylesheet"> | |
| <style> | |
| [v-cloak] { |