自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(82)
  • 资源 (10)
  • 收藏
  • 关注

原创 introduce to yourself

make a introduction

2022-07-07 10:29:24 139 1

原创 Python2.7利用Tesseract进行中英文图像识别

垃圾啊背景环境:  win8.1  64位   python2.7.13  本以为会很简单,结果在配置环境这块上花了很多时间,踩了几个坑,最后自己看英文文档和log才解决问题。打开网站  https://pypi.python.org/pypi/pytesseract  https://github.com/tesseract-ocr/tesseract/wikihttps...

2018-01-12 15:47:13 4758 2

原创 批量生成二维码打包成exe文件

需求:  根据url 和 文件名称 生成二维码   将二维码放到背景图上合成一张二维码思路: 发送请求至http://qr.liantu.com获取二维码 保存本地  下载全部完成后 与本地背景图合成   缺陷: 合成没有使用多线程 原因是懒 不愿意再优化了 # -*- coding: utf-8 -*- import urllib;import osimport tim

2017-07-31 16:22:22 1107

原创 从安卓权限做事的方式看问题

最近因为 安卓6.0权限 还有 7.0文件共享 事情整的焦头烂额,暴露出一些问题,刚刚开始时并没有出现什么权限和共享文件的bug,后来陆陆续续多了一些高版本用户,导致崩溃率上升了不少,特此需要解决权限问题,之前一直用的是EasyPermission这个框架,刚刚开始也没怎么测试直接丢到项目中跑了,后来深入发现这种方法并非100%不出错,找了几个关于权限的框架,比如一个日本朋友写的Permissio

2017-07-29 11:41:44 348

原创 如何阅读一本书 笔记

《如何阅读一本书》笔记 只有一些非常深刻和有用的才能记得住 大纲 1. 基础阅读2. 检视阅读3. 分析阅读 4. 不同读物套路 (自己分析原因)5. 最终目标 6. 阅读书目 & 练习与检测阅读的活力与艺术 当今社会太多咨讯,精心设计和包装,不需要思考得到结论 太可怕了 阅读是一种活动,需要主动的活力,主动阅读,探索未知的知识海洋,从粗浅到深入,带着问题去阅读。 作者对这个问

2017-06-26 23:51:19 410

原创 ButterKnife源码研究一宏观

背景资料: 源码版本: ButterKnife 8.5.1编译工具: Android Studio 2.2.1java版本: 1.8.0_101_b13在这篇文章的前面可能有些混乱,那是因为一直在找思路,不会去特意整理,这样才能体现我的思考过程。Java Annotation processing 是javac中用于编译时扫描和解析Java注解的

2017-04-19 00:15:15 396

原创 CustomerApp的技术缺陷

well, It's a long way to go. but I think I wanna say: finally, I got here.

2017-04-14 10:05:03 757

原创 python基础—(高阶,匿名,偏)函数 | 装饰器

python函数各种形式, 目前只是简单的

2017-04-05 23:31:42 465

原创 python基础—文件 | json序列化

文件, JSON序列化

2017-04-05 23:26:06 565

原创 python基础—面向对象

OOP of python

2017-04-05 23:19:38 364

原创 python基础—迭代器 | 切片

非常实用的“套路”

2017-04-05 23:16:17 407

原创 python基础2—集合框架

基础的集合框架

2017-04-05 23:10:47 390

原创 python基础1—零碎

非常基础的部分,日后慢慢修正

2017-04-05 23:07:23 456

原创 SVN

问题: 全部开发人员加起来大概超过1周的时间在SVN上面, 结果还是不会用. 作为一个有洁癖的人, 这是绝对不能忍受的. 实验背景: Windows10  + Android Studio 2.1.2               首先进入下载主页 :  http://subversion.apache.org/packages.html#windows

2016-09-26 22:20:24 431

原创 Multiply Screen Support(多屏幕适配)

Screen sizeActual physical size, measured as the screen's diagonal.For simplicity, Android groups all actual screen sizes into four generalized sizes: small, normal, large, and extra-large.Scr

2016-09-17 20:58:21 835

原创 Arrow Dialog

