LIFE HACKING
已经很久没有能够静下心来写自己的年终总结了。过去的一年里,并没有发生太多轻松或愉快的事情。说到头来,还是因为我只有向别人炫耀成功的虚荣心,却没有正视自己失败的勇气。
已经很久没有能够静下心来写自己的年终总结了。过去的一年里,并没有发生太多轻松或愉快的事情。说到头来,还是因为我只有向别人炫耀成功的虚荣心,却没有正视自己失败的勇气。
截至本文推送时,各主要国家的国债收益率已经跌至 1980 年以来的最低点。细心观察的同学可能会发现,类似德国的一些国家,其10年期国债收益率已经跌至负值。
比特币的热潮不是没有来过,只是这一次尤其汹涌。直接催动了区块链技术相关产业的野蛮生长,菜市场的大爷大妈也不再关心韭菜的价格,而是24小时不停歇地死盯着加密货币交易市场的起伏,随时准备贴上自己所剩无几的棺材本。比特币涨到了九万块的今天,你是继续选择做一只把头埋在土里的鸵鸟,每日996,穿着格子衬衫,吃着黄焖鸡米饭,拿着10来k的工资;还是拿出你的毕生积蓄,兑换BTC,参与ICO,西装革履同俊杰名媛谈笑风生,坐等币价翻个几千倍,从此走上人生巅峰呢?
一片繁荣景象换句话讲叫做乱象丛生,这也正印证着如今的加密货币交易市场。不管是BTC还是ETH,总是有涨有跌;即使你发行新货币搞ICO,也不免要有跑路的一天,唯有成立交易平台,不管涨跌,来来去去,你买我卖,平台都能从中揩上一笔,美名其曰交易费、矿工费亦或者是燃料费。
现如今人人都想搭平台,建交易所,各种虚拟货币交易平台也如雨后泥鳅一般冒了出来。新手想要上车,难免被一些不靠谱的平台坑到。为了让同学们少走一些弯路,我在这里推荐一些可靠的平台、网站、APP供大家参考。
支付宝的文档和SDK简直是垃圾,根本没有任何说明,源码里也没个准确的注释,只有一个JAVA的示例不知所云。
在调试验签接口时踩了很多坑,官方的SDK根本没法用,而且支付宝本身的验签包括第三方登陆、网站支付、移动端支付等,另外SDK里本身的加密校验方式貌似也不止一种。
几经折腾,遂抛弃了SDK,直接使用下面这段代码解决了问题:
Today we’re going to introduce how to use CircleCI for Continuous Deployment on GitHub Pages.
Redux有3大核心概念:
其中Action和Store都非常好理解,我们可以直接按照其字面意思,将他们理解为动作和储存。
Github Pages is very powerful and it’s free to use. Nowadays many developers deploy their blog & project pages on Github Pages using jekyll.
You’re free to use Github Pages Builder by default. But if you want to use additional plugins or other powerful features of jekyll, you’ll need to build your site locally and then push it to your Github repo.
And every time you update your site or add new posts, you’ll need to build it again and push it up again.
It’s very annoyinng and a waste of time.
Can’t we use some methods to make it automatically happen?
Of course we can!
Today I’ll guide you the set up an nginx server to host mirrors for blocked websites.
So you can visit them freely in restricted areas.
You’ll need a server that can access those blocked websites as well as can be accessed by your local machine.
If you haven’t got one, follow the very first step of this former tutorial.
I’ve tested all the popular text/markdown editors on Valentine’s Day.
Including:
As a front-end developer who often write technical articles on github, I found that the best writing editor for me is Atom.
1.umbrella
Use your imagination, you could even draw three lines to pass this task.
The Amazon wish list has many bugs.I even can not share it to my friends via URL.
So I use two lines JavaScript to convert them into markdown:
list = $$('h5 a')
list.forEach(function(link){console.log('* ['+link.innerText+']' + '('+link.href+')')})
You may get an integer overflow bug if you’re using strtotime
on a 32bit server.
This was the Y2K38 problem.
The UNIX timestamp will reach the int variable limitation on 32bit OS at 19 January 2038.
However, we can fix this bug by using a customized function: