<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[linshiyx的博客]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/linshiyx</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; linshiyx]]></copyright><item><title><![CDATA[ORMLite笔记]]></title><link>https://blog.youkuaiyun.com/linshiyx/article/details/51891618</link><guid>https://blog.youkuaiyun.com/linshiyx/article/details/51891618</guid><author>linshiyx</author><pubDate>Tue, 12 Jul 2016 18:48:27 +0800</pubDate><description><![CDATA[译自 http://ormlite.com/javadoc/ormlite-core/doc-files/ormlite_toc.html#SEC_Contents

1 Getting Started
1.1  Downloading ORMLite Jar

Java使用core和jdbc
Android使用core和android
1.2 Configuring a Class]]></description><category></category></item><item><title><![CDATA[ButterKnife笔记]]></title><link>https://blog.youkuaiyun.com/linshiyx/article/details/51726345</link><guid>https://blog.youkuaiyun.com/linshiyx/article/details/51726345</guid><author>linshiyx</author><pubDate>Tue, 21 Jun 2016 12:14:53 +0800</pubDate><description><![CDATA[译自：http://jakewharton.github.io/butterknife/




class…{
   
    @BindView(R.id.title)
TextView title;
   
    … oncreate(…) {
       
        …       

               setContentView(R.l]]></description><category></category></item><item><title><![CDATA[Python Mako笔记]]></title><link>https://blog.youkuaiyun.com/linshiyx/article/details/51719876</link><guid>https://blog.youkuaiyun.com/linshiyx/article/details/51719876</guid><author>linshiyx</author><pubDate>Mon, 20 Jun 2016 12:33:00 +0800</pubDate><description><![CDATA[译自 http://docs.makotemplates.org/en/latest/usage.html#basic-usage






BasicUsage
       
最基本的是用Template类
from
mako.template
import Template

mytemplate = Template("hello world!")
prin]]></description><category></category></item><item><title><![CDATA[Python Channels笔记--Deploying]]></title><link>https://blog.youkuaiyun.com/linshiyx/article/details/51712579</link><guid>https://blog.youkuaiyun.com/linshiyx/article/details/51712579</guid><author>linshiyx</author><pubDate>Sun, 19 Jun 2016 15:42:27 +0800</pubDate><description><![CDATA[三步：
1.创建一个channel后端
2.运行worker服务
3.运行接口服务
 
       
可以两种方式设置：路由所有的通信到HTTP/WebSocket接口服务，完全不用WSGI服务；或者只路由WebSockets和长连接到接口服务。前者可以共用URL树，而后者需要设置一个webserver或layer
 7 loadbalancer。
 
Settingup a ]]></description><category></category></item><item><title><![CDATA[Python Requests笔记]]></title><link>https://blog.youkuaiyun.com/linshiyx/article/details/51699201</link><guid>https://blog.youkuaiyun.com/linshiyx/article/details/51699201</guid><author>linshiyx</author><pubDate>Fri, 17 Jun 2016 12:54:45 +0800</pubDate><description><![CDATA[译自：http://docs.python-requests.org/en/master/



r
= requests.get('http://httpbin.org/get',
params=payload)
r
= requests.post('http://httpbin.org/post',
data =
{'key':'value'})
r
= request]]></description><category></category></item><item><title><![CDATA[找不到vcvarsall.bat]]></title><link>https://blog.youkuaiyun.com/linshiyx/article/details/51699163</link><guid>https://blog.youkuaiyun.com/linshiyx/article/details/51699163</guid><author>linshiyx</author><pubDate>Fri, 17 Jun 2016 12:43:25 +0800</pubDate><description><![CDATA[译自：https://blogs.msdn.microsoft.com/pythonengineering/2016/04/11/unable-to-find-vcvarsall-bat/



什么是vcvarsall.bat，为什么需要它？
    Python通过安装第三方包实现更多的功能。这些包中包含扩展模块（extension），有时也叫本地模块（native
 module]]></description><category></category></item><item><title><![CDATA[python channels笔记--Getting started with channels]]></title><link>https://blog.youkuaiyun.com/linshiyx/article/details/51680418</link><guid>https://blog.youkuaiyun.com/linshiyx/article/details/51680418</guid><author>linshiyx</author><pubDate>Wed, 15 Jun 2016 12:51:57 +0800</pubDate><description><![CDATA[译自：http://channels.readthedocs.io/en/latest/index.html
1.Channels概念
channel是一个队列，每个task最多一个consumer接收
用name字符串辨别channels，可由不同的机器向同一个channel通信
 
def
my_consumer(message):
    pass
