def-fun
def-fun
@sgallou Oh, it's my mistake. But after i correct it, the example can't be compiled still. :-( ```bash $ g++ examples/example12.cpp -l curlpp -I include/ -l curl -I ../curl/include/ In...
不知道是不是改的地方不对,修改后界面没变化,只好在渲染后的界面里用js修改,后面用油猴自动加载应该勉强能用。虽然功能基本实现了,但是很不优雅。能给些意见吗? ```javascript // add links to files function viewFile(file_path) { let dirname = $('#torrent-attribute-value-name')[0].innerText console.log(dirname, file_path) let file_url if (dirname === file_path) { file_url = 'http://' + window.location.hostname + ':8012/preview/'...
> 已经架了http服务器不如自己写个index.html,用http服务器的列目录功能获取文件列表 那样也行,但是没有在TWC上加链接来的好。http列目录的功能看不出文件的下载进度,也看不到tracker的信息。有些资源有广告,或者不是自己想看的内容,或者想要移动目录,预览后可以直接在TWC界面上操作。而且TWC里的文件是扁平化的,不需要一级一级展开目录。
> 那就再加个读取transmission进度的功能 yet-another-transmission-web-control 吗?
观察了下console,发现加载的是压缩后的.min.js,我之前改错地方了。对于ubuntu系统,要实现的我说的功能,修改两个地方就可以了。 ```bash # backup first cd /usr/share/transmission/web/tr-web-control sudo cp script/min/system.min.js script/min/system.min.js-bakup sudo cp script/system.js script/min/system.min.js sudo cp template/torrent-attribute-files-fields.json template/torrent-attribute-files-fields.json-bakup ``` 要修改的地方我用//注释掉了 script/min/system.min.js ```javascript for (var index in files) { var...
> I've actually switched to using https://github.com/GNOME/msitools for my non-windows use cases for this. That said, I wish I had the time to experiment with lessmsi to see how easy...
感谢反馈 `/image2ctab`是用osra实现的,在chembl_beaker官方的当前版本中已经移除了,详情见 https://github.com/chembl/chembl_beaker/commit/15859d3b4782166e9a0a354e6e52630080f66c9a 需要使用[这个版本的chembl_beaker](https://github.com/def-fun/chembl_beaker),部署说明文档刚刚更新了 `/image2ctab`的文档我晚些时候补上
@rhash similar algorithm for reference. - https://github.com/kalafut/imohash - https://github.com/kalafut/py-imohash/