现在的位置: 首页
0℃

Ubuntu SVN客户端连接windows VisualSVN SSL证书问题

2013年08月30日 程序设计  ⁄ 被围观 3,572+
问题 英文:svn: OPTIONS of 'https://server.domain.local/svn/repo': SSL handshake failed: SSL error: Key usage violation in certificate has been detected. (https://server.domain.local) 中文:SSL handshake failed: SSL 错误:在证书中检测到违规的密钥用法。 解决方案 Symptoms Subversion clients receive the following error message when attempting to connect to VisualSVN Server: svn: OPTIONS of 'https://server.domain.local/svn/repo': SSL handshake failed: SSL error: Key usage viol...
阅读全文
0℃

搭建基于Python的视频服务器

2013年08月24日 程序设计  ⁄ 被围观 4,064+
本文基于Python后台搭建了一个视频服务器,集视频的上传,视频的格式转化,视频的播放于一体,后台基于Django框架和Amazon S3的存储,视频格式的转换基于Encoding.com的在线服务,消息队列基于RabbitMQ,视频上传和转换处理完毕后,采用浏览器的Html5播放,采用了Video.js。 Stickyworld's consultation web app has supported video for a long time but it's been hosted via a YouTube embed. When we started building the new version of the web app we wanted to take control of the video content and al...
阅读全文
0℃

NODE.JS开发入门

2013年08月24日 程序设计  ⁄ 被围观 3,926+
一篇优秀的NODE.JS入门文章,介绍了安装,运行简单的程序,IO程序,NPM安装依赖包,Module开发。 There's no shortage of Node.js tutorials out there, but most of them cover specific use cases or topics that only apply when you've already got Node up and running. I see comments every once and awhile that sound something like, "I've downloaded Node, now what?" This tutorial answers that question and explains how to get started from the very beginning. What is Node.js? A lot of the ...
阅读全文
0℃

Android动画设计之ViewOverlay

2013年08月22日 移动开发  ⁄ 被围观 4,762+
什么是ViewOverlay? ViewOverlay is a class that we can find in Android since its version 4.3 (API version 18) that provides a transparent layer on top of a View, to which you can add visual content and that does not affect the layout hierarchy. It always has the same size and position as its host view, allowing you to add content over that view. 运行效果 红色部分:使用了 按钮的 parent-parent layout (the main, first-level, layout) ViewGroupOverlay,所以可以穿越整个画面。 ...
阅读全文
0℃

Android网络编程之SPDY

2013年08月22日 移动开发  ⁄ 被围观 4,775+
Android的网络编程大家基本都熟悉,Http的Get,Post请求与其他语言的开发大同小异,可以采用Android自带的网络开发包,也可以采用Apache的开源网络编程包。本文介绍一个支持SPDY的开发包OkHttp,关于SPDY的知识,大家可以从维基百科和百度百科上面找到,基本就是增强版的Http。 OkHttp is an HTTP client that’s efficient by default: SPDY support allows all requests to the same host to share a socket. Connection pooling reduces request latency (if SPDY isn’t available). Transparent GZIP shrinks ...
阅读全文
0℃

深度解读Android关机过程

2013年08月21日 移动开发  ⁄ 被围观 4,225+
想知道Android系统的关系过程么??? 本文将会展示一个完整的关机处理流程。 What happened when I long press power button ? What is shutdown sequence ? How is it different from desktop linux shutdown sequence? How to change shutdown menu ? Many questions pop-up in mind when we think about Android shutdown sequence. Before you read about shutdown sequence I suggest you to read about boot sequence article . Android is linux based open source operating system, x86 (x86 is a serie...
阅读全文
0℃

基于Gradle生成Android apklibs

2013年08月21日 移动开发  ⁄ 被围观 4,113+
So, you've decided to switch your Android library project to the new hotness (Gradle, Android's new build system)? About to release a new Android library? Read on. 1. What is apklib? apklib is a way to bundle an Android library project. Many Android developers thought the existing Android build system, based on Ant, was insufficient. Maven is arguably a better build system, so the android-maven-plugin was created, to let Maven users build their Android projects. Maven down...
阅读全文
0℃

创建自定义的SQLite Loader

2013年08月21日 移动开发  ⁄ 被围观 3,911+
在开发Android的过程中,我们经常会用到SQLite进行资料的存储,本文给出了一种自定义Loader的方式,直接访问SQLite的API进行交互。 Today we’ll discuss about custom loaders in Android. Loaders have been introduced from Android 3.0 but we can also use loaders in prior versions of Android starting from Android 1.6 with the help of Android compatibility library. In this tutorial we won’t discuss the basics of loader which is vastly available in the Internet. A very good tutorial on lo...
阅读全文
×
腾讯微博