Finally, I am trying coding tutorials Here is the first two videos:Inspired by this: https://www.acefrontend.com/challenges
From bash to zsh, very basic things need to do After upgrading MacOS to Catalina, everytime opening a terminal, there would be a prompt saying:The default interactive shell is now zsh. To update your account to use zsh, please run `chsh -s
LetsEncrypt Certbot renew successfully, but still got expired certificate from client(browser, curl or wget) side, what's the problem? This article is just a trouble-shooting blog.It's rarely happen. After you even did a force renew by usingsudo certbot renew --force-renewalAnd then check the certificate by using sudo certbot certificatesEverything looks just
A cryptocurrency capital gain tax calculator written in Python by me In 2019, I spent about a month to write this Python cryptocurrency capital gain tax calculator.Finally, I published this in github: https://github.com/viewplatgh/pycgtI wish this can be helpful to
Verify rsa sha256 signed text in Python I created a gist of basic implementation, in Python. Here it is: https://gist.github.com/viewplatgh/cb690159e8ee028cb4c9483cb127e6c3Asymmetric encryption use a pair of public & private key to do the crypto job. Private
Ghost 的更新速度远超我up的速度啊 好久没跟新了,打开一看居然要我更新到3.0。。。简单查一下,好像Ghost都开启收费模式了,这个3.0不知道能不能免费用啊,希望能让我免费更新到2.x最新版吧,希望最新2.x能解决目前正让我头疼的中文输入的问题。。。该努力做些什么呢。还研究前端吗?嗯,研究吧。无意看到早在2015年我研究的一个问题,Javascript中 new className() 和 new className 有什么区别呢?前端面试的时候问这个问题估计能筛掉一半。答案在这里:https://stackoverflow.com/questions/3034941/can-we-omit-parentheses-when-creating-an-object-using-the-new-operator短答案是:没有区别。支持没有括号的版本只是Javascript提供的一个语法糖而已。
如何在Mac上运行带图形界面的Leela Zero 用AI来复盘是一件很开心的事情,以前棋输了都不知道自己哪一步走错了,现在AI可以很轻松而且精确的告诉我,真是比请一位职业棋手在身边还有效,着实给普通接触不到职业棋手的业余围棋爱好者带来了福音。
使用git rebase解决push rejected non-fast-forward问题 我用了git很久了以后才开始接触rebase这个命令,想必git初学者一般都不太熟悉rebase,网上关于rebase的介绍以及和merge的对比的文章一搜便是,这里就不重复了。这篇就介绍一下git rebase的一个简单有用的实例。 在团队使用git开发过程中,不小心会遇到这种情况,push自己的代码前忘记先pull一下了。这样在push时候会遇到类似一个这样的错误: ! [rejected] branch -> branch (non-fast-forward) error: failed to push some refs to … hint: Updates were rejected because the tip of your current