UI viewabout the radius dialog visit here.here is my code.public void handleCloseTable(View anchor) { PaymentCloseDialog dialog = new PaymentCloseDialog(mActivity);

2016-09-17 20:08:45 386

原创 Radius Dialog

first of all, see the UI viewthe answer from stackoverflower.com, I forgot note the exactly address.1)  Create a xml in drawable , say dialog_bg.xmlxml version="1.0" encoding="utf-8"

2016-09-17 19:37:07 508

原创 Date & Time Format

as coder. maybe a problem in date & time format. sometimes we need "yyyy-MM-dd", things are always change. we need "WW-DD" also. there is a table. it's show all the info that we need.

2016-09-17 17:37:38 580

原创 一个程序员给产品经理的话

ok. 一个标准的产品经理有这么几个技能点,那么作为一个程序员,只能给一些工程技术方面的建议了。    从大体环境上来讲,有操作系统(OS), 数据库,服务器,编程语言。      我的工作大致就是使用编程语言,将合适的数据通过目前最优的控件显示出来,通过监控用户的动作来实现交互。        先来解释简单的数据库和服务器:         1.数据库

2016-07-23 13:29:45 3278 1

原创 对开发的一些思考

对开发的一些思考:         如果只是一个小型的项目,那么架构师敢去想的空间有很多,没有很多的束缚,而一个大项目甚至一个系统,必须设计一套合理,高效,清晰的逻辑规则,这样才不至于混乱的找不到事故发生来源,从刚刚开始的项目搭建到下层基础完善,对于后期的开发非常重要,我想这个项目的灵魂是什么,我为什么这样设计,为什么要这样遵循我的规则,有什么好处,能让其他成员信服吗? 万一后期要修改,需要修

2016-07-05 20:45:53 487

原创 OkHttp

simple and useful? let's check it out.

2016-05-30 18:09:55 755

原创 window server2012 + IIS8.0 + tomcat 集成环境搭建

需求: 搭建web服务器,  生成二维码下载app, 绑定域名, 与tomcat集成。系统环境:  OS: windows server 2012 standard X64 2G1.安装IIS8.0 Web服务器windows7用远程桌面连接连接服务器, 进入"服务器管理器", 查看"仪表板"。(因为安装好的IIS,所以有IIS)在右上角点击"管理"  ->

2016-04-23 14:44:35 15350 3

原创 Multiple strings.xml files cause order and incomplete problems in android

安卓多国语言自动补全工具

2016-04-19 12:17:52 730

原创 RTL support api level < 15

(RTL) Right to Left support 4.2 above. But I need support API 15, platform is 4.0. Platform VersionAPI LevelVERSION_CODENotesAndroid 6.023MPlatform Highligh

2016-04-07 11:44:36 770

原创 BUG Conclusion

after the promotion function, I spend about two days to fix bugs. there are some problem I've got.1.trust original code, there are some bugs that out of imagination.2.can not ensure the function what

2016-04-01 17:16:28 478

翻译 how to use google

how to use google?

2016-04-01 09:11:16 547

原创 TCP/IP阻塞控制机制

