- 团队名称:龙哥说的都队
- 作者:@disksing @JerryWangTdcy @YiniXu9506
- 项目进展:尚未开始
项目链接 https://github.com/orgs/dui-dui-dui/repositories
通过可视化的方式配置 Placement Rules,可以在配置的过程中直观地看到 Placement Rules 生效后的效果。
项目链接 https://github.com/orgs/dui-dui-dui/repositories
通过可视化的方式配置 Placement Rules,可以在配置的过程中直观地看到 Placement Rules 生效后的效果。
package main | |
import ( | |
"bytes" | |
"context" | |
"flag" | |
"fmt" | |
"log" | |
"math/rand" | |
"time" |
FROM ubuntu | |
RUN apt-get update && \ | |
apt-get install -y curl zip jq git && \ | |
mkdir /tmp/install && cd /tmp/install && \ | |
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" && \ | |
unzip awscliv2.zip && \ | |
./aws/install && \ | |
curl "https://releases.hashicorp.com/terraform/0.12.28/terraform_0.12.28_linux_amd64.zip" -o "terraform_0.12.28_linux_amd64.zip" && \ | |
unzip terraform_0.12.28_linux_amd64.zip && \ |
For blog post http://disksing.com/failure-probability-analysis/ |
function tagInbox() { | |
var now = new Date(); | |
var threads = GmailApp.getInboxThreads(); | |
for (var i = 0; i < threads.length; i++) { | |
var thread = threads[i]; | |
var messages = thread.getMessages(); | |
for (var j = messages.length-1; j >= 0; j--) { | |
var message = messages[j]; | |
if (now - message.getDate() > 30*60*1000) { // ignore mails from more than 0.5h ago. | |
break; |
#!/bin/bash | |
# Add missing DCOs for current branch (starting from merge base to master) | |
# Following commit history as an example, this script will affect commits E,F,G. | |
# | |
# v master | |
# A - B - C - D - H - I | |
# \ | |
# E - F - G | |
# ^ feature (HEAD) |
package main | |
import ( | |
"context" | |
"flag" | |
"fmt" | |
"log" | |
"math/rand" | |
"time" |
package main | |
import ( | |
"flag" | |
"log" | |
"strings" | |
"sync/atomic" | |
"time" | |
"github.com/pingcap/network" |
package main | |
import ( | |
"container/heap" | |
"flag" | |
"fmt" | |
"math/rand" | |
"time" | |
) |
package main | |
import ( | |
"fmt" | |
"sync/atomic" | |
"time" | |
) | |
type atomicObject struct { | |
physical time.Time |