python3学习手册
默认情况下,新创建的环境保存路径: windows /Users/用户名/anaconda3/env 目录下 linux /path/to/anaconda3/envs/ 目录下 # conda create -n py310 python=3.10 paramiko #创建一个名为 py310的环境,安装python 3.10版本及paramiko包,创建时如果本地没 有相应版本的软件包,需要联网去下载 #输出当前环境所有包列表到 pkgs.txt文件里 # conda list -e > epkgs.txt #输出当前环境所有包列表到 epkgs.txt文件里 # conda create --name EnvXXX --file epkgs.txt #基于指定的包创建 环境 ★conda设置软件源 # conda config --show channels 的结果) print("tables: ", result) if len(result) == 0: # 若未查询到有此表,则创建此表 sqlite_cursor.execute("create table tb_test (id varchar(36) NOT NULL PRIMARY KEY,name varchar(128),age int)") try: sqlite_cursor0 码力 | 213 页 | 3.53 MB | 1 年前3The DevOps Handbook
& recovery iv. Ensure features operate as intended and achieve organizational goals 2. Ch. 14 – Create Telemetry to Enable Seeing and Solving Problems a. Fact – Things will go wrong in Operations! collected at remote points and are subsequently transmitted to receiving equipment for monitoring 1. Create telemetry in application & environments (to include production, pre-production, and CD pipeline) iv. 2015 State of DevOps Report – high performers had MTTR 168x faster than low performers b. CREATE OUR CENTRALIZED TELEMETRY INFRASTRUCTURE i. Remove the silos of information – Developers don’t just0 码力 | 8 页 | 24.02 KB | 5 月前3The DevOps Handbook
possible i. Institutionalize rituals to increase safety, continuous improvement, and learning ii. Create mechanism to rapidly spread learning throughout the organization 2. Ch. 19 – Enable and Inject Learning CULTURE i. Unjust responses to incidents 1. Impede safety 2. Promote fear over mindfulness 3. Create bureaucracy rather than carefulness 4. Cultivate secrecy, evasion, and self-protection ii. Dr. make changes, and establish procedures 3. Execute iii. Expose latent defects in the systems and create progressively more resilient systems with higher degrees of assurance 3. Ch. 20 – Convert Local0 码力 | 9 页 | 25.13 KB | 5 月前3The DevOps Handbook
Introduction a. Goal – Enable & sustain fast flow of work by implementing continuous delivery i. Create the foundation of our deployment pipeline ii. Enabling fast & reliable automated testing iii. Enabling for low-risk releases b. Integrating objectives of QA & Operations to improve outcomes 2. Ch. 9 – Create the Foundations of Our Deployment Pipeline a. Enterprise Data Warehouse program by Em Campbell-Pretty specifications 1. Create a common build mechanism to create it on demand 2. Codified in automated environment build process iii. Environments will be stable, reliable, consistent, & secure c. CREATE OUR SINGLE0 码力 | 8 页 | 23.08 KB | 5 月前3The DevOps Handbook
Greatness is not achieved by leaders making all the right decisions—instead, the leader’s role is to create the conditions sotheir team can discover greatness in their daily work. In other words, creating someone who is responsible for ensuring meets or exceeds…requirements…from start to finish b. CREATE A VALUE STREAM MAP TO SEE THE WORK i. Gain concrete understanding of how work is performed ii. metrics in value stream 1. Lead Time 2. Process time 3. Percent Complete & Accurate (%C/A) c. CREATE A DEDICATED TRANSFORMATION TEAM i. Organizations use processes, specialization, and bureaucracies0 码力 | 8 页 | 22.57 KB | 5 月前3k8s操作手册 2.3
resources.yaml #创建控制器 Install the Tigera Calico operator and custom resource defini�ons # kubectl create -f �gera-operator.yaml #如果需要更改镜像,可编辑此 文件 # more �gera-operator.yaml | grep custom-resources.yaml #创建资源 Install Calico by crea�ng the necessary custom resource # kubectl create -f custom-resources.yaml #如果需要更改镜像,只能部署 后,只能更改相应的daemonset及deployment #查看calico generate #重新生成token,下面这一串 字符 ka8k02.9f2uowba7j21qv0g master1 结 点 # kubeadm token create ka8k02.9f2uowba7j21qv0g --print-join- command 再复制(kubeadm join xxxxx)命令到node结点上执行: node结点执行# kubeadm0 码力 | 126 页 | 4.33 MB | 1 年前3postgresql操作手册
alter user postgres with password 'passwdxxyy'; #修改管理员账号 postgres的密码 postgres=# postgres=# create user cof with password 'passwdxxyy2'; #创建一个名为cof的 用户,并设置密码 postgres=# grant all on database 赖库要>=目标pg数据库版本 下载最新版本的pgAdmin并安装运行 ★第6章、数据库及表基础操作 pg数据库名称及表名称不区分大小写 ★库操作 postgres=# create database db_test; #新建1个名为db_test的数据库 postgres=# select datname from pg_database; postgres=CTc/postgres postgres=# drop database db_namexx; #删除数据库,谨慎操作 创建用户并授权: postgres=# create user user1 with password 'passwdxxyy3'; #创建一个名为user1 的用户,并设置密码 postgres=# grant all on database0 码力 | 17 页 | 445.84 KB | 1 年前3git 操作手册
status #查看当前工作目录和暂存区的状态 On branch master No commits yet nothing to commit (create/copy files and use "git add" to track) # echo 'print("hello world")' > main.py #随便创建一个文件 commit -m "msgxxx" #将暂存区提交到仓库区(commit为提交操作),- m后指定本次提交的说明信息 1 file changed, 1 inser�on(+) create mode 100644 main.py # git log #查看提交记录;显示完整的hash值 commit 7b8ff6902bf10 码力 | 35 页 | 1.69 MB | 1 年前3Velocity Conference 2015
benefit for single page apps for offline support Putting Performance Best Practices Together to Create the Perfect SPA by Chris Love (Love2Dev) @ChrisLove http://www.slideshare.net/docluv/putting-per0 码力 | 4 页 | 176.79 KB | 5 月前3Open Discussion on Project Planning
performance. During the program execution phase, a high-level program estimate undergoes refinement to create detailed release and sprint-level estimates as requirements become better defined. The fidelity0 码力 | 2 页 | 49.30 KB | 5 月前3
共 14 条
- 1
- 2