Android4.0.4之后,服务器返回401或者407时,获取不到消息体的主要原因就是报错了,内容是:java.io.IOException:Noauthenticationchallengesfound,而导致这个异常的原因是,Android4.0.4之后,Google对服务器返回的401或者407的消息头进行了验证,如果服务器在消息头中添加了..
分类:
移动开发 时间:
2015-04-22 18:51:09
阅读次数:
245
场景: 同事发了一个版(我需要其中部分代码),提交合并到主分支,然后我的分支也提交到主分支,然后再将主分支上的代码合并到我的分支(gitlab上进行的合并操作)。然后再在本地开发环境中的foo分支下执行pull操...
分类:
其他好文 时间:
2015-04-21 16:18:08
阅读次数:
1091
本文将介绍公司里面常用的开源软件架构
版本管理工具Git:https://about.gitlab.com/
codereview工具phabricator ,可以和git集成:http://phabricator.org/
maven私服nexus:http://www.sonatype.org/nexus/
开发者常用工具
集成开发环境ideau:https://www.jetbrains.co...
分类:
其他好文 时间:
2015-04-20 11:17:45
阅读次数:
160
来源: Backdoor CTF 2015 There is a wierd kind of authentication service running: nc hack.bckdr.in 8004. The binary can be found here. The vampire says t...
分类:
其他好文 时间:
2015-04-19 15:59:21
阅读次数:
194
安装源:git clone https://gitlab.com/gitlab-org/gitlab-ce.git -b 7-10-stable gitlab安装文档:在github上:gitlabhq/doc/install/installation.md执行:sudo -u git -H bun...
分类:
其他好文 时间:
2015-04-18 23:39:43
阅读次数:
158
1、su 命令验证出错:$ su - rootPassword:su: Authentication failureSorry.这时候输入$ sudo passwd rootEnter new UNIX password:Retype new UNIX password:passwd: passwo...
分类:
系统相关 时间:
2015-04-18 15:52:52
阅读次数:
180
jboss控制台jmx-console登陆的用户名密码设置1.登录运行角色JBossAdmin都是在login-config.xml中配置文件位置:jboss-eap-5.1/jboss-as/server/default/conf/login-config.xml<application-policyname="jmx-console">
<authentication>
<login-modulecode="org.j..
分类:
其他好文 时间:
2015-04-17 18:36:50
阅读次数:
135
Git & GitLab 使用及规范Git安装配置及基本使用
从官网下载安装包,手动完成安装。
打开Git Bash命令行工具,执行命令ssh-keygen -t rsa -C Email-Addresss生成一个密钥对。
登录到GitLab,点击右上角你的用户头像,点击Edit Profile settings,点击SSH Keys,点击Add SSH Key,填写Title栏,复制用户目录下.s...
分类:
其他好文 时间:
2015-04-17 14:02:51
阅读次数:
286
前面两篇文章(OAuth和OpenID)都说了可以用来认证身份,但是他们之间到底有哪些不同,哪些情况应该用OAuth,哪些情况应该用OpenID呢?下面就一起来看下他们之间的区别。简短的说,OAuth关注的是authorization;而OpenID侧重的是authentication。从表面上看,...
分类:
其他好文 时间:
2015-04-17 13:40:13
阅读次数:
88
①.修改%xampp%\phpMyAdmin\config.inc.php文件[php] view plaincopy /* Authentication type and info */ $cfg['Servers'][$i]['auth_type'] = 'config'; $cfg['Se.....
分类:
数据库 时间:
2015-04-17 13:22:20
阅读次数:
376