Public Keys, Private Keys, and Certificates...
分类:
其他好文 时间:
2015-02-25 00:47:48
阅读次数:
198
一、配置公共密钥https://help.github.com/articles/generating-ssh-keys/二、设置缓冲值(push文件较大时导致错误)\.git\config[http] postBuffer = 2428800
分类:
其他好文 时间:
2015-02-24 15:07:29
阅读次数:
147
在Redis中,我们还可以直接对key直接操作,下面是我们常用的主要命令:
(1)keypattern 它表示获取所有匹配pattern的keys,这里需要注意的是,我们应该避免使用该命令,因为对于大型数据库而言,该命令非常耗时,对Redis服务器的性能打击也是比较大的。它支持glob-style的通配符格式,比如用*表示任意一个或者多个字符,用?表示任意字符,用[xyz]表示方括号...
分类:
其他好文 时间:
2015-02-23 23:42:54
阅读次数:
413
title: Emacs keys
categories:
- Technology
- Emacs
date: 2014-10-30 14:32:15
tags: - emacsEmacs 经常用到的快捷键, 很全。
C = Control
M = Meta = Alt | Esc
Del = Backspace基本快捷键(Basic)
C-x C-f “find”...
分类:
系统相关 时间:
2015-02-21 22:20:55
阅读次数:
285
In order to crack “Vigenere Cipher” under the circumstance that the key length can be only 3, 4 or 5, I used frequency analysis to find possible keys and compared the Euclidean distance of all c...
分类:
其他好文 时间:
2015-02-17 23:52:05
阅读次数:
416
对于JavaScript来说,其自身的Array对象仅仅是个数组,无法提供通过关键字来获取保存的数据,jQuery源码中提供了一种非常好的方式来解决这个问题,先看一下源码:
function createCache() {
var keys = [];
function cache(key, value) {
// Use (key + " ") to avoid collision ...
分类:
编程语言 时间:
2015-02-16 23:34:16
阅读次数:
379
??
Redis常用命令
Redis提供了丰富的命令对数据库和各种数据库类型进行操作,这些命令可以再Linux终端使用。
键值相关命令:
Keys:返回满足给定pattern的所有key
用表达式*表示取出所有的key
127.0.0.1:6379> keys *
1) "age"
2) "name"...
分类:
数据库 时间:
2015-02-14 16:16:15
阅读次数:
308
On a broken keyboard, some of the keys are worn out. So when you type some sentences, the characters corresponding to those keys will not appear on sc...
分类:
其他好文 时间:
2015-02-14 16:08:30
阅读次数:
177
mysql数据库sql语句调优 、
索引设计原则:
索引列一般为where子句中的列或连接字句中的列
尽量不对基数小的列做索引,如性别列
尽可能使用短索引:如果对字符列索引尽量指定最小长度。
(short Keys are better,Integer best)
create index cityname on city(city(10));
复合索引前缀特性,索引的顺序很重要。
...
分类:
数据库 时间:
2015-02-14 11:06:31
阅读次数:
195
tmux配置文件名为.tmux.conf,位于用户根目录下。常用的配置为:# vimsetw -g mode-keys vibind [ copy-modebind -t vi-copy v begin-selectionbind -t vi-copy y copy-selectionbind -t...
分类:
其他好文 时间:
2015-02-12 12:25:13
阅读次数:
119