V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  zhengjian  ›  全部回复第 2 页 / 共 23 页
回复总数  449
1  2  3  4  5  6  7  8  9  10 ... 23  
2023-05-02 04:27:22 +08:00
回复了 ky1e 创建的主题 JavaScript JavaScript 的哪本书相当于 Python 的《流畅的 Python 》
《 JavaScript 语言精髓与编程实践》

https://book.douban.com/subject/35085910/
沾沾喜气,抽奖。
2023-02-11 19:27:37 +08:00
回复了 rizon 创建的主题 程序员 mac 上使用容器,是用 podman 还是 docker
2023-02-06 01:19:08 +08:00
回复了 Pangurban 创建的主题 问与答 [求助] 如何搜索一张以前看过的图片
比起来 #1 的搜图技巧,我更惊讶于楼主的记忆力和描述能力。
2023-02-03 17:34:47 +08:00
回复了 tans0008 创建的主题 Apple 大家 iOS16.3 版本出现过流量突然没信号吗?
喔,遇到过几次,我还以为是某个地方没信号呢。屏幕右上角经常无反应,重启就好了。
我之前也做过一个 iOS 快捷指令,能够 AR 查看各种动物(模型同样来源于 Google ): https://sharecuts.cn/shortcut/6948
2023-02-03 01:55:56 +08:00
回复了 dreamage 创建的主题 DNS dns https 记录用途
iOS14 结合 DNS 的 HTTPS 记录进行 HTTP/3 连接的实测 /t/712074
2023-02-03 01:38:48 +08:00
回复了 winterbells 创建的主题 分享发现 笔记本突然用不了 WSL 了
我昨天在 windows 11 中也遇到这个错误代码了,但是我不是原来可用又不可用,是第一次安装 Ubuntu 的报错。

解决方案是在控制面板-程序与功能-打开或关闭 Windows 功能,勾选 Hyper-V ,等待安装完成重启就好了。
2023-02-03 01:01:12 +08:00
回复了 yiencho 创建的主题 Windows cpu 太老了,有没有办法先把正版的 win11 领了,将来升级?
昨天刚把一个 15 年的旧笔记本(无 tpm 芯片,CPU i5-5200u 不在支持列表内)安装 windows 11 ,不过我是全新安装。

使用 rufus ( https://rufus.ie/zh/ )制作一个安装盘,该软件自带了绕过安装限制的功能。制作之后就是标准的 U 盘安装系统过程了,非常顺畅。windows 11 镜像是从 https://next.itellyou.cn/ 下载的。


https://i.imgur.com/Wiy2iHG.png
2023-01-25 00:48:10 +08:00
回复了 edis0n0 创建的主题 程序员 请 css 大佬帮忙看下这个居中难题,折腾了 3 个小时还没解决
百度云盘分享网页链接:

https://pan.baidu.com/s/{slug}?pwd={pwd}


```javascript
wx.navigateToMiniProgram({
appId: "wxdcd3d073e47d1742", // 百度云盘小程序 appId
path: "/pages/netdisk_share/share?to=share&surl={slug}&pwd={pwd}", // 无提取码就不用 pwd 参数
});
```
2022-12-18 03:22:43 +08:00
回复了 Richard14 创建的主题 Python Python 的自定义类继承自 str 类的方式?
2022-12-18 03:18:19 +08:00
回复了 Richard14 创建的主题 Python Python 的自定义类继承自 str 类的方式?
感觉可以,但没必要

```python
import json


class Read(str):
def __new__(cls, filepath):
with open(filepath, 'r', encoding='utf-8') as f:
# return super(Read, cls).__new__(cls, f.read())
return Read.__make_str(f.read())

@classmethod
def __make_str(cls, value):
return super(Read, cls).__new__(cls, value)

def loads_to_json(self):
return json.loads(self)

def strip(self, char = " "):
return Read.__make_str(super().strip(char))

def replace(self, *args):
return Read.__make_str(super().replace(*args))


# use as str
file_content = Read("file.txt")

print("file_content: " + file_content.strip())

print(json.loads(file_content))

# chaining
jsonContent = Read("file.txt").replace("hell0", "hello").loads_to_json()

print(jsonContent.get("message"))
```

output:

```shell

➜ Downloads python3 v2ex.py
file_content: {"message" : "hell0, world!"}

{'message': 'hell0, world!'}
hello, world!
```
2022-10-28 00:05:28 +08:00
回复了 bananahotell 创建的主题 iPhone 我好像发现了一个秘密
就是个 <input type="file" />


试一试: https://input-file-1e33sa1sll1f.runkit.sh/
2022-09-12 20:08:52 +08:00
回复了 cocong 创建的主题 React export = React; 该怎么理解?
支持原创
2022-08-05 06:05:26 +08:00
回复了 qiubangzhu 创建的主题 程序员 有什么好看的表白网页
1  2  3  4  5  6  7  8  9  10 ... 23  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   770 人在线   最高记录 6543   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 86ms · UTC 20:42 · PVG 04:42 · LAX 13:42 · JFK 16:42
Developed with CodeLauncher
♥ Do have faith in what you're doing.