channel_routi]]></description><category></category></item><item><title><![CDATA[maven笔记]]></title><link>https://blog.youkuaiyun.com/linshiyx/article/details/51461504</link><guid>https://blog.youkuaiyun.com/linshiyx/article/details/51461504</guid><author>linshiyx</author><pubDate>Fri, 20 May 2016 14:38:01 +0800</pubDate><description><![CDATA[Maven 是一个项目管理和构建自动化工具。
Maven 使用惯例优于配置的原则 。它要求在没有定制之前，所有的项目都有如下的结构：




目录


目的




${basedir}


存放 pom.xml和所有的子目录




${basedir}/src/main/java


项目的 java源代码




${basedir]]></description><category></category></item><item><title><![CDATA[LESS框架笔记]]></title><link>https://blog.youkuaiyun.com/linshiyx/article/details/51461494</link><guid>https://blog.youkuaiyun.com/linshiyx/article/details/51461494</guid><author>linshiyx</author><pubDate>Fri, 20 May 2016 14:36:59 +0800</pubDate><description><![CDATA[LESS CSS框架
LESS是动态的样式表语言。本质上，LESS包含一套自定义的语法及一个解析器，用户根据这些语法定义自己的样式规则，这些规则最终会通过解释器，编译生成对应的CSS文件。
LESS可以直接在客户端使用，也可以在服务端使用。实际开发中推荐第三种方式，将LESS文件编译生成静态CSS文件，并在HTML文档中应用。
客户端：
从 http://lesscss.org下载less]]></description><category></category></item><item><title><![CDATA[jvm笔记]]></title><link>https://blog.youkuaiyun.com/linshiyx/article/details/51461477</link><guid>https://blog.youkuaiyun.com/linshiyx/article/details/51461477</guid><author>linshiyx</author><pubDate>Fri, 20 May 2016 14:35:11 +0800</pubDate><description><![CDATA[第2章 Java内存区域与内存溢出异常
Java和C++之间有一堵由内存动态分配和垃圾收集技术所围成的“高墙”，墙外面的人想进去，墙里面的人却想出来。
2.2运行时数据区域
Java虚拟机在执行Java程序的过程中会把它所管理的内存划分为若干个不同的数据区
域。这些区域有各自的用途，以及创建和销毁的时间。
程序计数器（Program Counter Register）当前线程所执行的字节]]></description><category></category></item><item><title><![CDATA[jQuery笔记]]></title><link>https://blog.youkuaiyun.com/linshiyx/article/details/51461452</link><guid>https://blog.youkuaiyun.com/linshiyx/article/details/51461452</guid><author>linshiyx</author><pubDate>Fri, 20 May 2016 14:33:26 +0800</pubDate><description><![CDATA[第二章 jQuery基础选择器
#id选择器 $(“#my_id”)
element选择器 $(“div”)
.class选择器$(“.class”)
*选择器 $(“div *”)
选择任意多个指定元素，逗号隔开 $(“div, p”)
某一层次的一个或多个元素,空格隔开 $(“ancestor descendant”)
选择子集元素 $(“parent>child”)
相邻的下]]></description><category></category></item><item><title><![CDATA[Hibernate笔记]]></title><link>https://blog.youkuaiyun.com/linshiyx/article/details/51461425</link><guid>https://blog.youkuaiyun.com/linshiyx/article/details/51461425</guid><author>linshiyx</author><pubDate>Fri, 20 May 2016 14:31:10 +0800</pubDate><description><![CDATA[ORM(Object/Relationship Mapping):对象/关系映射
 
创建Hibernate的配置文件
创建持久化类
创建对象-关系映射文件
通过HibernateAPI编写访问数据库的代码
 
MYSQL语句的规范
关键字与函数名称全部大写
数据库名称、表名称、字段名称全部小写
SQL语句必须以分号结尾
 
hibernate.cfg.xml常用配置
h]]></description><category></category></item><item><title><![CDATA[Gradle笔记]]></title><link>https://blog.youkuaiyun.com/linshiyx/article/details/51461410</link><guid>https://blog.youkuaiyun.com/linshiyx/article/details/51461410</guid><author>linshiyx</author><pubDate>Fri, 20 May 2016 14:30:09 +0800</pubDate><description><![CDATA[1.      用Gradle构建
1.1工程结构
跟目录下的setting.gradle用来include子模块。
include ‘:app’
 
根目录下build.gradle包含一些通用配置，这些配置可以在各个子模块当中使用。
gradle.properties文件包含的属性，会成为project的properties的成员。androidstudio会帮忙设置。
 
