AWS Openshift Cluster Installation Guide
The main reference is here: https://github.com/openshift/openshift-ansible-contrib/tree/master/reference-architecture/aws-ansible
Create
1 | ./ose-on-aws.py --region=us-east-2 --keypair=lgm-oc \ |
The main reference is here: https://github.com/openshift/openshift-ansible-contrib/tree/master/reference-architecture/aws-ansible
1 | ./ose-on-aws.py --region=us-east-2 --keypair=lgm-oc \ |
In this section, We are going to create a nodejs project with mongodb in OpenShift. We assume that you have done all the preparation work listed in the invitation email of this workshop. And there’re some additional steps to get yourself ready.
又到小米发布会了,这次发布会将从发布评论的人里面选人,每分钟送一台小米手机。
于是写了几行代码自动发评论,省去了手工的麻烦。娱乐一下,碰个运气。
直播地址:https://hd.mi.com/x/12041b/index.html?client_id=180100041086&masid=17409.0195
代码如下:
1 | // 随机选择一个当前评论列表里面的评论 |
以上代码粘贴到控制台执行就可以了。
Original:
1 | .a { |
当子元素是浮动布局时,父元素无法获取到正确的宽高,这种情况常常使用clearfix方案来解决。
** 示例如下:**
1 | <div> <!-- 父元素无法获取到正确的尺寸 --> |
1 | StandBy(待机) |
连接状态:
最近在一个网站上,看到了很炫的网页特效:视频背景透明。该网址是:http://videostir.com/。他们还为用户提供了制作透明视频的服务。用户只需要上传他们要求的格式的视频,就可以生成一个透明的视频。
正如该网站所演示的,这种视频作为网站的引导,效果非常赞,互动的感觉非常强烈。