1.下载
http://gogs.io/docs/installation/install_from_binary.html
下载最新版的
wget https://github.com/gogits/gogs/releases/download/v0.6.1/linux_amd64.zip
2.新建用户
adduser git密码自己输入
3.解压缩
unz...
分类:
系统相关 时间:
2015-05-07 14:39:11
阅读次数:
229
NSURLConnection请求HTTP的接口快速修改为HTTPS方法...
分类:
移动开发 时间:
2015-05-07 14:37:25
阅读次数:
180
———————————————————————
1、安装Appium Mac上环境搭建
———————————————————————
参考:
http://blog.csdn.net/yuan1809/article/details/19122813
http://appium.io/
https://github.com/appium/appium
http://downloa...
分类:
移动开发 时间:
2015-05-07 14:36:18
阅读次数:
151
原因是:在64位的fedora?linux系统上运行32位程序时需要32-libs库支持(其他linux分支系统的32-libs需自行查找) 原文地址:https://ask.fedoraproject.org/en/question/9556/how-do-i-install-32bit-libraries...
分类:
系统相关 时间:
2015-05-07 12:46:04
阅读次数:
231
android 实现http请求很多种,和服务器对接需要了解
在 Android 下,Android SDK 已经为我们封装好了整个与 JSON 有关的操作,使用非常方便
直接上代码
/**
* 发送 http 请求
*
* @param url
*/
@SuppressLint("DefaultLocale")
public int httpResponseCodeJson...
分类:
移动开发 时间:
2015-05-07 12:35:30
阅读次数:
193
Volley支持HTTPS,但是框架中默认没有加上去,可以修改一小部分源码来实现;一是重写Volley.javanewRequestQueueInDisk方法 调用第三个构造。又因为这三个构造最后调用的都是参数最多的那个所以也可以在第三个构造中直接默认生成SSLSocketFactory实例。二是在...
分类:
Web程序 时间:
2015-05-07 12:23:48
阅读次数:
276
https://leetcode.com/problems/single-number-ii/https://leetcode.com/discuss/6632/challenge-me-thxGiven an array of integers, every element appearsthre...
分类:
其他好文 时间:
2015-05-07 12:20:47
阅读次数:
133
最近做网页数据加密工作, 使用CryptoJS v3.1.2 这个JavaScript脚本,网上比较有质量的文章实在太少,经验证加密结果与Asp.net DES加密结果一致参考文章https://gist.github.com/ufologist/5581486CryptoJS v3.1.2下载地址...
分类:
编程语言 时间:
2015-05-07 12:14:49
阅读次数:
476
开源项目见:https://github.com/JeffreySu/WeiXinMPSDK public ActionResult SendRedPack() { string mchbillno = DateTime.Now.ToString("...
分类:
微信 时间:
2015-05-07 11:55:59
阅读次数:
236
我们用Robolectric测试的话需要在gradle中进行配置,国内的详细教程太过简易,而且很多是低版本下的配置方案。所以经过本人的仔细摸索,找到了现在高版本中的配置方案,主要还是参考了官网的配置教程:https://github.com/robolectric/robolectric-gradl...
分类:
移动开发 时间:
2015-05-07 11:54:28
阅读次数:
151