慢启动SS,加性增AIMD算法当出现丢包时,减少拥塞窗口CWin长度降低发送速率,在一般情况下谨慎增加CWin长度。阈值:帮助TCP判断何时进入阻塞避免区域,表示从慢启动阶段进入阻塞阶段的阈值。void slow_start(void){ CWin=1MSS; n=0; while(没有丢包){ if(在RTT期间接受到了ACK)

2015-09-18 10:30:01 1195

原创 设计模式_桥梁模式

Bridge Pattern    Decouple an abstraction from its implementation so that the two can vary independently.(将抽象和实现解耦,使得倆者可以独立的变化)例子"天下熙熙,皆为利来;天下攘攘,皆为利往"  现实和结构分开服装公司 ="服装"+"公司" ="服装公司"  解耦之前

2015-07-26 11:20:25 675

原创 设计模式_享元模式

Flyweight Pattern     use sharing to support large unmbers of fine-grained objects efficiently(使用共享对象可有效地支持大量的细粒度的对象)例子“三哥,厂商人员已经定位出了,OutOfMemory内存溢出,没查到有内存泄漏的情况,现 在还在跟踪……是突然暴涨的,都是在繁忙期出现问题

2015-07-26 11:16:18 705

原创 设计模式_状态模式

State Pattern    Allow an object to alter its behavior when its internal state changes.The object will appear to change its class.(当一个对象内在状态改变时,允许其改变行为,这个对象看起来像改变了其类)要说建造者模式是按照客户提供的顺序执行,那么这个是应对多

2015-07-26 11:10:46 616

原创 设计模式_访问者模式

Visitor Pattern    Repressent an operation to be performed  on the elements of an object structure.Visitor lets you define a new operation without changing the classees of the elements on which it

2015-07-25 14:39:08 894

原创 设计模式_备忘录模式

Mememento Pattern     Without violating encapsulation,capture and externalize an object's internal state so that the object can be restored to this state later.(在不破坏封装性的前提下,捕获一个对象的内部状态,并在该对象之外保存这个

2015-07-25 14:35:01 829

原创 设计模式_门面模式

Facade Pattern    Provide a unified interface to a set of interfaces in a subsystem.Facade defines a higher-level interface that makes the subsystem easier to use.(要求一个子系统的外部与其内部的通信必须通过一个统一的对象进行,门

2015-07-25 14:28:14 955

原创 设计模式_观察者模式

Observer Pattern     Define a ont-to-many dependency between objects so that when one object changes state,all its dependents are notified and updated automatically.(定义对象间一种一对多的依赖关系,使得每当一个对象改变状态时,

2015-07-25 14:26:57 812

原创 设计模式_组合模式

Composite Pattern     Compose objects into tree structures to represent part-whole hierarchies.Composite lets clients treat individual objects and compositions of objects uniformly.(将对象组合成树形结构以表示"

2015-07-21 23:36:57 554

原创 设计模式_适配器模式

Adapter Pattern     Converl the interface of a class into another interface clients expect.Adapter lets classes work together that couldn't otherwise because of incompatible interfaces.(将一个类的接口变换成

2015-07-21 23:33:46 479

原创 设计模式_策略模式

Strategy Pattern    Define a family of algorithms,encapsulate each one,and make them interchangeable.(定义一组算法,将每个算法都封装起来,并且使它们之间可以交换)Context : 上下文角色Strategy : 策略,算法家族的抽象,通常为接口ConcreteStra

2015-07-21 23:28:26 515

原创 设计模式_装饰模式

Decorator Pattern     Attach additional responsibilities to an object dynamically keeping the same interface. Decorators provide a  flexible alternative to subclassing for extending functionality.

2015-07-20 17:55:34 576

原创 设计模式_责任链模式

定义Avoid coupling the sender of a request to its receiver by giving more than one object a chance to handle the request.Chain the receiving objects and pass the request along the chain until an obj

2015-07-20 17:22:04 650

原创 设计模式_命令模式

定义    Encapsulate a request as an object ,thereby letting you parameterize clients with different requests,queue or log requests,and support undoable operations.(将一个请求封装成一个对象,从而让你使用不同的请求把客户端参数化,对请求排

2015-07-20 11:42:23 630

批量生成二维码图片的exe文件

aha~ fuc, the description

2017-08-18

批量生成二维码图片exe文件

可以批量生成二维码图片的exe文件 在win下运行

2017-08-01

tomcat_iis_connector

请注意版本号和系统位数

2016-04-23

Android-Support-Preference-V7-Fix-master.zip

android.support.v7 jar it's not work or I do not really know that

2015-12-23

GIF图片生成神器

GIF动画录制工具

2015-11-22

mybatis自动生成实体类和配制文件

mybatis自动生成实体类和配制文件,使用教程请百度。很简单的。

2015-07-09

javaSE基础的API文档

javaSE基础的API文档,有点大,32M,不过是中文的,放心下载。

2015-06-23

Jquery1.8.3开发文档

Jquery1.8.3开发文档,中文版

2015-06-23

Linux入门教程:Linux入门命令篇.pdf

Linux入门教程:Linux入门命令篇.pdf

2015-02-06

通讯录管理系统2

这是我大三时候的课程设计详细文件。直接导入工作空间即可。但是需要安装SWT插件和Oracle数据库相关的包,文件内包含了。

2015-01-13

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除