自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(408)
  • 收藏
  • 关注

原创 node-inspector异常解决

Node Inspector v0.12.8Visit http://127.0.0.1:8080/?port=5858 to start debugging.C:\Users\songhj\AppData\Roaming\npm\node_modules\node-inspector\lib\InjectorClient.js:111      cb(error, NM[0].ref);   ...

2016-12-16 19:59:40 2351

原创 Koa优雅的处理404,500

http://www.myfreax.com/koa-404-500-customize-page/ Koa由Express团队打造的下一代,更小、更健壮、更富有表现力的 Web 框架,通过组合不同的 generator,可以写同步式的代码,异步式的执行,使得代码更加扁平化,简洁,易于阅读,并极大地提升常用错误处理效率。Koa 不在内核方法中绑定任何中间件,它仅仅提供了一个轻量优雅的函数...

2016-12-16 19:58:44 2344

原创 谈谈使用 promise 时候的一些反模式

From: http://efe.baidu.com/blog/promises-anti-pattern/谈谈使用 promise 时候的一些反模式 刘超凡  2015-07-24  JavaScript, promise本文翻译自 We have a problem with promises,为原文题目重新起了一个题目并且对原文有删改。各位 JavaScript...

2016-12-13 09:30:54 814

原创 利用Putty建立SSH通道实现代理

以前有介绍过MyEnTunnel来代理,但是MyEnTunnel不支持Win7,其实MyEnTunnel就是利用putty的,我们为何不自己使用putty来创建SSH通道来实现代理上网呢?用putty建立SSH通道其实也很简单。设置putty很简单,打开putty,找到左边的SSH,选择Tunnels,然后在Source port上填入你想要的端口号,然后Add一下,下面选择Dynami...

2015-03-14 12:40:55 2548

原创 druid 数据库密码加密

cmd命令:1、切换的druid-0.2.9.jar包所在目录2、在命令行中执行如下命令:java -cp druid-0.2.9.jar com.alibaba.druid.filter.config.ConfigTools you_password 即输出加密后密码3、<!-- sql统计功能就不能用 <property name="filters" value="stat" /...

2015-03-12 17:43:19 167

原创 AWS

Install JDKYou now need additional steps to get the file, as Oracle requires you to accept the licence:a) Go to download page using Firefox, click accept termsb) Use Export Cookies add-on, to sav...

2015-02-07 19:07:49 240 1

原创 JSJSJS

http://plugins.jquery.com/ 表格DataTables http://www.datatables.net/jqGrid http://www.trirand.com/blog/ 表单验证http://jqueryvalidation.org/ 选择框http://harvesthq.github.io/cho...

2014-10-27 12:08:11 787

原创 Compile NSIS scripts in Linux

http://blog.alejandrocelaya.com/2014/02/01/compile-nsis-scripts-in-linux/ Compile NSIS scripts in LinuxNSIS is a well known system used to create Windows installers for any type of applicatio...

2014-10-16 12:29:46 949

原创 [Jenkins]ArtifactDeployer Plugin

https://wiki.jenkins-ci.org/display/JENKINS/ArtifactDeployer+Plugin By default, Jenkins archives artifacts generated by the build. These artifacts are stored in the JENKINS_HOME directory with al...

2014-10-16 12:28:16 630

原创 [Android] 为Android安装BusyBox —— 完整的bash shell

http://www.cnblogs.com/xiaowenji/archive/2011/03/12/1982309.html 大家是否有过这样的经历,在命令行里输入adb shell,然后使用命令操作你的手机或模拟器,但是那些命令都是常见Linux命令的阉割缩水版,用起来很不爽。是否想过在Android上使用较完整的shell呢?用BusyBox吧。不论使用adb连接设备使用命令行还...

2013-12-27 10:19:11 117

原创 Windows的adb shell中使用vi不乱码方法及AdbPutty

http://www.veryhuo.com/down/html/65326.htmlhttp://forum.xda-developers.com/showthread.php?t=803225 有时候只是想简单的修改android手机里某个文本文件,但每次都只能用adb pull出来修改好了再adb push进去,要么就是干脆在手机上打字,各种麻烦。为手机安装了busyb...

2013-12-27 10:17:23 2934

原创 gdb tips