1]]></description><category></category></item><item><title><![CDATA[bootstrap笔记]]></title><link>https://blog.youkuaiyun.com/linshiyx/article/details/51461338</link><guid>https://blog.youkuaiyun.com/linshiyx/article/details/51461338</guid><author>linshiyx</author><pubDate>Fri, 20 May 2016 14:18:37 +0800</pubDate><description><![CDATA[移动设备优先




 
为了让 Bootstrap
开发的网站对移动设备友好，确保适当的绘制和触屏缩放，需要在网页的 head
之中添加 viewport meta 标签。
在移动设备浏览器上，通过为 viewport meta 标签添加 user-scalable=no 可以禁用其缩放（zooming）功能。通常情况下，maximum-scale=1.0 与
 user-s]]></description><category></category></item><item><title><![CDATA[Ajax笔记]]></title><link>https://blog.youkuaiyun.com/linshiyx/article/details/51461270</link><guid>https://blog.youkuaiyun.com/linshiyx/article/details/51461270</guid><author>linshiyx</author><pubDate>Fri, 20 May 2016 14:09:53 +0800</pubDate><description><![CDATA[XMLHttpRequest发送请求
open(method, url, async)
send(string);
 
XMLHttpRequest获得响应
responseText: 获取字符串形式的响应数据
responseXML:获得XML形式的响应数据
status和statusText:以数字和文本形式返回HTTP状态码
getAllResponseHeader():获取]]></description><category></category></item><item><title><![CDATA[jsp基础]]></title><link>https://blog.youkuaiyun.com/linshiyx/article/details/50188933</link><guid>https://blog.youkuaiyun.com/linshiyx/article/details/50188933</guid><author>linshiyx</author><pubDate>Sat, 05 Dec 2015 20:25:39 +0800</pubDate><description><![CDATA[Jsp基础语法
 
在JSP页面中执行的java代码。

 
在JSP页面中定义变量或者方法

 
在JSP页面中执行的表达式

 
JSP内置对象是Web容器创建的一组对象，不使用new关键字就可以使用的内置对象。
out request response session application pagepageContext exception config
 
o]]></description><category></category></item><item><title><![CDATA[文件传输基础——Java IO流]]></title><link>https://blog.youkuaiyun.com/linshiyx/article/details/48328397</link><guid>https://blog.youkuaiyun.com/linshiyx/article/details/48328397</guid><author>linshiyx</author><pubDate>Thu, 10 Sep 2015 00:12:17 +0800</pubDate><description><![CDATA[1-1文件的编码
String s = "我的博客";
byte[] bytes1 = s.getBytes();
for(byte b: bytes1) {
    //把字节（转换成了int)以16进制的方式显示
    System.out.print(Integer.toHexString(b & 0xff) + " ");
}
gbk编码中文占用2个字节，英文占用1个字节。]]></description><category></category></item><item><title><![CDATA[设计模式笔记]]></title><link>https://blog.youkuaiyun.com/linshiyx/article/details/48323451</link><guid>https://blog.youkuaiyun.com/linshiyx/article/details/48323451</guid><author>linshiyx</author><pubDate>Wed, 09 Sep 2015 21:51:46 +0800</pubDate><description><![CDATA[1、工厂方法模式（Factory Method）
11、普通工厂模式，就是建立一个工厂类，对实现了同一接口的一些类进行实例的创建。

22、多个工厂方法模式，是对普通工厂方法模式的改进，而多个工厂方法模式是提供多个工厂方法，分别创建对象。

33、静态工厂方法模式，将上面的多个工厂方法模式里的方法置为静态的，不需要创建实例，直接调用即可。



2、抽象工厂模式（Abstract]]></description><category></category></item><item><title><![CDATA[eeyes总结]]></title><link>https://blog.youkuaiyun.com/linshiyx/article/details/48141263</link><guid>https://blog.youkuaiyun.com/linshiyx/article/details/48141263</guid><author>linshiyx</author><pubDate>Mon, 31 Aug 2015 22:13:48 +0800</pubDate><description><![CDATA[Action bar是一个标识应用程序和用户位置的窗口功能，并且给用户提供操作和导航模式。


Action bar的主要目的是：




        1.  提供一个用于识别应用程序的标示和用户的位置的专用空间。
        2.  在不同的应用程序之间提供一致的导航和视觉体验。
        3.  突出Activity的关键操作（如“搜索”、“创建”、“共享”等]]></description><category></category></item><item><title><![CDATA[android Studio so的加载]]></title><link>https://blog.youkuaiyun.com/linshiyx/article/details/48069381</link><guid>https://blog.youkuaiyun.com/linshiyx/article/details/48069381</guid><author>linshiyx</author><pubDate>Sat, 29 Aug 2015 00:38:31 +0800</pubDate><description><![CDATA[task copyNativeLibs(type: Copy) {  
    from fileTree(dir: 'libs', include: '*/*.so' )  into  'build/native-libs'  
}  
tasks.withType(Compile) { compileTask -> compileTask.dependsOn copyNativeLibs]]></description><category></category></item></channel></rss>