bin/kafka-topics.sh --zookeeper localhost:2181 --list
bin/kafka-topics.sh --zookeeper localhost:2181 --describe --topic mytopic
bin/kafka-topics.sh --zookeeper localhost:2181 --alter --topic mytopic --config retention.ms=1000
... wait a minute ...
| import hudson.model.Action | |
| import com.cloudbees.workflow.flownode.FlowNodeUtil | |
| import com.cloudbees.workflow.rest.external.StatusExt | |
| import org.jenkinsci.plugins.workflow.graph.FlowNode | |
| import org.jenkinsci.plugins.workflow.cps.nodes.StepStartNode | |
| import org.jenkinsci.plugins.workflow.cps.nodes.StepEndNode | |
| import org.jenkinsci.plugins.workflow.actions.LabelAction |
bin/kafka-topics.sh --zookeeper localhost:2181 --list
bin/kafka-topics.sh --zookeeper localhost:2181 --describe --topic mytopic
bin/kafka-topics.sh --zookeeper localhost:2181 --alter --topic mytopic --config retention.ms=1000
... wait a minute ...
| # 你可以从该 URL 下载这个配置文件: http://surge.run/config-example/ios.conf | |
| # 用编辑器编辑后,再通过 iTunes, URL, AirDrop 或者 iCloud Drive 复制回 iOS 设备 | |
| # Version 2.0 | |
| [General] | |
| # 日志等级: warning, notify, info, verbose (默认值: notify) | |
| loglevel = notify | |
| # 跳过某个域名或者 IP 段,这些目标主机将不会由 Surge Proxy 处理。(在 macOS | |
| # 版本中,如果启用了 Set as System Proxy, 那么这些值会被写入到系统网络代理 | |
| # 设置中.) |
##分布式系统(Distributed System)资料
介绍:这是一篇介绍在动态网络里面实现分布式系统重构的paper.论文的作者(导师)是MIT读博的时候是做分布式系统的研究的,现在在NUS带学生,不仅仅是分布式系统,还有无线网络.如果感兴趣可以去他的主页了解.
| """ | |
| Store this file as `vars_plugins/password_from_keyring.py` and specify the | |
| following in `ansible.cfg`: | |
| ``` | |
| [defaults] | |
| vars_plugins=./vars_plugins | |
| ``` | |
| In your inventory specify: |
| import groovy.json.JsonSlurper | |
| import org.springframework.test.web.servlet.MockMvc | |
| import static org.springframework.test.web.servlet.setup.MockMvcBuilders.* | |
| import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.*; | |
| import static org.springframework.http.HttpStatus.* | |
| import spock.lang.Specification | |
| /** | |
| * A Spock Spring MVC Rest unit test that doesn't require a full spring context | |
| */ |
| /* Atomic boolean for golang | |
| A process-atomic boolean that can be used for signaling between goroutines. | |
| Default value = false. (nil structure) | |
| */ | |
| package main | |
| import "sync/atomic" |
| #!/bin/bash | |
| # | |
| # description: Apache Tomcat init script | |
| # processname: tomcat | |
| # chkconfig: 234 20 80 | |
| # | |
| # | |
| # Copyright (C) 2014 Miglen Evlogiev | |
| # | |
| # This program is free software: you can redistribute it and/or modify it under |
| # Rime dictionary | |
| # encoding: utf-8 | |
| --- | |
| name: luna_pinyin.emoji | |
| version: "2017.02.10" | |
| sort: by_weight | |
| use_preset_vocabulary: true | |
| ... |