SSL/TLS协议运行机制的概述 - 阮一峰的网络日志 - 0 views
-
客户端先向服务器端索要公钥,然后用公钥加密信息,服务器收到密文后,用自己的私钥解密。
-
互联网加密通信协议的历史,几乎与互联网一样长。
-
将公钥放在数字证书中。只要证书是可信的,公钥就是可信的。
- ...20 more annotations...
Storing Sessions in a Database, by Chris Shiflett - 0 views
-
to store sessions in a database rather than the filesystem
-
server affinity (methods that direct requests from the same client to the same server)
-
store sessions in a central database that is common to all servers
- ...6 more annotations...
Codeception - 0 views
The Twelve-Factor App - 0 views
-
A copy of the revision tracking database is known as a code repository, often shortened to code repo or just repo.
-
always a one-to-one correlation between the codebase and the app
-
If there are multiple codebases, it’s not an app – it’s a distributed system.
- ...4 more annotations...
The Twelve-Factor App - 0 views
-
software is commonly delivered as a service: called web apps, or software-as-a-service.
-
Use declarative formats for setup automation
-
offering maximum portability between execution environments
- ...18 more annotations...
A Clear, Concise & Comfy Code Review Checklist - DEV Community - 0 views
-
2 blocks doing similar things might be allowable, but 3 or more is a definitive red cross from me!
-
This would ultimately be integrated into your CI/CD pipelines running on each build/commit/deploy too; stopping any rogue commits getting in.
-
not to say that every code block that is duplicated needs to be refactored
- ...13 more annotations...
跳出运维,才能做好运维(凤凰项目)书评 - 0 views
-
1. 业务项目:这些通常是公司业务部门,比如产品研发部门或销售部门所提出的需求,比如新产品发布上线、为客户做实施、双十一这种大促活动的规划等等。这些工作通常具有一定的系统性,需要部门间通力合作。2. 内部项目:运维部门内部围绕业务项目所实施的一些列基础设施研发,部署自动化、多环境构建、持续交付、监控报警等等。3. 变更:根据其它部门申请,对运维组件进行变更操作,相对于业务项目,变更通常都会比较零散,比如加权限、开端口、开机器等等。对于变更,我们要维护好操作记录,做到有迹可寻。4. 计划外的工作:无法预料的问题处理,即“救火”。
-
计划外的工作越多,就会占用其它三种工作的时间,导致其它三种工作大量积累。
-
运维内部的基础建设跟不上,无法从根上去思考和解决计划外的工作,就会造成一种恶性循环,做不完的工作越堆越多(书中喜欢叫这玩意儿"半成品")直至让人崩溃。
- ...4 more annotations...
从《凤凰项目》谈一谈"业务IT一体化" - 知乎 - 0 views
-
IT能多大程度上参与到业务系统中去帮助到业务部门,甚至影响到业务部门,你的价值就有多大。这项工作列为紧急并且重要
-
“IT内部的项目”,有一些IT部门很热衷做这方面的项目,在我看来部分的原因是因为做这些东西相对来说是IT比较好玩或者擅长的。
-
重要但不紧急的工作,例如认真地研究和建立devops的基础环境。
- ...11 more annotations...
153 ☞ Sourcing a shell script in Make - 0 views
-
Make runs its commands in a subshell, so the variables exported by source aren’t available to other commands.
-
Make and Bash have awfully similar syntaces for setting variables
-
Make doesn’t parse quotes
- ...2 more annotations...
Makefiles - Best practices and suggestions | MDN - 0 views
-
hardcoded values - avoid them like the plague
-
For classes of hardware (unix/windows) place your makefile in a subdirectory, unix/Makefile.in
-
Initial make call should always be the workhorse: build, generate, deploy, install, etc.
- ...6 more annotations...
pre-commit - 0 views
-
a multi-language package manager for pre-commit hooks
-
pre-commit is specifically designed to not require root access
-
We copied and pasted unwieldy bash scripts from project to project and had to manually change the hooks to work for different project structures.
- ...3 more annotations...
GNU make: Special Variables - 0 views
-
include inc.mk
-
.DEFAULT_GOAL
-
assigning more than one target name to .DEFAULT_GOAL is invalid and will result in an error.
- ...6 more annotations...
迷途工程師: Makefile的賦值運算符(=, :=, +=, ?=) - 0 views
-
= 是最基本的賦值 := 會覆蓋變數之前的值 ?= 變數為空時才給值,不然則維持之前的值 += 將值附加到變數的後面
-
= 在執行時擴展(values within it are recursively expanded when the variable is used, not when it's declared) := 在定義時擴展(values within it are expanded at declaration time)
Pure CSS Parallax Websites - 0 views
« First
‹ Previous
341 - 360 of 1422
Next ›
Last »
Showing 20▼ items per page