安装Git客户端后,进行PULL时报如下错误 disconnected no supported authentication methods available(server sent: publickey,keyboard interactive)解决方案 因为TortoiseGit和Git的冲 ...
分类:
其他好文 时间:
2017-05-01 16:09:22
阅读次数:
279
step1:打开终端,输入sudo vim /etc/default/keyboard 就可以修改文本内容 step2:把里面XKBLAYOUT变量的值改为“US” step3:改完之后回到shell主界面输入:setupcon step4:最后让设置立即生效输入:sudo udevadm trig ...
分类:
系统相关 时间:
2017-04-29 19:59:39
阅读次数:
219
本章主要讲了python程序的调试,当程序有BUG或异常的时候,我们如何调试代码找出问题点。其实在本章之前的章节我们做练习的时候都会遇到各种各样的错语和异常,最初当不知道程序哪里出错的情况下不可否认的都使用了print语句进行输出并调试代码。没错print也是调试代码的一种工具,直观简单,便也有缺点... ...
分类:
编程语言 时间:
2017-04-29 13:44:35
阅读次数:
278
题目描述 You're typing a long text with a broken keyboard. Well it's not so badly broken. The only problem with the keyboard is that sometimes the "home" ...
分类:
其他好文 时间:
2017-04-29 01:18:26
阅读次数:
242
一、运行docker Linux内核版本需要在3.8以上,针对centos6.5 内核为2.6的系统需要先升级内核.不然会特别卡,退出容器. 在yum的ELRepo源中,有mainline(3.13.1)、long-term(3.10.28)这2个内核版本,考虑到long-term更稳定,会长期更新 ...
分类:
其他好文 时间:
2017-04-28 13:41:13
阅读次数:
226
来源:http://www.huyng.com/posts/python-performance-analysis/ While it’s not always the case that every Python program you write will require a rigorous ...
分类:
编程语言 时间:
2017-04-24 12:06:48
阅读次数:
201
class MyTestCase(unittest.TestCase): def setUp(self): desired_caps = {} #以下是初始化数据 desired_caps['platformName'] = 'Android' desired_caps['platformVersi... ...
分类:
移动开发 时间:
2017-04-18 23:39:33
阅读次数:
318
这是一次血崩的cf,脑子不好使了。读题读错...代码写错...查不出错...WAWAWA 这次题比较常规。前二题很简单,第三题二分,第四题数学。 A - Vicious Keyboard【暴力模拟】 题意: 改变最多一个字符,让字符串中出现最多的"VK"。 PS: 比赛时做法是先走一遍字符串找"VK ...
分类:
其他好文 时间:
2017-04-17 19:58:11
阅读次数:
259
Given a List of words, return the words that can be typed using letters of alphabet on only one row's of American keyboard like the image below. Examp ...
分类:
其他好文 时间:
2017-04-17 16:48:13
阅读次数:
149
这几天在用 Swift 开发一个简单的键盘扩展,真机调试时遇到了这个问题,详细信息如下: 在 stackoverflow 找到了解决方法【这是链接:http://stackoverflow.com/questions/25957366/ios8-custom-keyboard-copy-paste- ...
分类:
移动开发 时间:
2017-04-12 18:23:18
阅读次数:
1445