<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[GonJay's blog]]></title><description><![CDATA[Rubiest]]></description><link>https://blog.csdn.net/assyer</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; assyer]]></copyright><item><title><![CDATA[欢迎使用CSDN-markdown编辑器]]></title><link>https://blog.csdn.net/assyer/article/details/46854889</link><guid>https://blog.csdn.net/assyer/article/details/46854889</guid><author>assyer</author><pubDate>Sun, 12 Jul 2015 23:37:46 +0800</pubDate><description><![CDATA[Windows 上常用的软件列表]]></description><category></category></item><item><title><![CDATA[Android客户端接收来自Faye的消息推送]]></title><link>https://blog.csdn.net/assyer/article/details/20530659</link><guid>https://blog.csdn.net/assyer/article/details/20530659</guid><author>assyer</author><pubDate>Wed, 05 Mar 2014 10:38:30 +0800</pubDate><description><![CDATA[GCM国内用不了，APN实现太复杂，Parse收费，极光推送不靠谱，自己实现了一套基于ruby的开源消息推送机制，并用在了Ruby-China的Android客户端上，和论坛原生的桌面推送无缝整合，内附大量源代码和详细实现过程，欢迎来github fork我的项目~]]></description><category></category></item><item><title><![CDATA[Ruby-China for Android客户端开源了]]></title><link>https://blog.csdn.net/assyer/article/details/18961937</link><guid>https://blog.csdn.net/assyer/article/details/18961937</guid><author>assyer</author><pubDate>Fri, 07 Feb 2014 14:12:15 +0800</pubDate><description><![CDATA[开源地址

https://github.com/gonjay/rubychina4android
点击下载APK

特性：

安卓原生的侧滑抽屉下拉刷新主页帖子列表下滑到头后自动获取新的内容浏览帖子详情并支持Markdown，左右侧滑分别展示帖子内容、回复列表、回复编辑（预览）登录、退出功能

为什么要开发安卓版本

我希望用自己掌握的技术在安卓上面提供优秀的体验探索HTM]]></description><category></category></item><item><title><![CDATA[iOS中UIWebView的科学使用方法总结]]></title><link>https://blog.csdn.net/assyer/article/details/17855239</link><guid>https://blog.csdn.net/assyer/article/details/17855239</guid><author>assyer</author><pubDate>Fri, 24 Jan 2014 00:19:26 +0800</pubDate><description><![CDATA[前言
    众所周知，没有哪一门语言能像html/css那样如此轻易的构建复杂的界面，为了保证良好的用户体验，有时我们可能会选择使用html的方式来展示复杂度高，复用性低的界面，在iOS平台，选择UIWebView是非常明知的，那么我根据最近的一个珠宝平板项目来像大家总结一下iOS平台结合HTML5使用UIWebView的经验。]]></description><category></category></item><item><title><![CDATA[用Gson和SharedPreferences轻松构建android本地数据缓存]]></title><link>https://blog.csdn.net/assyer/article/details/13509321</link><guid>https://blog.csdn.net/assyer/article/details/13509321</guid><author>assyer</author><pubDate>Tue, 29 Oct 2013 16:39:55 +0800</pubDate><description><![CDATA[刚刚看了一篇IBM的博客，讲的是Android本地数据存储API，感觉实在是太复杂了，对于大部分个人开发者而言，按照这种方式来做自己的项目，实在是一件极其痛苦的事情，作为一名敏捷开发的信徒，实在难以忍受按照IBM那套来做事情，下面给大家介绍一下个人在实践中总结出来的一套数据存储的方法。]]></description><category></category></item><item><title><![CDATA[推荐一些很棒的Bootstrap后台模板]]></title><link>https://blog.csdn.net/assyer/article/details/9613857</link><guid>https://blog.csdn.net/assyer/article/details/9613857</guid><author>assyer</author><pubDate>Mon, 29 Jul 2013 11:22:57 +0800</pubDate><description><![CDATA[Admin Theme（在线demo可用）

已更新七月 13, 2013 




1) Aquincum - 纯的相应式后台模板: Demo 
推荐指数：8/10
在线网址：http://demo.kopyov.com/?theme=aquincum 




Aquincum 


