转载自:https://blog.lowstz.org/posts/2011/11/23/why-git-push-require-username-password-github/之前开始用github时是在ubuntu下按着官方的新手指南搞定的。但最近一直在用fedora,所以也想在fedora...
分类:
其他好文 时间:
2014-08-18 00:01:03
阅读次数:
221
多github帐号的SSH key切换我有两个github帐号,一个是个人所用,一个是为公司项目所用。如果是单用户(single-user),很方便,默认拿id_rsa与你的github服务器的公钥对比;如果是多用户(multi-user)如user1,user2,那么就不能用在user2的身上了,...
分类:
其他好文 时间:
2014-08-18 00:00:03
阅读次数:
313
1inttop;2structSBT{3intL,R,size,key;4voidinit(){5L=R=0;size=1;6}7}T[MAX];89voidR_Roate(int&t){//右旋转10intk=T[t].L;11T[t].L=T[k].R;12T[k].R=t;13T[k].siz...
分类:
其他好文 时间:
2014-08-17 18:24:12
阅读次数:
226
Word Segmenting
Time Limit: 5 Seconds
Memory Limit: 32768 KB Special Judge
One key technology in Chinese search engine is Word Segmenting, which is more difficult than English Word Segmenting...
分类:
其他好文 时间:
2014-08-17 17:06:42
阅读次数:
364
xcode引入第三方静态类库 duplicate symbol _OBJC_XXX 重复编译错误一:场景 xcode 同时引入了 libA.a, libB.a 两个静态类库,如果 这两个静态类库之中,都打包了,相同的库,方法之类的, 且 xcode 的other link flag 为 -a...
分类:
其他好文 时间:
2014-08-17 15:26:32
阅读次数:
173
添加表字段alter table table1 add transactor varchar(10) not Null;alter table table1 add id int unsigned not Null auto_increment primary key修改某个表的字段类型及指定为空....
分类:
数据库 时间:
2014-08-17 12:56:52
阅读次数:
356
数据库建表的SQL写法如下:数据库建表的SQL写法如下:create table dataC( a int identity(1,2) primary key, b varchar(20))identity(1,2)中的1表示第一条记录的a的值,第二个参数表示递增的步长(本例中,表示步长为2)在“查...
分类:
数据库 时间:
2014-08-17 12:54:02
阅读次数:
279
Cassandra 的数据存储结构 Cassandra 的数据模型是基于列族(Column Family)的四维或五维模型。它借鉴了 Amazon 的 Dynamo 和 Google‘s BigTable 的数据结构和功能特点,采用 Memtable 和 SSTable 的方式进行存储...
分类:
其他好文 时间:
2014-08-17 01:14:11
阅读次数:
363
前面一篇文章说到了一些计算机网络的基础知识,引入了socket,从这节开始,就进入正题了。
一 概率
TCP:Transimission Control Protocol传输控制协议。
UPD:User Datagram Protocol用户数据包协议。
两者都属于上一篇文章说的OSI模型中的第四层——传输层的协议。
两者相比:
TCP协议面向连接,UDP协议面向非...
分类:
其他好文 时间:
2014-08-17 01:08:01
阅读次数:
231
1、在服务器上注册服务2、启动服务:services.msc3、客户端创建服务接口 object Get(string key); List GetKeys(); List GetValues(); void Set(string key, obje...
分类:
其他好文 时间:
2014-08-16 22:28:31
阅读次数:
332