06 2023 档案

摘要:data = '[{"foo": "bar", "foo": "baz", "b": 99}]' json.loads(data, object_hook=print) json.loads(data, object_pairs_hook=print) 阅读全文
posted @ 2023-06-13 14:43 ascertain 阅读(44) 评论(0) 推荐(0) 编辑
摘要:<!DOCTYPE html> <html lang="en-US"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Docume 阅读全文
posted @ 2023-06-11 15:32 ascertain 阅读(110) 评论(0) 推荐(0) 编辑
摘要:Non-Printing Characters in Prompts (tldp.org) 阅读全文
posted @ 2023-06-11 08:38 ascertain 阅读(1) 评论(0) 推荐(0) 编辑
摘要:offsetParent is containing block 1. position: static; offsetTop 元素的上外边距到containing block的上内边距 (containing block的padding + element.margin) <!DOCTYPE ht 阅读全文
posted @ 2023-06-10 10:15 ascertain 阅读(117) 评论(0) 推荐(0) 编辑
摘要:Element: scrollHeight property - Web APIs | MDN (mozilla.org) <!DOCTYPE html> <html lang="en-US"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA 阅读全文
posted @ 2023-06-09 23:39 ascertain 阅读(8) 评论(0) 推荐(0) 编辑
摘要:<!DOCTYPE html> <html lang="en-US"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Docume 阅读全文
posted @ 2023-06-09 23:01 ascertain 阅读(11) 评论(0) 推荐(0) 编辑
摘要:import jwt from datetime import datetime payload_data = { 'sub': '4242', 'iss': 'issuer', # issuer of the token 'name': 'Jessica Temporal', 'nickname' 阅读全文
posted @ 2023-06-07 17:31 ascertain 阅读(36) 评论(0) 推荐(0) 编辑
摘要:import asyncio import sys class AsyncContextManager: async def __aenter__(self): return self async def __aexit__(self, exc_type, exc_val, exc_tb): pri 阅读全文
posted @ 2023-06-06 14:08 ascertain 阅读(82) 评论(0) 推荐(0) 编辑
摘要:JavaScript 1. splice let arr = [1, 2, 3, 5, 6, 4, 3, 2, 1, 1, 2, 3, 4, 5] for(let i = 0; i < arr.length - 1; ++i) { for(let j = i + 1; j < arr.length; 阅读全文
posted @ 2023-06-04 11:39 ascertain 阅读(3) 评论(0) 推荐(0) 编辑
摘要:JavaScript let arr = [8, 4, 3, 2, 6, 7, 1, 5, 9] function quickSort(arr) { console.log(arr) if(arr.length <= 1) return arr let midIndex = parseInt(arr 阅读全文
posted @ 2023-06-04 00:52 ascertain 阅读(2) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示