随笔 - 934, 文章 - 0, 评论 - 247, 阅读 - 344万

导航

< 2025年2月 >
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 1
2 3 4 5 6 7 8

08 2019 档案

摘要:将 WebP 格式图片拖到 Chrome 浏览器标签栏中(浏览器是肯定支持查看的,而且是 Google 自家的),这个时候图片是能够正常查看的。我们右键选中图片,选择「复制图片」。打开 macOS 系统自带的「预览」工具,点击菜单栏「文件」,选中「从剪贴板新建」,这时候图片就显示在「预览」工具的窗口中了。剩下就是保存或者复制黏贴到其他软件了。参考:https://fengooge.blogsp... 阅读全文

posted @ 2019-08-29 09:29 蝈蝈俊 阅读(852) 评论(0) 推荐(0) 编辑

摘要:先看效果:源码package mainimport ("bytes""fmt""io/ioutil""log""os""github.com/wcharczuk/go-chart/drawing""github.com/golang/freetype/truetype""github.com/wcharczuk/go-chart")/... 阅读全文

posted @ 2019-08-16 14:30 蝈蝈俊 阅读(511) 评论(0) 推荐(0) 编辑

摘要:https://github.com/wcharczuk/go-chart/ 默认使用的字体是 roboto.Roboto,不支持中文。// GetDefaultFont returns the default font (Roboto-Medium).func GetDefaultFont() (*truetype.Font, error) {if _defaultFont == ni... 阅读全文

posted @ 2019-08-15 09:35 蝈蝈俊 阅读(2175) 评论(2) 推荐(0) 编辑

摘要:目的 https://github.com/VonSdite/Plane_Wars 可以本地跑起来。 下载并安装python3 https://www.python.org/downloads/mac-osx/ 下载安装好后命令行是要用 python3,而不是 python, python 是系统自 阅读全文

posted @ 2019-08-11 21:35 蝈蝈俊 阅读(722) 评论(8) 推荐(0) 编辑

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