http://rdc.taobao.com/blog/cs/?p=1663http://rdc.taobao.com/blog/cs/?p=718http://blog.lifeibo.com/?p=380http://blog.yufeng.info/archives/873

2012-10-30 21:44:19 120

原创 DLNA/UPnp tools

http://softwarecommunity.intel.com/isn/downloads/zips/IntelToolsForUPnPTechnology_v2.ziphttp://opentools.homeip.net/dev-tools-for-upnp http://www.samsung.com/global/allshare/pcsw/

2012-10-28 18:46:35 575

原创 Chrome线程

http://optman.iteye.com/blog/544380http://optman.iteye.com/blog/545036http://optman.iteye.com/blog/548349http://optman.iteye.com/blog/548352

2012-10-25 21:19:43 284

原创 Chrome源码剖析

http://www.linuxidc.com/Linux/2011-04/34028.htm

2012-10-25 21:15:37 183

原创 The Chrome Sandbox Part 2 of 3: The IPC Framework

This post is the second part of a 3-part series about the Chrome sandbox. In the first post, I presented a basic overview of the Chrome process architecture and presented a breakdown of the atta...

2012-10-25 21:08:52 243

原创 Portable SDK for UPnP Devices (libupnp 1.6.17)

Portable SDK for UPnP Devices (libupnp)http://software.intel.com/en-us/videos/universal-plug-and-play-tutorial-upnp http://software.intel.com/en-us/blogs/2011/03/07/developer-tools-for-upnp-tec...

2012-10-09 20:13:21 824

原创 Communications as a Service

http://msdn.microsoft.com/en-us/library/bb896003.aspx Communications as a Service 10 out of 10 rated this helpful - Rate this topic ...

2012-09-12 11:04:30 646

原创 VoIP in-depth: An introduction to the SIP protocol

http://arstechnica.com/business/2009/12/wired-for-sound-how-sip-won-the-voip-protocol-wars/http://arstechnica.com/business/2010/01/voip-in-depth-an-introduction-to-the-sip-protocol-part-1/http://a...

2012-09-11 22:08:31 131

原创 SIP Introduction

http://ftp.iptel.org/pub/ser/0.8.14/doc/html/sip_introduction.html SIP IntroductionJan JanakCopyright © 2003 FhG FOKUS A brief overview of SIP describing all important...

2012-09-11 21:19:34 381

原创 Zepto

http://zeptojs.com/  Zepto is a minimalist JavaScript library for modern browsers with a largely jQuery-compatible API. If you use jQuery, you already know how to use Z...

2012-09-04 12:52:56 118

原创 HTML5 WebSocket 技术介绍

http://www.blogjava.net/TWaver/archive/2012/05/03/377244.html WebSocket是html5规范新引入的功能,用于解决浏览器与后台服务器双向通讯的问题,使用WebSocket技术,后台可以随时向前端推送消息,以保证前后台状态统一,在传统的无状态HTTP协议中,这是“无法做到”的。传统服务端推(server push)...

2012-09-03 14:45:12 96

原创 AppMobi推出新XDK,可创建测试PhoneGap项目

AppMobi今天发布了一个新的工具PhoneGap Mobile App XDK,可以让开发人员创建、模拟和测试PhoneGap项目。该工具是一个集成开发环境(IDE),提供了用于创建HTML5和PhoneGap应用的全套开发工具。AppMobi称,新的XDK为PhoneGap项目开发提供了一个直观的开发环境。AppMobi 致力于移动和Web开发,它们不断推出一些框...

2012-09-03 13:39:47 256

原创 带给网页电影般视觉冲击力的CSS着色器

http://bbs.9ria.com/thread-100120-1-1.html 原作者:Vincent HardyHTML5和CSS方面不断涌现的成果 (如过渡,动画,变形,文本阴影,图形阴影,渐变和SVG) 大大提升了HTML的图形和互动的丰富性。 现在你可以在CSS和HTML中使用SVG的滤镜效果Filter Effects 1.0版本了, 除SVG外, 针对...

2012-09-03 13:12:24 402

原创 Sencha

http://www.sencha.com/ Sencha介绍  Sencha是由ExtJS、jQTouch 以及 Raphael 三个项目合并而成的一个开源项目。Sencha Touch  Sencha Touch 是全球领先的应用程序开发框架,其设计旨在充分利用HTML5、CSS3 和Javascript 来实现最高级别的功能、灵活性和优化。Sencha Touch 是...

