bitdust / earthlivesharp Goto Github PK
View Code? Open in Web Editor NEWlive view of earth from space
License: MIT License
live view of earth from space
License: MIT License
常常在物业发现壁纸怎么老是不换呢?打开设置才发现是 居中 模式,换为适应就好了
又熬夜熬得很困……不详细写了好吗? 请看 机房工具 中我写到的:
%regadd%" /v TileWallpaper /d "0" /f
::0为居中,1为平铺
%regadd%" /v Wallpaper /d "%~d0\Mine\壁纸\wallhaven-312106.jpg" /f
%regadd%" /v WallpaperStyle /d "10" /f
::WallpaperStyle6为适应,2为拉伸,10为填充
start RunDll32.exe USER32.DLL,UpdatePerUserSys
具体的开发文档您还是找一找 MicroSoft 的官方文档吧,我这是从网络上找的,可能不是很准
看了下config文件,要抓取的地址是:
http://himawari8-dl.nict.go.jp/himawari8/img/D531106
然后这个地址直接访问会403 forbidden
所以无论是原地址还是cdn都无法获取图片。
日本卫星网站怎么停止更新了?一直停留在2016-09-17 07:10:00
路径的形式不合法。[latest_address] [image_path] C:\Users\z208209\EarthLiveSharp\images\5.png
公司全局网络走代理,上网也经常蹦出那个输用户名密码的框,可能中枪了
可否考虑将DSCOVR:EPIC添入图片源?这颗卫星应该是一直在拍地球向阳面,不过分辨率好像比向日葵要低
能不能给一个选项分开设置桌面和锁屏的壁纸?Windows 10一旦使用Earth Live Sharp不能再改锁屏壁纸了。
😂下载链接打不开,谢谢了
我看设置里没有呀.能不能取大点分辨率的地球背景.
离线状态下,获取图像会出现崩溃
感觉1d的看起来不太爽啊。。。。。。然而我又不会C#。。只好麻烦作者大大了
在公司,经常看到的是锁屏背景,如果能设置到锁屏背景会更有意思
我自己注册的cloudinary 图片库 前几天收到email说满了让我升级plan 。
官方的API是可以清空图片库的,但是直接手动操作的方法却找不到。
目前这个工具正在使用Cloudinary的CDN作为图片缓存,以免对 向日葵-8 的官网造成流量压力,以达到延长API寿命的目的。
这个工具的火爆程度超出了我的预计,甚至冲上了github的C# trending榜首。在此必须感谢大家的鼎力支持。然而这带来的一个副作用就是我的CDN账户已不堪重负,如下图所示,最高峰时已达到 26GB/天 !即使我在1.1版本中紧急增加了负载均衡功能依然是杯水车薪。
而我并不能负担如此高的开销,之前计划使用VPS做反向代理的计划也因意外而搁浅。(某B开头的VPS服务商因为我填写的个人资料不完整而封停了我的帐号,233)。
总之,按当前情况来看,Cloudinary迟早会因为流量爆炸而封停封停我的帐号,到时所有客户端将不能正常更新图片。
进入Settings窗口,切换图片源为orgin。
但是个人非常不推荐这个办法, 因为如果大家都这么做的话,会给官方造成很大的流量压力和困扰。很可能导致API被封锁。
申请使用私有的CDN账户。按照曾经的估算,一个Cloudinary的免费CDN账户可以支撑10个人不间断的24小时图片抓取。因此如果有能力的话,使用个人的CDN帐号可以一劳永逸的解决这一问题。
具体步骤如下:
1.前往Cloudinary官网注册账户。
记录你的Cloud name
2.编辑你的EarthLiveSharp.exe.Config文件
将 CDN 或CDN1、CDN2、CDN3、CDN4 键值对应的红框所圈中的内容全部都修改为你的Cloud name 即可。
3.Cloudinary会向你的注册邮箱发一封验证邮件,记得查收并验证。
最后还想说点什么,做这个程序只是处于排解近来压力的个人爱好。但是盗用他人API总归是一个不道德行为,现在爆掉了自己的CDN也是一个报应吧!开源软件的意义在于分享自己的喜悦和成果,而非免费的使用别人的服务。可惜自己代码写的又很糟糕,没有什么学习价值,所以这个项目到头来的存在意义就只是骗了200个星星而已。233~
总之呢就是,对自己的任何行为都要负责,不要做慷别人之慨,替别人“开源”。
随着流量耗尽,这个项目可能就要暂停一个段落了,当然出了什么严重bug的话我还是要负责去修的。
最后再次感谢大家支持!
上周用了两天还是正常的,今天就不行了。
下面是trace.log文件中的内容
[get latest address] {"date":"2016-01-11 03:00:00","file":"PI_H08_20160111_0300_TRC_FLDK_R10_PGPFD.png"}
远程服务器返回错误: (401) 未经授权。[latest_address] http://res.cloudinary.com/dpwjf2scg/image/fetch/http://himawari8-dl.nict.go.jp/himawari8/img/D531106/1d/550/2016/01/11/030000_0_0.png [image_path] D:\Software\EarthLiveSharp\images\0.png
[get latest address] {"date":"2016-01-11 03:00:00","file":"PI_H08_20160111_0300_TRC_FLDK_R10_PGPFD.png"}
远程服务器返回错误: (401) 未经授权。[latest_address] http://res.cloudinary.com/dpwjf2scg/image/fetch/http://himawari8-dl.nict.go.jp/himawari8/img/D531106/1d/550/2016/01/11/030000_0_0.png [image_path] D:\Software\EarthLiveSharp\images\1.png
下载后按照步骤点击,可是image文件夹里没有图片,请问如何解决
With the "Slideshow" mode, Images is ".png" In the "images" folder.
But the Background picture just allow us select ".jpg".
How to do ?
邮箱:*****
It's strongly recommended to set a private CDN as the image source which can improve the stablity and reduce the pressure on the server side.
go to http://www.cloudinary.com and sign up a Free account. (and don't forget to check the register mail!)
访问 http://www.cloudinary.com 并注册一个免费账户。(记得检查确认邮件!不然帐号会被停用!)
login in your account and copy the "cloud name" "api key" and "api secret".
登录账户并记下你的 cloud name、api key 以及 api secret
fill your "cloud name" "api key" and "api secret".
填入你的 cloud name、api key 以及 api secret。
apply the change.
确认更改设置。
7.done.
搞定!
Hi你好,我今天把earthlivesharp更新到2.0版本后桌面背景不再变化了,我看了下文件目录里的trace文本,貌似是不能连接到服务器:
[get latest address] {"date":"2016-04-10 04:10:00","file":"PI_H08_20160410_0410_TRC_FLDK_R10_PGPFD.png"}
The remote server returned an error: (401) Unauthorized.[latest_address] http://res.cloudinary.com/divezagkn/image/fetch/http://himawari8-dl.nict.go.jp/himawari8/img/D531106/1d/550/2016/04/10/041000_0_0.png [image_path] D:\EarthLiveSharp\images\0.png
请问您知道这是什么原因吗,谢谢。
如题,图片文件夹下只有0_0.png和wallpaper.bmp(已解决)
比如国内的设为某一特定卫星拍摄的图片,美国或者其他地区的设为对应的当地卫星拍摄的图片
复现:配置中“Autostart”置为真,保存,关闭程序。再次启动程序,程序只会后台静默启动,不在前台弹出窗口。
另外已经启动程序的情况下,再次启动程序,没有任何提示(既没有提示已经有运行的进程,也没有弹出现有程序的设置窗口,也没有再次启动)
按照contributor的做法后将代码更换,更换后点击start后仍无反应,但程序setting里已经显示v2.0版本了,问题出在哪?
经过几个月坚持不懈的使用...
我自己cloudinary免费套餐中2G的存储终于爆掉了...一万多张图放在那里...
请问能否提供批量清空cloudinary中过期图片的办法...
或者在earthlivesharp中每使用一幅图片就自动删除cloudinary中上次使用的图片...
其实可以在这个repo 大家一起维护一个 cnd.txt,
这样大家可以pull request 贡献多个免费的 cloudinary出来, 然后程序随机读取就行了
After recovering from a sleep, the program can normally download new pics, but not refreshing.
api更新图片的规律是什么,多久能更新一次
11.20的图片最早几点能更新出来
看了官网有这样一个api,是否可以从这里获取当前最新的图片的信息
http://himawari8-dl.nict.go.jp/himawari8/img/D531106/latest.json
请问下是否有出mac版本的计划 或mac平台下有什么好的替代品 :)
无法连接到远程服务器
远程服务器返回错误: (404) 未找到。
有关调用实时(JIT)调试而不是此对话框的详细信息,
请参见此消息的结尾。
************** 异常文本 **************
System.IO.FileNotFoundException: C:\Users\xizic\Desktop\EarthLiveSharp-v3.0\EarthLiveSharp\images\0_0.png
在 System.Drawing.Image.FromFile(String filename, Boolean useEmbeddedColorManagement)
在 EarthLiveSharp.scraper.JoinImage()
在 EarthLiveSharp.mainForm.startLogic()
在 System.Windows.Forms.Control.OnClick(EventArgs e)
在 System.Windows.Forms.Button.OnClick(EventArgs e)
在 System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
在 System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
在 System.Windows.Forms.Control.WndProc(Message& m)
在 System.Windows.Forms.ButtonBase.WndProc(Message& m)
在 System.Windows.Forms.Button.WndProc(Message& m)
在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** 已加载的程序集 **************
mscorlib
程序集版本:4.0.0.0
Win32 版本:4.6.1586.0 built by: NETFXREL2
EarthLiveSharp
程序集版本:1.0.0.0
Win32 版本:1.0.0.0
System.Windows.Forms
程序集版本:4.0.0.0
Win32 版本:4.6.1586.0 built by: NETFXREL2
System
程序集版本:4.0.0.0
Win32 版本:4.6.1586.0 built by: NETFXREL2
System.Drawing
程序集版本:4.0.0.0
Win32 版本:4.6.1586.0 built by: NETFXREL2
System.Configuration
程序集版本:4.0.0.0
Win32 版本:4.6.1586.0 built by: NETFXREL2
System.Core
程序集版本:4.0.0.0
Win32 版本:4.6.1586.0 built by: NETFXREL2
System.Xml
程序集版本:4.0.0.0
Win32 版本:4.6.1586.0 built by: NETFXREL2
mscorlib.resources
程序集版本:4.0.0.0
Win32 版本:4.6.1586.0 built by: NETFXREL2
System.resources
程序集版本:4.0.0.0
Win32 版本:4.6.1586.0 built by: NETFXREL2
System.Windows.Forms.resources
程序集版本:4.0.0.0
Win32 版本:4.6.1586.0 built by: NETFXREL2
************** JIT 调试 **************
要启用实时(JIT)调试,
该应用程序或计算机的 .config 文件(machine.config)的 system.windows.forms 节中必须设置
jitDebugging 值。
编译应用程序时还必须启用
调试。
例如:
启用 JIT 调试后,任何未经处理的异常
都将被发送到在此计算机上注册的 JIT 调试器,
而不是由此对话框处理。
我使用的版本是
<startup> <supportedRuntime version="v4.0"/> <supportedRuntime version="v2.0.50727"/> </startup> <appSettings> <add key="version" value="v3.0" />
image文件夹下的图片确实在更新,但是桌面背景图并没有被设置,是我的使用方法不对吗?
使用环境:
Win7 专业版
刚刚下载下来, 无法获取图片, 直接访问
http://himawari8-dl.nict.go.jp/himawari8/img/D531106/1d/550/
显示无法访问
Nice application! The image is a little small on my 1080p desktop resolution though. Perhaps you could add support for larger images? It seems like larger resolution images are available as tiles, based on a little URL hacking:
Example of the small size you use at the moment:
http://himawari8-dl.nict.go.jp/himawari8/img/D531106/1d/550/2016/01/28/133000_0_0.png
Example of a larger version of the same image:
http://himawari8-dl.nict.go.jp/himawari8/img/D531106/2d/550/2016/01/28/133000_0_0.png
http://himawari8-dl.nict.go.jp/himawari8/img/D531106/2d/550/2016/01/28/133000_0_1.png
http://himawari8-dl.nict.go.jp/himawari8/img/D531106/2d/550/2016/01/28/133000_1_0.png
http://himawari8-dl.nict.go.jp/himawari8/img/D531106/2d/550/2016/01/28/133000_1_1.png
怎么改时区?
公司电脑用的3.1的版本(很早之前下载的),之前也遇见过一次一样的现象,不知道3.2修复了没有
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.IO.FileNotFoundException: D:\EarthLiveSharp\images\0_0.png
at System.Drawing.Image.FromFile(String filename, Boolean useEmbeddedColorManagement)
at EarthLiveSharp.scraper.JoinImage()
at EarthLiveSharp.mainForm.timer1_Tick(Object sender, EventArgs e)
at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
EarthLiveSharp
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 built by: RTMRel
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 built by: RTMRel
System
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 built by: RTMRel
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.1 built by: RTMRel
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
Feature request: consider adding a right click menu to the tray icon when the program is minimized to the tray. This would have features like start, stop, etc.
现在程序无法从CDN或者orgin上面抓取图片了,停止在几天前的状态,想问下怎么解决,谢谢
版本v3.3,报错如下:
[get latest ImageID] 2016/10/17/234000
基础连接已经关闭: 接收时发生错误。 2016/10/17/234000
[image_folder]C:\Program Files\EarthLiveSharp-v3.3\images
[image_source]http://res.cloudinary.com/*******/image/fetch/http://himawari8-dl.nict.go.jp/himawari8/img/D531106 [size]1
直接访问
http://himawari8-dl.nict.go.jp/himawari8/img/D531106
提示
You don't have permission to access / on this server.
感觉图片源貌似不太对?审查元素看到的img src是:
http://himawari8-dl.nict.go.jp/himawari8/img/D531106/1d/550/2016/10/18/235000_0_0.png
或者
http://himawari8-dl.nict.go.jp/himawari8/img/D531106/thumbnail/550/2016/10/18/235000_0_0.png
感觉他们网站目录貌似改变了,变成了包含GMT时间的路径,这样图片的网址就成了动态变化的了
复现:程序启动一次后关闭,再移动到另外的一个文件夹,再次启动。
现象:程序假死后退出
OS版本:Windows 10 10586
目前已知的缓解办法是,手动清空Config文件中该配置项的值。
TODO
refer to this issue
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.