Security/Server Side TLS - MozillaWiki - 0 views
-
The goal of this document is to help operational teams with the configuration of TLS on servers. All Mozilla sites and deployment should follow the recommendations below. The Operations Security (OpSec) team maintains this document as a reference guide to navigate the TLS landscape. It contains information on TLS protocols, known issues and vulnerabilities, configuration examples and testing tools. Changes are reviewed and merged by the OpSec team, and broadcasted to the various Operational teams.
博客來-代碼之殤(原書第2版) - 2 views
The Rails Command Line - Ruby on Rails Guides - 0 views
-
rake --tasks
-
Think of destroy as the opposite of generate.
-
runner runs Ruby code in the context of Rails non-interactively
- ...28 more annotations...
How to Report Bugs Effectively - 0 views
-
有個理由可以解釋為什麼技術支援工作這麼難做, 原因就是這些亂七八糟的錯誤報告
-
希望全世界的人在報告任何錯誤前都能讀讀這篇短文
-
錯誤報告的目的是要讓程式師能親眼目睹程式出錯
- ...26 more annotations...
鳥毅的Blog: 在.Net呼叫Java Library - 0 views
tpcc-mysql : Code : percona-tools - 0 views
The Flatiron School | Why You Don't Need Has_and_belongs_to_many... - 0 views
-
When creating associations between models, you almost never know how this relationship will blossom as your application grows.
-
setup a solid has_many :through relationship with an associated join table, you provide yourself with a huge amount of flexibility down the road.
-
A has_many :through association is used to setup a many to many relationship with another model
- ...2 more annotations...
Duet Display - 0 views
The Asset Pipeline - Ruby on Rails Guides - 0 views
-
provides a framework to concatenate and minify or compress JavaScript and CSS assets
-
adds the ability to write these assets in other languages and pre-processors such as CoffeeScript, Sass and ERB
-
invalidate the cache by altering this fingerprint
- ...80 more annotations...
Embracing REST with mind, body and soul « Plataformatec Blog - 0 views
-
gain with respond_with introduction is more obvious if you compare index, new and show actions
-
you can define supported formats at the class level and tell in the instance the resource to be represented by those formats.
-
when a request comes, for example with format xml, it will first search for a template at users/index.xml. If the template is not available, it tries to render the resource given (in this case, @users) by calling :to_xml on it
- ...6 more annotations...
Asset Pipeline - Ruby on Rails 指南 - 0 views
-
清单文件或帮助方法
-
Sprockets 会按照搜索路径中各路径出现的顺序进行搜索。默认情况下,这意味着 app/assets 文件夹中的静态资源优先级较高,会遮盖 lib 和 vendor 文件夹中的相应文件
-
如果静态资源不会在清单文件中引入,就要添加到预编译的文件列表中,否则在生产环境中就无法访问文件。
- ...36 more annotations...
Go and the Secure Shell protocol - 0 views
David Verhasselt - Different Ways to Set Attributes in ActiveRecord - 0 views
-
update
-
attribute will be marked as dirty and the change will not be sent to the database yet
-
will change the attribute in the model and pass it straight to the database, without running any validations
- ...9 more annotations...
« First
‹ Previous
101 - 120
Next ›
Last »
Showing 20▼ items per page