- 博客(10)
- 资源 (87)
- 收藏
- 关注
转载 常用正则表达式
正则表达式用于字符串处理、表单验证等场合,实用高效。现将一些常用的表达式收集于此,以备不时之需。 注:以下内容来自网络,因正则表达库不同可能部分不适用 匹配HTML标记的正则表达式:]*>.*?| 评注:网上流传的版本太糟糕,上面这个也仅仅能匹配部分,对于复杂的嵌套标记依旧无能为力 匹配首尾空白字符的正则表达式:^\s*|\s*$ 评注:可以用来删除行首行尾的空
2012-03-28 11:16:13 648
原创 自定义Gallery 滑动中图片自动突出显示
[code="java"]package org.pskink; import android.content.Context; import android.content.res.TypedArray; import android.graphics.Matrix; import android.os.Handler; import android.os.Message; im...
2012-03-17 17:14:07 120
原创 gallery 选中图片放大缩小
[code="java"]package com.testgallery.test; import android.app.Activity; import android.content.Context; import android.os.Bundle; import android.util.Log; import android.view.View; import andr...
2012-03-17 17:06:24 286
原创 Android 中Base64的操作
/** * 将文件转成base64 字符串 * @param path 文件路径 * @return * @throws Exception */ public static String encodeBase64File(String path) throws Exception { File file = new File(path); FileInputStr
2012-03-15 10:56:56 2142 1
转载 C++代码案例
《深入体验C语言项目开发》 配书光盘 版权所有,侵权必究 2011年5月 _________________________________________________________
2012-03-10 15:42:41 1644
转载 Annan warns against use of more force in Syria
Play Video The UN-Arab League special envoy on Syria, Kofi Annan, has warned any further militarisation would only make the situation in Syria worse. Annan voiced his concerns after talks
2012-03-09 17:57:20 1013
转载 London Book Fair to focus on China
03-09-2012 09:20 BJT This year's London Book Fair is set to shine a spotlight on China. Running from April 16th to 18th, the fair is a global marketplace for rights negotiation and the
2012-03-09 17:52:24 1136
原创 Database Editor SQLiteExpertSetup.exe
Database Editor - Get access to the offline or online database http://download.exdat.com/file/ode.msi/index-12856.html http://www.download25.com/install/sqlite-expert-professional.html
2012-03-09 16:30:49 1343
翻译 Notification
//获取通知管理器 NotificationManager mNotificationManager = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE); int icon = android.R.drawable.stat_notify_chat; long when = System.curr
2012-03-08 15:31:51 570
原创 error
03-08 10:39:43.240: W/System.err(3449): java.net.SocketException: No route to host 03-08 10:39:43.240: W/System.err(3449): at org.apache.harmony.luni.platform.OSNetworkSystem.connect(Native Method)
2012-03-08 10:40:11 867
1-01-科学思维与工程思维.pdf
2020-08-07
JSTL使用项目和lib资源
2018-09-29
googlecellfolding
2017-03-11
yml文件关键词自动可视化替换.zip
2024-04-26
树莓派与windows电脑视频实时同步,直播,监控都可以应用
2024-03-15
npx create-react-app react-app-demo ```
2022-04-12
解密压缩包 macos系统tar命令加密压缩文件 解密压缩文件 批处理shell bash 脚本
2022-03-17
一次搞明白 Session、Cookie、Token,面试问题全搞定.pdf
2020-04-18
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人