Kinboy's note

前端漫记


  • Home

  • About

  • Tags

  • Categories

  • Archives

  • Top

  • Search

SVN 到 Git,迁移的准备工作

Posted on 2018-07-22 | In Git |
Words count in article: 4k | Reading time ≈ 15

原文:SVN to Git - prepping for the migration

在Why Git中,我们讨论了Git可以帮助您的团队变得更加敏捷的多种方式。一旦你已经决定转换,下一步就是弄清楚如何将已有的开发工作流迁移到Git。

这篇文章解释了你在将团队从SVN转换为Git时可能会遭遇到的最大变化。在迁移过程中最重要的事情是要记住Git不是SVN。为了理解Git的全部潜力,请尽力拥抱版本控制的新思想。

For administrators Basic Git commands Git Migration Tools For developers

For administrators 对管理员

采用Git可能需要几天到几个月的时间,具体取决于团队的规模。本节介绍了在培训员工使用 Git 以及从 SVN 迁移仓库到 Git过程中工程经理需要注意的问题。

Read more »

创建一个Git仓库

Posted on 2018-07-21 | In Git |
Words count in article: 2.9k | Reading time ≈ 11

git init git clone git config

本教程主要覆盖的几点如下:

  • 初始化一个新的 Git repo
  • 克隆一个已有的 Git Repo
  • 向 Repo 提交一个文件的修改版本
  • 对 Git Repo 进行一些远程协作的配置
  • 常用的 Git 版本控制命令

在本章结束后,你应该就能够创建一个 Git Repo,使用 Git 常用的命令,提交修改的文件,查看工程的修改历史以及连接一个 Git 托管服务(如 Bitbucket)

Read more »

浏览器是如何工作的

Posted on 2018-07-17 | In 翻译 , FE , Browser |
Words count in article: 13.4k | Reading time ≈ 78

Web browsers are probably the most widely used software. In this book I will explain how they work behind the scenes. We will see what happens when you type ‘google.com’ in the address bar until you see the Google page on the browser screen.

浏览器可能是使用最广泛的软件了。我将在这本书里解释浏览器后台是如何工作的。我们将会看到从你在浏览器的地址栏里敲下 ‘google.com’ 直到你看到浏览器窗口里显示出Google的网页之间发生了什么。

The browsers we will talk about 我们将要谈到的浏览器

There are five major browsers used today - Internet Explorer, Firefox, Safari, Chrome and Opera.
I will give examples from the open source browsers - Firefox,Chrome and Safari, which is partly open source.
According to the W3C browser statistics, currently(October 2009), the usage share of Firefox, Safari and Chrome together is nearly 60%.

So nowdays open source browsers are a substantial part of the browser business。

当今主流的浏览器一共有5种,分别是 Internet Explorer, FireFox, Safari, Chrome 以及 Opera。

我将从一些开源浏览器种给出示例,FireFox,Chrome,Safari这几种是部分开源的。

根据W3C 浏览器统计,目前(2009年10月),FireFox,Safari以及Chrome一共占据了浏览器将近60%的市场份额。

所以现在开源浏览器是浏览器业务的重要组成部分。

Read more »

探索 JavaScript For-in 循环

Posted on 2018-07-14 | In 翻译 , FE |
Words count in article: 2.4k | Reading time ≈ 9

For-in 循环是对象属性迭代技术中唯一一项可以跨浏览器的。 关于使用 for-in 循环迭代数组的危险性以及何时使用 hasOwnPropert 过滤器的文章有很多,但是美中不足的是,关于这些普遍使用的语言结构的文章又出奇的不完整。本文尝试着填补一些空白,希望能对读者有所帮助。

基础

ES 5 规范详细说明了 for-in 语句的两种不同的语法:

1. for (var variable in objectExpression) {statement}

第一种是我们熟悉的格式。等号右边的 objectExpression 可以是任意可计算为 JavaScript 对象的表达式。如果我们在等号右边给定了原始类型,那么它将会被包装成对象。然后逐一迭代包装对象的属性。在每一次迭代中,对象属性的名称将被赋值给声明的迭代变量,如果存在表达式,会对表达式进行计算。

1
2
3
4
5
var myObj = {a: 1, b: 2, c: 3}, myKeys = [];
for (var property in myObj) {
myKeys.push(property);
}
myKeys; //['a','b','c'];
Read more »

ike-scan扫描ipsec vpn服务端ike加密算法

Posted on 2018-07-11 | In Linux |
Words count in article: 1.8k | Reading time ≈ 11

原文:IPsec IKEv1 algorithms

IPsec IKEv1 Algorithms

Weak Legacy Algorithms

As mentioned in the README.md file, there is a general consensus that the following legacy algorithms are now considered weak or broken in regards to security and should be phased out and replaced with stronger algorithms:

Encryption Algorithms :
  • 3DES
  • Blowfish
Integrity Algorithms :
  • MD5
  • SHA1
Diffie Hellman Groups :
  • MODP768
  • MODP1024
  • MODP1536
Read more »

Header Field Definitions

Posted on 2018-07-02 | In 翻译 , FE , HTTP |
Words count in article: 17.9k | Reading time ≈ 111

part of Hypertext Transfer Protocol – HTTP/1.1
RFC 2616 Fielding, et al.

14 Header Field Definitions

This section defines the syntax and semantics of all standard HTTP/1.1 header fields. For entity-header fields, both sender and recipient refer to either the client or the server, depending on who sends and who receives the entity.

这部分定义了所有标准 HTTP/1.1 头部字段的语法和语义。对 实体头部字段,发送者和接收者指客户端或者服务器,取决于谁发送以及谁接收实体

14.1 Accept

The Accept request-header field can be used to specify certain media types which are acceptable for the response. Accept headers can be used to indicate that the request is specifically limited to a small set of desired types, as in the case of a request for an in-line image.

Accept 请求头可以被用于指定可接收的请求响应中的媒体类型。Accept 头部可以用于指示请求只限于特定一小组所需的类型,例如在在请求一个内嵌图片的时候可以指定图片的格式等。

1
2
3
4
5
6
7
8
Accept         = "Accept" ":"
#( media-range [ accept-params ] )
media-range = ( "*/*"
| ( type "/" "*" )
| ( type "/" subtype )
) *( ";" parameter )
accept-params = ";" "q" "=" qvalue *( accept-extension )
accept-extension = ";" token [ "=" ( token | quoted-string ) ]
Read more »
1…67
kinboy

kinboy

66 posts
31 categories
52 tags
RSS
GitHub E-Mail
0%
© 2019 kinboy

鄂公网安备 42011102002861号