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
# ATTENTION: Don't forget to allow the powershell script to run first. | |
# Here is a step by step of how to execute this script: | |
# - Open a Powershell command prompt. | |
# - Allow shel script execution with command: | |
# Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope Process | |
# - Execute the current powershell script with the command: | |
# .\GetBatteryLevel_DOQAUS-CARE1v1.ps1 | |
# - The results may take some time to come. A pop-up will show on your | |
# main screen. You must click 'Ok' to unblock the Powershell command prompt. |
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
PowerShell -Command "Set-ExecutionPolicy Unrestricted" >> "%TEMP%\StartupLog.txt" 2>&1 | |
PowerShell C:\Users\YOUR_USERNAME\Desktop\hotspot.ps1 >> "%TEMP%\StartupLog.txt" 2>&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 'package:flutter/cupertino.dart'; | |
import 'package:flutter/services.dart'; | |
class DPadControlShortcuts extends StatelessWidget { | |
const DPadControlShortcuts({required this.child, super.key}); | |
final Widget child; | |
@override | |
Widget build(BuildContext context) { |
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
// ==UserScript== | |
// @name grafana loki query remove bom | |
// @namespace https://www.muedsa.com | |
// @version 0.1 | |
// @description try to take over the world! | |
// @author MUEDSA | |
// @match https://test-grafana.fskops.com/explore?* | |
// @run-at document-start | |
// @grant unsafeWindow | |
// ==/UserScript== |
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
export class RegexHtmlElement { | |
static SPACE_EXIST_MATCH_REGEX = '\\s+?'; | |
static SPACE_MATCH_REGEX = '\\s*?'; | |
static LINE_MATCH_REGEX = '.*?'; | |
static ALL_MATCH_REGEX = '[\\s\\S]*?'; | |
static BEGIN_TAG_LEFT = '<'; | |
static END_TAG_LEFT = '</'; | |
static TAG_RIGHT = '>' | |
static SELF_CLOSE_TAG_RIGHT = '/>' |
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
<template> | |
<div id="app"> | |
<test-component></test-component> | |
<test-component></test-component> | |
</div> | |
</template> | |
import TestComponent from 'test-component' | |
<script> | |
export default { | |
components: { |
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
using System; | |
using System.Collections.Generic; | |
using System.IO; | |
using System.Runtime.InteropServices; | |
using System.Text; | |
namespace BluetoothBatteryTest | |
{ | |
class SetupAPI |
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
select t1.COLUMN_ID 序号, | |
t1.COLUMN_NAME 列名, | |
decode(t1.DATA_TYPE, | |
'NUMBER', | |
decode(t1.DATA_PRECISION, | |
null, | |
decode(t1.DATA_SCALE, 0, 'INTEGER', 'NUMBER'), | |
'NUMBER'), | |
t1.DATA_TYPE) 数据类型, | |
decode(t1.DATA_TYPE, 'NUMBER', t1.DATA_PRECISION, 'DATE', '', t1.DATA_LENGTH) 长度, |