35个以及更多插件和灵活的内容结构
3列的结构、3级导航、2级工具栏
兼]]></description><category></category></item><item><title><![CDATA[Android的Master/Detail风格界面中实现自定义ListView的单选]]></title><link>https://blog.csdn.net/assyer/article/details/9323015</link><guid>https://blog.csdn.net/assyer/article/details/9323015</guid><author>assyer</author><pubDate>Sun, 14 Jul 2013 10:26:27 +0800</pubDate><description><![CDATA[利用API17以上的SDK可以生产Master/Detail风格的应用，对于平板电脑上的体验非常舒服，但是SDK中给的默认的那个初始Sample中自定义ListFragment的ListView之后，在平板电脑上无法实现ListView选中后的效果了，这里我基于网络上一篇文章用CheckedTextView来取巧实现了类似的功能。]]></description><category></category></item><item><title><![CDATA[Mac下Android Studio导入第三方jar包的坑]]></title><link>https://blog.csdn.net/assyer/article/details/9285957</link><guid>https://blog.csdn.net/assyer/article/details/9285957</guid><author>assyer</author><pubDate>Tue, 09 Jul 2013 22:46:42 +0800</pubDate><description><![CDATA[最近在将开发环境从Eclipce迁移到Android Studio，同时也尝试了一下最近火的一逼的PhoneGap。一路上遇到了许多坑，这里给大家都指出来。
PhoneGap的官方文档只给了怎么在Eclipse下怎么去搭建一个PhoneGap的应用，没有讲述怎么在Android Studio里的。
当然两者的步骤都是差不多的，唯独遇到的不爽实在导入PhoneGap的jar包的时候，你需要做一下]]></description><category></category></item><item><title><![CDATA[常用IDEA快捷键]]></title><link>https://blog.csdn.net/assyer/article/details/9140709</link><guid>https://blog.csdn.net/assyer/article/details/9140709</guid><author>assyer</author><pubDate>Thu, 20 Jun 2013 20:58:17 +0800</pubDate><description><![CDATA[常用IDEA快捷键


一些技巧：
在任何时候，按下alt键，界面上的菜单字符中有些会有下划线，这时用alt+下划线即是执行这个菜单功能的快捷键。
可自定义一些快捷键，避免使用鼠标。IDEA支持宏，不过我用得不多，只用过那么一两次，使用起来也很简单。

一、视图切换快捷键
1、各视图区域的切换 cmd + 视图区域对应的数字
2、切换到maven的视图 alt + m
3、装了]]></description><category></category></item><item><title><![CDATA[Rails的最佳实践【一】]]></title><link>https://blog.csdn.net/assyer/article/details/8973183</link><guid>https://blog.csdn.net/assyer/article/details/8973183</guid><author>assyer</author><pubDate>Sat, 25 May 2013 15:02:26 +0800</pubDate><description><![CDATA[一、命名的scope
在Model中加
scope :recent, where().order()
然后在Controller里面用
Model.recent
就能调用查询了，scope可以把一些复杂的查询方法包到一起方便代码的维护
二、有lambda的scope
如果想在recent的时候传一些参数，比如限制查询的limit数量，需要加上lambda
scope :recent]]></description><category></category></item><item><title><![CDATA[折腾日记]]></title><link>https://blog.csdn.net/assyer/article/details/8941485</link><guid>https://blog.csdn.net/assyer/article/details/8941485</guid><author>assyer</author><pubDate>Fri, 17 May 2013 11:20:19 +0800</pubDate><description><![CDATA[6月24日


如何在ruby中使用中文，这里有一各hack的方法：#!/bin/env ruby
# encoding: utf-8


6月23日


今天武汉下了场雨，终于稍微凉快一点，赶紧写点东西。了解了java中Ant和Maven，其中Ant感觉就是在命令行里面代你敲一些东西，在Android Studio中，使用的是一个基于groovy名叫gradle的玩意儿]]></description><category></category></item><item><title><![CDATA[Rails中文Podcasts【四】]]></title><link>https://blog.csdn.net/assyer/article/details/8720616</link><guid>https://blog.csdn.net/assyer/article/details/8720616</guid><author>assyer</author><pubDate>Fri, 03 May 2013 16:36:19 +0800</pubDate><description><![CDATA[一、HABTM CheckBoxes

首先解释一下什么是HABTM即HasAndBelongsToMany，这个是ActiveRecord里面很有意思也是比较复杂的一下东西，在SNS领域里面有很大作用。
在这个例子中我们用到了两个models，Product和Category，两个互有有has_and_belongs_to_many的关系，我们会通过一个form_for表单中的checkb]]></description><category></category></item><item><title><![CDATA[剪裁图片【Ruby on Rails】]]></title><link>https://blog.csdn.net/assyer/article/details/8864023</link><guid>https://blog.csdn.net/assyer/article/details/8864023</guid><author>assyer</author><pubDate>Sun, 28 Apr 2013 16:17:22 +0800</pubDate><description><![CDATA[这一集我们来用Paperclip和jQuery叫做Jcrop的插件在网页上裁剪图片。假设我们有一个Rails应用，比如一个论坛，允许用用户名注册，并且还可以用头像图片来展示自己。



用户选择上传的图片可以是任何大小，所以我们的应用将会调整大小并裁剪到100像素的正方形之内。



