导航首页 » 站长干货 » 一行代码可以做什么?先把支付余额度修改了。
一行代码可以做什么?先把支付余额度修改了。
1、修改支付宝余额 document.body.contentEditable='true'; 当然这个余额目前还不支持支付,主要功能是看看!!!! 2、Python 的 from stackoverflow import ... Python 的 from stackoverflow import 会自动导入 Stack Overflow 上高票回答里能跑起来的代码: >>> fr站长元宇宙导航网om stackoverflow import quick_sort, split_into_chunks >>> print(quick_sort.sort([1, 3, 2, 5, 4])) [1, 2, 3, 4, 5] >>> print(list(split_into_chunks.chunk("very good chunk func"))) ['very ', 'good ', 'chunk', ' func'] >>> print("I wonder who made split_into_chunks", split_into_chunks.__author__) I wonder who made split_into_chunks https://stackoverflow.com/a/35107113 >>> print("but what's the license? Can I really use this?", quick_sort.__license__) but what's the license? Can I really use this? CC BY-SA 3.0 >>> assert("nice, attribution!") Github 开源地址:https://github.com/drathier/stack-overflow-import 3、破坏禁止复制 很多网页不允许复制行为,使用 $=0可以破坏网站的禁止复制功能。 按 F12 或者右键检查打开控制台,在 Console里输入$=0,原理就是破坏网站的 JavaScript 的执行。 执行后,就可以快乐的使用 Ctrl - C了。 4、表白代码 print('\n'.join([''.join([('Love'[(x-y) % len('Love')] if ((x*0.05)**2+(y*0.1)**2-1)**3-(x*0.05)**2*(y*0.1)**3 <= 0 else ' ') for x in range(-30, 30)]) for y in range(30, -30, -1)]))   4、高手的桌面 sudo apt-get install hollywood cmatrix   安装后执行