A Seat at the Table - IT Leadership in the Age of Agilitylate. This, as we know, is based on the outdated idea that we define the scope of the system ahead of time and keep working until we deliver it. That is precisely what we do not do in an Agile approach0 码力 | 7 页 | 387.48 KB | 5 月前3
python3学习手册★文本文件读写操作 .write()方法写入文件,打开文件默认是跟随系统本地语言编码,写入 文件也是,得在打开文件时指定文本编码;写入内容时,默认末尾不 带换行符,可自己加\n # coding=utf-8 with open("test.txt","w+",encoding="utf8") as fileobj: fileobj.write("默认是不换行的") fileobj.write(", readlines() 读取所有行,返回的是由每一行组成的list(带有换行符) ★二进制文件操作→struct模块 在打开文件时,操作符添加b就行,读写仍然使用.read()和.write()方 法,读取的二进制内容是存储在bytes里,可以使用struct模块去解析成 对应的数据类型 ★打开文本文件与打开二进制文件的区别: 打开文本文件时:遇到EOF(0x1A)则认为文件结束了,不管文件里是 __的目录,里面就是各模块的 字节码文件 linux下可设置环境变量不生成字节码文件: export PYTHONDONTWRITEBYTECODE=1 import sys sys.dont_write_bytecode = True #在导入时指定不生成 字节码 ★python解释器查找模块顺序 python解释器会去哪里找要导入的模块呢? 1,首先查找sys.mod0 码力 | 213 页 | 3.53 MB | 1 年前3
The DevOps Handbookas possible i. WRITE OUR AUTOMATED TESTS BEFORE WE WRITE THE CODE (“TEST DRIVEN DEVELOPMENT”) i. TDD – Kent Beck as part of Extreme Programming 1. Ensure the tests fail – “Write a test for the next next bit of functionality you want to add” 2. Ensure the tests pass – “Write the functional code until the test passes”3. “Refactor both new and old code to make it well structured” j. AUTOMATE AS MANY Creating performance testing environments can easily be more complex than the application itself iv. Log performance results and evaluate compared to previous results l. INTEGRATE NON-FUNCTIONAL REQUIREMENTS0 码力 | 8 页 | 23.08 KB | 5 月前3
k8s操作手册 2.3/var/lib/chrony/dri� makestep 1.0 3 rtcsync keyfile /etc/chrony.keys leapsectz right/UTC logdir /var/log/chrony EOF # �medatectl set-�mezone Asia/Shanghai #设置时区 # systemctl restart chronyd # --cert=/etc/kubernetes/pki/etcd/server.crt \ --key=/etc/kubernetes/pki/etcd/server.key \ endpoint status --write-out=table # 查看集群健康状态 etcdctl -- endpoints=h�ps://10.99.1.51:2379,h�ps://10.99.1.52:2379,h�ps://10 #pod容器要使用的存储卷声明 - name: alog #根据此名称去寻找对应的volume存储卷 mountPath: /var/log/nginx #容器里的挂载点 readOnly: false #非只读(即可读写) volumes:0 码力 | 126 页 | 4.33 MB | 1 年前3
git 操作手册#将暂存区提交到仓库区(commit为提交操作),- m后指定本次提交的说明信息 1 file changed, 1 inser�on(+) create mode 100644 main.py # git log #查看提交记录;显示完整的hash值 commit 7b8ff6902bf14780a413a021cc1d946fd82fa82e (HEAD -> #提交的说明信息 # git log --oneline #同上,提交记录以一行显示一次提交;只显示hash 值前6个字符 7b8ff69 (HEAD -> master) msgxxx # git log 文件名 #查看目标文件的提交记录 # git log -p -3 是让HEAD指向不同的分支。每次有新的 提交时,HEAD都会自动指向最新的提交。 首次创建分支前,得先进行一次提交,否则git无法创建分支(因为分支是基于 提交去创建的)。 # git log --decorate --graph --all #查看整个项目的分支图 # git branch #查看分支列表,默认只有一个分支,分支名默认为0 码力 | 35 页 | 1.69 MB | 1 年前3
DoD CIO Enterprise DevSecOps Reference Design - Summaryrather than blacklisting. Services that support the security sidecar include: 1. Program-specific Log Storage and Retrieval Service 2. Service Mesh 3. Program-specific artifact repository 4. Runtime0 码力 | 8 页 | 3.38 MB | 5 月前3
The DevOps HandbookOUR CENTRALIZED TELEMETRY INFRASTRUCTURE i. Remove the silos of information – Developers don’t just log what’s interesting to development. Operations don’t just monitor what’s up or down. ii. Modern Monitoring0 码力 | 8 页 | 24.02 KB | 5 月前3
共 7 条
- 1













