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
| // ==UserScript== | |
| // @name 顺丰网页版淘宝发货自动填写分区号 | |
| // @namespace http://tampermonkey.net/ | |
| // @version 1.1 | |
| // @description 劫持JSON解析函数并修改客户端获取的数据,将分区号自动填写到姓名区域 | |
| // @author Mikan | |
| // @match *://www.sf-express.com/*/*/*/home | |
| // @grant none | |
| // @run-at document-start | |
| // ==/UserScript== |
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 lang="zh-CN"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>分层径向渐变演示</title> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <style> | |
| body { |
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 { spine } from './spine-widget/index.js'; | |
| const spineDir = '/spine/'; | |
| const idleMaxTime = 60000; | |
| const edge = 40; | |
| interface model { | |
| name: string; | |
| skin: string; | |
| animations: { | |
| start: string; |
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
| <script setup lang="ts"> | |
| import backgroundPatternImage from '~/assets/background_pattern.png'; | |
| import circleBaseImage from '~/assets/bg_common_circlebase.png'; | |
| import circleLineImage from '~/assets/bg_common_circleline.png'; | |
| const background = ref<HTMLCanvasElement | null>(null); | |
| const width = ref<number>(window.innerWidth); | |
| const height = ref<number>(window.innerHeight); | |
| const backgroundCtx = ref<CanvasRenderingContext2D | null>(null); | |
| const imageAsset = reactive<{ |
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
| <script setup lang="ts"> | |
| import { AtpAgent } from '@atproto/api' | |
| import { NStatistic, NNumberAnimation } from 'naive-ui' | |
| const agent = new AtpAgent({service: 'https://bsky.social'}) | |
| const session = await agent.login({identifier: '', password: ''}) | |
| const profile = await agent.getProfile({actor: session.data.did}) | |
| </script> | |
| <template> | |
| <div class="flex flex-row justify-center items-center"> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
| require('readline').createInterface({input: process.stdin, output: process.stdout}).question("Enter a string: ", str => {console.log(str.split("").reverse().join(""))}) |
NewerOlder