会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
rubekid
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
13
14
15
16
17
18
19
下一页
2014年12月8日
随笔
摘要: 1、知道那些功能可以实现,可以更加快速开发。2、知道那些功能无法实现,以便更早使用代替方案。3、及时请教他人。4、不要轻信别人的否定答案。5、软件工程师不是为了某个语言而存在的,而是为了解决问题而存在。6、宁写bug,也不要复制黏贴7、不是机器人,别指望一蹴而就。编写的代码要不断打磨才能趋于完善,先...
阅读全文
posted @ 2014-12-08 20:20 rubekid
阅读(119)
评论(0)
推荐(0)
2014年11月24日
JAVA彩色图片变灰处理
摘要: File file = new File("F:/firefox.png");File destFile = new File("F:/pic/" + System.currentTimeMillis() + ".png");BufferedImage image = ImageIO.read(fi...
阅读全文
posted @ 2014-11-24 14:56 rubekid
阅读(1097)
评论(0)
推荐(0)
2014年11月17日
include子页面传递过来的参数传递到后台
摘要: 在页面上可以使用 ${param.moduleId}来获取在判断中也可以使用${param.moduleId == "test" ? "1":"2"}但要作为参数传递到后台的话,则要用 request.getParameter("moduleId") 而不能用 param.moduleId 或 $(...
阅读全文
posted @ 2014-11-17 11:12 rubekid
阅读(337)
评论(0)
推荐(0)
2014年11月9日
Java 图片切圆角,消除锯齿
摘要: public static BufferedImage setBorderRadius(BufferedImage srcImage, int radius){ int width = srcImage.getWidth(); int height = srcImage.getHeigh...
阅读全文
posted @ 2014-11-09 22:54 rubekid
阅读(2500)
评论(0)
推荐(0)
2014年11月6日
java对象Integer不能引用传递
摘要: java对象Integer不能引用传递 /** * The value of the Integer. * * @serial */ private final int value; /** * Constructs a ne...
阅读全文
posted @ 2014-11-06 09:38 rubekid
阅读(3048)
评论(0)
推荐(2)
2014年11月5日
图片设置3D效果
摘要: /** * 图片绘制3d效果 * @param srcImage * @param radius * @param border * @param padding * @return * @throws IOException *...
阅读全文
posted @ 2014-11-05 23:52 rubekid
阅读(324)
评论(0)
推荐(0)
IE标签a嵌套table标签,链接点击无效
摘要: 在IE中,使用如下代码将无法触发跳转: 点击 a作为行内元素而table是块级元素。在IE 6、7、8、9中上面链接将无法生效。js兼容处理$("a:has(table)").bind("click", function()...
阅读全文
posted @ 2014-11-05 20:00 rubekid
阅读(454)
评论(0)
推荐(0)
2014年10月29日
javascript获取标签样式(获取背景为例)
摘要: function getStyle(el){ if(window.getComputedStyle){ return window.getComputedStyle(el,null); } return el.currentStyle;}function getSt...
阅读全文
posted @ 2014-10-29 14:04 rubekid
阅读(474)
评论(0)
推荐(0)
2014年10月24日
Java 二维码生成工具类
摘要: /** * 二维码 工具 * * @author Rubekid * */public class QRcodeUtils { /** * 默认version */ public static final int DEFAULT_VERSION = 9; /...
阅读全文
posted @ 2014-10-24 00:43 rubekid
阅读(441)
评论(0)
推荐(0)
Java 图片设置圆角(设置边框,旁白)
摘要: /** * 图片设置圆角 * @param srcImage * @param radius * @param border * @param padding * @return * @throws IOException */ ...
阅读全文
posted @ 2014-10-24 00:40 rubekid
阅读(12446)
评论(0)
推荐(1)
上一页
1
···
13
14
15
16
17
18
19
下一页
公告