Prime Path Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 20237 Accepted: 11282 Description The ministers of the cabinet were quite upset ...
分类:
其他好文 时间:
2017-04-20 20:50:32
阅读次数:
241
android整理 原文链接 创建一个Service: 最关键的是onStartCommand 里面返回的Service.START_STICKY, ...
分类:
移动开发 时间:
2017-04-19 12:59:07
阅读次数:
372
系统管理 at 安排在特定日期和时间运行命令和程序 shutdown立即或定时关机或重启 taskkill结束进程(WinXPHome版中无该命令) tasklist显示进程列表(Windows XP Home Edition中没有) reg 注册表控制台工具 at AT命令是Windows XP中 ...
分类:
其他好文 时间:
2017-04-18 21:20:01
阅读次数:
210
本人为win7 64位操作系统,戴尔笔记本电脑。 昨天在教室写程序来着,突然桌面上出现this computer is being attacked的窗口,如下所示。每隔半分钟左右出现在电脑桌面上转两圈。 并且自中病毒后,电脑运行速度变得很慢,用网上的解决办法,没效果,差点去重装系统了。。打开任务资 ...
[java] view plain copy package xiaosi.RoundConcer; import android.app.Activity; import android.graphics.Bitmap; import android.graphics.Bitmap.Config; ...
分类:
移动开发 时间:
2017-04-17 14:01:40
阅读次数:
249
[java] view plain copy //设置颜色 public void setColour(int color){ co = color; } //设置边框宽度 public void setBorderWidth(int width){ borderwidth = width; } [ ...
分类:
移动开发 时间:
2017-04-17 13:59:19
阅读次数:
301
BorderTextViews.Java [java] view plain copy package xiaosi.BorderTextView; import android.content.Context; import android.graphics.Canvas; import andr ...
分类:
移动开发 时间:
2017-04-17 13:00:08
阅读次数:
209
package xiaosi.grivaty; import android.content.Context; import android.graphics.Bitmap; import android.graphics.BitmapFactory; import android.graphics... ...
分类:
移动开发 时间:
2017-04-17 12:54:55
阅读次数:
234
理解零拷贝 零拷贝是Netty的重要特性之一,而究竟什么是零拷贝呢? WIKI中对其有如下定义: “Zero-copy” describes computer operations in which the CPU does not perform the task of copying data ...
分类:
Web程序 时间:
2017-04-17 12:54:29
阅读次数:
245
[java] view plain copy mPaint = new Paint(); mPaint.setXfermode(new PorterDuffXfermode(PorterDuff.Mode.SCREEN)); [java] view plain copy [java] view pl ...
分类:
移动开发 时间:
2017-04-17 12:49:39
阅读次数:
163