jiutai21

jiutai21

V2EX member #244101, joined on 2017-07-24 10:28:11 +08:00
Per jiutai21's settings, the topics list is only visible after you sign in
Deals info, including closed deals, is not hidden
jiutai21's recent replies
好像是数字太大了,9 位到 10 位数字是正常的
Nov 26, 2021
Replied to a topic by horou Windows Windows 系统间歇性卡顿,声音鬼畜。
可能是开启 tpm 导致的
Nov 26, 2021
Replied to a topic by horou Windows Windows 系统间歇性卡顿,声音鬼畜。
可能是开启 tmp 导致的
doc 不清楚,docx 的话 pandoc 应该可以
找到一个个人认为比较优雅的方法
def rgb(r, g, b):
return 'rgba({},{},{},{})'.format(r, g, b, alpha)


src = 'rgb(54,162,235)'
di = locals()
di['alpha']=0.5
a = eval(src, None,di)
print(a)
@coolair 难看点的实现,就是每次调用 evel 时,修改字符串 rgb(r,g,b),把最后的 ) 改为 ,alpha)
然后 rgb 函数改成 4 个参数
def rgb(r,g,b):
return 'rgba({},{},{},0.5)'.format(r,g,b)

src = 'rgb(54,162,235)'

a = eval(src)
print(a)
用邪道方法 evel,定义 rgb(r,g,b) 函数,然后执行
Jan 24, 2019
Replied to a topic by jiutai21 职场话题 我们终于也开始裁员了
@PazuLee 是指离职后超过一定时间后,再去劳动局的话,就没效果了吗
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   940 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 15ms · UTC 19:42 · PVG 03:42 · LAX 12:42 · JFK 15:42
♥ Do have faith in what you're doing.