2012-09-03 12:59:53 164

原创 RequireJS

Require.JS 是一个根据需要来加载 js 文件的 JavaScript 框架,可避免不必要的js文件加载,提升网页浏览速度。 http://requirejs.org/

2012-09-01 12:34:19 92

原创 BackBone

Backbone.js 是一种重量级javascript  MVC 应用框架,通过Models进行key-value绑定及custom事件处理,通过Collections提供一套丰富的API用于枚举功能,通过Views来进行事件处理及与现有的Application通过RESTful JSON接口进行交互.比较适合于现在的类Twitter web2.0网站的开发! http://...

2012-09-01 12:34:08 115

原创 jQuery Mobile学习

使用Jquery Mobile设计Android通讯录统一接口工具JQuery Mobile简介使用JQuery Mobile实现手机新闻浏览器JQuery Mobile实现手机新闻浏览器(2)http://tech.it168.com/a2011/0323/1169/000001169682.shtml使用jQuery Mobile实现新闻浏览器(3)http...

2012-09-01 12:33:55 107

原创 jQTouch

A Zepto/jQuery plugin for mobile web development on the iPhone, Android, iPod Touch, and other forward-thinking devices. http://www.jqtouch.com/ 

2012-08-30 15:57:30 223

原创 SwiFTP

SwiFTP is a FTP server that runs on the Android platform. It emphasizes simplicity, ease of use, and small size.  http://code.google.com/p/swiftp/

2012-08-30 15:43:56 238

原创 kWS

kWS is a lightweight and fast Web Server especially designed for android mobile devices. It can be used to host websites and to serve files over HTTP.  https://play.google.com/store/apps/detai...

2012-08-30 15:41:11 712

原创 jQuery Mobile

http://jquerymobile.com/

2012-08-30 15:07:46 96

原创 PhoneGap

http://phonegap.com/

2012-08-30 15:07:01 72

原创 SNMP++

http://www.agentpp.com/

2012-08-19 11:21:10 142

原创 Android Button background image pressed/highlighted and disabled states without

http://shikii.net/blog/android-button-background-image-pressedhighlighted-and-disabled-states-without-using-multiple-images/ In Android, if you provide custom background images for buttons, you ...

2012-08-06 12:49:36 107

原创 [AndriodTips]Image, saved to sdcard, doesn't appear in Android's Gallery app

http://stackoverflow.com/questions/2170214/image-saved-to-sdcard-doesnt-appear-in-androids-gallery-app sendBroadcast(new Intent(Intent.ACTION_MEDIA_MOUNTED, Uri.parse("file://"+ Environment.getE...

2012-08-04 16:15:09 115

原创 Voice detection for Android

Here it is, my fist JAVA application for Android. This is very simple application which introduce how you can get sound from microphone of your phone analyze it and record it on your phones SD card. W...

2012-07-23 11:39:01 169

原创 [AndroidTip]local reference table overflow (max=512)的错误解决

JNI层coding经常会遇到ReferenceTable overflow问题,特别是当jni函数被反复调用上千上万次的时候,现汇总如下,未完待续,并欢迎补充,(*^__^*) 嘻嘻……总体原则:释放所有对object的引用1.FindClass 例如,jclass ref= (env)->FindClass("java/lang/String");env->De...

2012-07-22 22:56:57 271

原创 [AndroidTip]EditText如何初始状态不获得焦点?

最简单的办法是在EditText前面放置一个看不到的LinearLayout,让他率先获取焦点:<LinearLayout        android:focusable="true" android:focusableInTouchMode="true"        android:layout_width="0px" android:layout_height="0px"...

2012-07-22 15:35:30 115

原创 [AndroidTip]android textview滚动条

本来是想做一个显示文字信息的,当文字很多时View的高度不能超过一个固定的值,当文字很少时View的高度小于那个固定值时,按View的高度显示。因为ScrollView没有maxHeight,无法满足需求,只好另找方法了。View本身是可以设置ScrollBar,这样就不一定需要依赖ScrollView了。TextView有个属性maxLine,这样也就满足了需求了,只要设置一个TextVie...

2012-07-21 14:29:39 188

空空如也

空空如也

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

TA关注的人

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