fonts.rankun.org

搭建一个在国内外都可以访问的 Google Fonts 代理

Google fonts is blocked in China.

– by Google Fonts Unstable in China – Here is How to Fix It

Yah, we all know that. But the general solution for this is awkward to me, Because after I switched the fonts location to http://fonts.useso.com, I can open my blog very quickly inside China, where the useso(360™) located. When I was trying to access it from the outside of China, both Japanese and West American are slow, over 5 seconds to download a 800 Bytes file, That’s unbearable.

Then I tried to use Qiniu as a CDN to cache fonts.googleapi.com, then I realized it’s blocked anyway. Afterwards, I use the CDN to cache fonts.useso.com, still doesn’t work at all, it persist showing me this:

1
2
3
{
error: "get from image source failed: E400"
}

Read More

Bitcoin playground

使用 Blockchain 的服务进行比特币交易

Use blockchain bitcoin service to transfer bitcoins

Wallet api

1
2
3
4
5
6
7
8
https://blockchain.info/merchant/$guid/payment
?password=$main_password
&second_password=$second_password
&to=$address
&amount=$amount
&from=$from
&fee=$fee
&note=$note

Request tips:

The My Wallet API provides a simple interface Merchants can use interact with their wallet. Blockchain.info will decrypt the wallet on our server manipulate it as necessary and re-save. HTTP GET and POST are supported. However, if a POST request is sent without “Content-Type: application/x-www-form-urlencoded” header, some endpoints may not work correctly.

Read More