python3学习手册
重新格式化代码,Reformat Code Ctrl + B 跳转到鼠标指定的函数定义处 Shi� + F10 运行程序 Ctrl + R 查找替换 ★设置字体颜色 File → Se�ngs → Editor → Color Scheme → Language Defaults → 选中目 标Scheme ★设置背景颜色 File→Se�ngs→Editor→Color Scheme→Console User Interface , 勾 选 Disable double modifier key shortcuts ★设置每行最大长度 File → Se�ngs → Editor → Code Style → 右侧的 General下的 Hard wrap at: 120(默认为120字符) ★设置源码文件字符编码 File → Se�ngs → Editor → File Encodeings FOREGROUND_BLUE = 0x01 # text color contains blue. FOREGROUND_GREEN = 0x02 # text color contains green. FOREGROUND_RED = 0x04 # text color contains red. FOREGROUND_INTENSITY = 0x08 # text color is intensified.0 码力 | 213 页 | 3.53 MB | 1 年前3The DevOps Handbook
streams of work were significantly behind schedule. Surprising discovery: only 50% of the source code in Dev/Test environments matched Prod. They fixed forward, but changes not put back into version consistent, & secure c. CREATE OUR SINGLE REPOSITORY OF TRUTH FOR THE ENTIRE SYSTEM i. ALL parts (code & environments) of the system are shared in a version control repository ii. Version control is value stream iii. Everything, everything, everything is checked into version control 1. Application code & dependencies 2. Environment scripts & creation tools 3. DB scripts and reference data 4. Containers0 码力 | 8 页 | 23.08 KB | 5 月前3The DevOps Handbook
to which its policies are expressed as code.” c. CREATE A SINGLE, SHARED SOURCE CODE REPOSITORY FOR OUR ENTIRE ORGANIZATION i. Firm-wide shared source code repository is powerful way to share local transfer security knowledge to the teams E. INTEGRATE PREVENTIVE SECURITY CONTROLS INTO SHARED SOURCE CODE REPOSITORIES AND SHARED SERVICES i. Add mechanisms & tools ii. Add security’s pre-blessed libraries tests 1. Static Analysis – inspect program code for all possible run-time behaviors and seek out coding flaws, back doors, and potentially malicious code2. Dynamic Analysis – tests executed while a0 码力 | 9 页 | 25.13 KB | 5 月前3A Seat at the Table: IT Leadership in the Age of Agility - Part 2
to a problem. if we mandate that projects reuse code whenever possible, each project may have to spend time searching archives of available code to find something that is a near fit, and then deal and design patterns. Incremental delivery and staged investments reduce cost and risk. Custom code is almost not custom these days. A developer incorporates open source frameworks, uses standardized are already available. There are “cookbooks” available with templates for deploying systems, code snippets that handle common tasks, and well-known and well-studied algorithms for solving typical0 码力 | 7 页 | 387.61 KB | 5 月前3The DevOps Handbook
Myth—DevOps Means Eliminating IT Operations, or “NoOps” f. Myth—DevOps is Just “Infrastructure as Code” or Automation: g. Myth—DevOps is Only for Open Source Software: 2. Foreword xix 3. Imagine a secure service to the customer b. THE BUSINESS VALUE OF DEVOPS i. Code and change deployments (thirty times more frequent) ii. Code and change deployment lead time (two hundred times faster) iii. Production Consider when we have an annual schedule for software releases, where an entire year’s worth of code that Development has worked on is released to production deployment. Like in manufacturing, this0 码力 | 8 页 | 22.57 KB | 5 月前3A Seat at the Table - IT Leadership in the Age of Agility
of management get in the way of goals. The employee wants the shortest possible path to shipping code without needing layers of approval. Management should be close enough to the action that they can in the interest of shipping code. If there is a backlog in exploratory testing, people who normally do development will help test. Software engineers will oversee their code in production and help make Tests and infrastructure are now both represented in code; with SDN, soon even the network will be. Infrastructure can now be tested, like code; it can be placed in version control. Technology matters:0 码力 | 7 页 | 387.48 KB | 5 月前3The DevOps Handbook
or Kolmogorov-Smirnov 4. Ch. 16 – Enable Feedback So Development and Operation Can Safely Deploy Code a. USE TELEMETRY TO MAKE DEPLOYMENTS SAFER i. Actively monitor production telemetry whenever anyone the same workstation. Popularized by XP & Agile. 1. One engineer is the driver – actually writing code 2. Other engineer is the navigator/observer/pointer – reviewing work, considers strategic direction “paired programmers are 15% slower than two independent individual programmers, while ‘error-free’ code increased from 70% to 85%. Since testing and debugging are often many times more costly than initial0 码力 | 8 页 | 24.02 KB | 5 月前3安全简介
Synchronizes alignment, collaboration and delivery for large numbers teams Core values: Code quality - can't scale crappy code Program execution Alignment Transparency House of Lean: "We need to figure0 码力 | 2 页 | 304.16 KB | 5 月前3DevOps Meetup
planning and demos Put everything into a repository (configurations, scripts, etc.) Infrastructure as Code Turned over repeatable and automatable tasks to the product team wherever possible. Control our in troubleshooting and encourages technical learning. How we need to improve Sharing ideas, code, Community of Practice, etc. Test Driven Infrastructure Blue – green deployments Combining0 码力 | 2 页 | 246.04 KB | 5 月前3The Phoenix Project
and on his drive into the office, Bill gets a call from the CEO. The company's new IT initiative, code named Phoenix Project, is critical to the future of Parts Unlimited, but the project is massively0 码力 | 3 页 | 154.45 KB | 5 月前3
共 11 条
- 1
- 2