自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(1)
  • 资源 (4)
  • 收藏
  • 关注

原创 Given an integer, write a function to determine if it is a power of two.

public class Solution {       public  boolean isPowerOfTwo(int n) {if (n<0) {return false;}String str= Integer.toBinaryString(Math.abs(n));char[] c=new char[str.length()]; c=str.toCharArray();if (c

2015-07-16 13:50:52 332

看门狗相关代码

WatchDog 看门狗以及相关的类 绝对有用

2015-05-11

C# ASP.NET 源码 文件监控 内容监控 日志监控

C# ASP.NET 源码 文件监控 内容监控 日志监控

2015-05-11

日志监测 实时监测

LogFilePurger: -------------- //清除 Purges all files in a folder older than X days. This was written to keep log folders from growing too large, specifically cruise control artifact folders. Command Line Parameters: param1 = [optional] Path to Directory param2 = [optional default = 30] Number of Days Example: LogFilePurger.exe "c:\logs" 90 When param1 is provided, the UI will not appear and the app will immediately clean the folder with no prompts(提示). If there is an error, it will be written to a logfile within the same directoy as the executable Cruise Control Project Example: Clean Logs C:\Path\To\LogFilePurger.exe "C:\Program Files\CruiseControl.NET\server\My Project\Artifacts" 90 LogMonitor: ----------- Allows you to monitor logfiles in realtime. param1 = [optional] path to logfile example: LogMonitor.exe "c:\logs\myfile.log" When param1 is provided, the UI will open and instantly start monitoring the specified file Credits ------- Author Jason Hinkle Copyright 2008

2015-04-14

空空如也

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

TA关注的人

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