CSS 和 Inline SVG ViewBox
SVG 是一种使用XML书写矢量图的文件格式, 如果你用任何的文本编辑器打开一个SVG文件, 你会发现里面其实就是XML的内容。 在网页中,我们可以嵌入SVG图片, 它的使用和一般的图片并没有什么不同。 <img src=”1.svg” /> 因为SVG是矢量图, 它是通过… 阅读更多 »CSS 和 Inline SVG ViewBox
SVG 是一种使用XML书写矢量图的文件格式, 如果你用任何的文本编辑器打开一个SVG文件, 你会发现里面其实就是XML的内容。 在网页中,我们可以嵌入SVG图片, 它的使用和一般的图片并没有什么不同。 <img src=”1.svg” /> 因为SVG是矢量图, 它是通过… 阅读更多 »CSS 和 Inline SVG ViewBox
Sometimes, you may want to run some network command which may take long time to run. If you want to cancel the command which runs too long, you can use the… 阅读更多 »The Linux timeout command
Well, I was wrong in my last post. It’s possible to use a pipe in your type script code. The problem with the [value] attribute setting the reactive … 阅读更多 »Angular 2+ How do you use Date pipe in typescript
With Angular Reactive Form, your input value is automatically read from formControlName binding, which is defined in the type script file. There is no way … 阅读更多 »Angular 2+ Use pipe for reactive form controls
I recently migrated my website to a new server. When I tried to git push my website to git server from my new server, it failed, error as below. fennng@fen… 阅读更多 »RSA private key bad permission issue
If you would like to use mongo shell to connect to your mongodb but you don’t bother to install mongo client. You can use following command if you ha… 阅读更多 »Use docker mongo container to connect to remote mongo db
The official docker mongo express document doesn’t mention that you can connect to a remote mongo db. But it can. https://hub.docker.com/_/mongo-expr… 阅读更多 »Connect Local Mongo Express Docker container to MLab mongoDB
In some situation, you may not be able to use mongodb driver to connect mongo db database, for example, google apps script cannot connect mongodb directly.… 阅读更多 »Apart from restheart, Mlab also has a RESTful API
To fix the OBS black screen problem on surfacebook2, I have to use integrated graph processor to run OBS. Apply the following change as screenshot then res… 阅读更多 »Fix OBS Streaming black screen display on surfacebook2
在Azure 的VM上用git push 的时候碰到下面这个问题 error: pack-objects died of signal 9 解决方法是 原理嘛。。。我也不懂 官方文档请参考 –window-memory= This option provides an additional lim… 阅读更多 »解决 git push 时 error: pack-objects died of signal 9