Preface We know China government enforces all VPNs be censored and blocks out all unregistered VPN. It’s going to be a tall order to register…
How to fix docker pull failure of layers in Amazon S3 in China for MacOS – 如何解决中国MacOS 下 docker pull 失败(Amazon S3)被qiang
The problem – 问题 If you are Chinese developer, you may be familiar with: 如果你是中国的码农,你可能很熟悉: Yes, Amazon S3 is blocked out in China. 是的 Amazon…
How to count commits in a specific branch – 如何计算一个git 分支里的 commit数量?
Stackoverflow anwser link by Paul Lan I posted my answer here. https://stackoverflow.com/a/47133753/931908 The problem If you try to google Stackoverflow of how to count commits…
A simple example to generate reactive computed property in Angular 5 – 在 Angular 5 中使用计算属性
前言 – Preface 无论是 Vue.js 还是 Knockout.js, 计算属性 (Computed Property / Computed State / Calculated State) 都是一个有用的概念。在一般的情况下,尽可能地减少一个组件中的可变 (mutable)状态 (state),可能在一定程度上降低软件复杂度、代码量和风险性(变量不小心被更改)
Configure PyCharm and get started with Tensorflow and Tensorboard – 配置 PyCharm IDE,开始整 Tensorflow
Stackoverflow 上的回答 – The answers in Stackoverflow 刚回答了一个问题,分享给和我一样的 Tensorflow 文盲,快速入手 Tensorflow
Google Chrome Official Offline Installer for Chinese – update every 3-day – 谷歌浏览器官方离线安装包(中文版,每三天自动更新最新)
Chrome official release website has been blocked out in China. Provide the link for China netizens. 谷歌浏览器官方离线安装包。 https://lanshunfang.github.io/xiaofang.me/download/
How to setup Selenium Chrome Docker to use HTTP Proxy
As you may know, selenium docker is the main stream way to do a real GUI End-2-End headless testing over Chrome / Firefox. While it…
Better online conferencing solution for distributed software development team, with DSLR camera as WebCam for Zoom
Communication First. Yep, a lot of effort has been wasted in your team in terms of communication? And you found your teammates have a lot of…
Protected: Shadowsocks-R Android 小方番茄配置
There is no excerpt because this is a protected post.
Protractor E2E Test for Non-Angular Website (jQuery-based)
GitHub: https://github.com/lanshunfang/protractor-jquery/ Videos YouTube YouKu (China) Why Google invented Protractor over WebDriverJs Protocol with crispy designs on real world testing scenarios. It’s originally for AngularJS and…
Install Internet Explorer / Microsoft Edge on your Mac – 正版免费的安装 IE Edge 和其他版本在你的 Mac 上
Preface – 前言 With reference to http://osxdaily.com/2011/09/04/internet-explorer-for-mac-ie7-ie8-ie-9-free/ 参考:osxdaily You are a regular developer who use Mac. You want to debug your website within IE。 你是一个正常的开发工程师,所以你用…
Everything are HTML components – 小谈 HTML 组件化与可视化的编程
从 AngularJS 1.0.7 开始,我们就拿它做项目。刚开始使用了 angular-seed 创建页面,结合 ng-controller 做了好多事。同时我们也用了 directive 做了些公用组件。 我们组在 retrospection 时,慢慢地有了对比。 ng-controller 做出来的东西都是大块大块的,彼此连动,组织很不清晰。而 directive 却是自成体系,透过组件嵌套和通信控制,我们可以做出任意的页面——而且还保证各个组件自己是独立、可测试和不受其他 Scope / EventListener 影响的。甚至,我们还总结出了一个原则: