摘要:
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>双色球摇号</title> <style> .container { margin: 0 auto; } .qiu { display: inline-bloc 阅读全文
摘要:
const rgbaToHex = (rgba: number[]): string => { let hex = '#'; for (const i of rgba) { hex += i.toString(16).padStart(2, '0'); } return hex;}const hex 阅读全文
摘要:
https://downloads.gradle-dn.com/distributions/gradle-7.4.2-all.zip 阅读全文
摘要:
var target = {}; Object.prototype.toString.call(target).substring(8, 20).replace(']', '') 阅读全文
摘要:
const getTagFontSize = (tag: string): number => { const ele = document.createElement(tag); document.body.append(ele); const { fontSize } = getComputed 阅读全文
摘要:
<template> <h1>${COMPONENT_NAME}</h1> </template> <script lang="ts" setup> import {reactive} from 'vue'; import {useRouter} from "vue-router"; import 阅读全文
摘要:
方法链接: https://blog.51cto.com/u_11020803/2631727 阅读全文
摘要:
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> <style> .div { width: 100vw; height: 100vh; position: absolute; le 阅读全文
摘要:
<script> for (let i = -3; i < 4; i++) { // 用到了y = |x|函数的思想 const empty = Math.abs(i % 4); let row = ''; for (let j = 0; j < empty; j++) { row += ' '; 阅读全文
摘要:
import scanpy as sc import scipy # from scipy.sparse import csr_matrix # import scipy.sparse import numpy as np import time # 记个运行时长 start = time.perf 阅读全文