这个应用用Paperclip来自动裁剪和调整图片的大小，但是我们想让用户自己可以控制怎么去裁剪图片]]></description><category></category></item><item><title><![CDATA[GitHub Flow]]></title><link>https://blog.csdn.net/assyer/article/details/8657238</link><guid>https://blog.csdn.net/assyer/article/details/8657238</guid><author>assyer</author><pubDate>Mon, 25 Mar 2013 18:42:44 +0800</pubDate><description><![CDATA[原文地址http://scottchacon.com/2011/08/31/github-flow.html
git-flow的问题
    我环游各地教人们Git，而最近，我教的几乎每个班级和工作室都在问我对于git-flow的看法。我的回答总是觉得这个东西非常伟大——它采用了一个有着无数工作流程和记录了良好测试的系统（Git），这个系统拥有的灵活工作流程对许多开发者而言是非常清晰直观的方式]]></description><category></category></item><item><title><![CDATA[Rails中文Podcasts【三】]]></title><link>https://blog.csdn.net/assyer/article/details/8615706</link><guid>https://blog.csdn.net/assyer/article/details/8615706</guid><author>assyer</author><pubDate>Thu, 28 Feb 2013 22:03:26 +0800</pubDate><description><![CDATA[一、session中来自model的危险
在session中存model的时候需要谨慎些，有时候它会变得很不听话而且特尼玛容易和数据库不同步，所以最好的方式不是存model在session中，而是存model的ID，并从数据库中根据ID来抓model

class UsersController < ApplicationController
  def prepare
    sessio]]></description><category></category></item><item><title><![CDATA[Rails中文Podcasts【二】]]></title><link>https://blog.csdn.net/assyer/article/details/8564513</link><guid>https://blog.csdn.net/assyer/article/details/8564513</guid><author>assyer</author><pubDate>Tue, 12 Feb 2013 12:15:02 +0800</pubDate><description><![CDATA[一、使用Symbol的to_proc方法得到的便捷代码块
class Project < ActiveRecord::Base
  has_many :tasks
  
  def self.all_names
    find(:all).collect(&:name)
  end
end
这里的
find(:all).collect(&:name)

显得比较奇怪，因为之前几乎没见过]]></description><category></category></item><item><title><![CDATA[介绍本人的一个Android项目(附源代码)]]></title><link>https://blog.csdn.net/assyer/article/details/8578306</link><guid>https://blog.csdn.net/assyer/article/details/8578306</guid><author>assyer</author><pubDate>Sun, 10 Feb 2013 23:11:59 +0800</pubDate><description><![CDATA[在github可以下载 https://github.com/gonjay/androidweb


Support zoom in images by gestrueView images by slide right and leftBackground service and do whatever you want to very time periodLoad a local ht]]></description><category></category></item><item><title><![CDATA[rspec行为驱动测试的小总结（附源代码）]]></title><link>https://blog.csdn.net/assyer/article/details/8561375</link><guid>https://blog.csdn.net/assyer/article/details/8561375</guid><author>assyer</author><pubDate>Thu, 31 Jan 2013 23:10:09 +0800</pubDate><description><![CDATA[RSpec 行为驱动测试
这个是研究学习rails中的单元测试还有行为驱动测试的小练习，原文在ruby-china.org上面 http://ruby-china.org/topics/2848


 安装 RSpec 
 gem install rspec


对于spec的一些理解


用到了一些英语的语法知识，比如should和should not，在测试中成为了预期后]]></description><category></category></item><item><title><![CDATA[2013年Ruby on Rails阅读列表]]></title><link>https://blog.csdn.net/assyer/article/details/8555114</link><guid>https://blog.csdn.net/assyer/article/details/8555114</guid><author>assyer</author><pubDate>Wed, 30 Jan 2013 10:46:12 +0800</pubDate><description><![CDATA[这里是我2013年推荐的阅读材料




基本的

如果你是刚上手ror，我向你推荐下面这些课程


Code School Try Ruby
Code School Try Git
Code School Git Real
Peepcode Meet Command Line
Peepcode Advanced Command Line
Zed Shaw Learn]]></description><category></category></item><item><title><![CDATA[Rails中文Podcasts【一】]]></title><link>https://blog.csdn.net/assyer/article/details/8541042</link><guid>https://blog.csdn.net/assyer/article/details/8541042</guid><author>assyer</author><pubDate>Tue, 29 Jan 2013 10:48:32 +0800</pubDate><description><![CDATA[从现在起，笔者会尝试将学习rails时的一些小技巧做成一份笔记，以一个系列的形式记录下来，每份笔记里面都会包含5个小tips，给自己复习用，也给需要的人一些帮助吧。


一、缓存实例变量
介绍一个快速提高性能的小技巧，只需要添加几个小指令即可。
	def current_user
		@current_user ||= User.find(session[:user_id])
	end]]></description><category></category></item></channel></rss>