上一页 1 ··· 7 8 9 10 11 12 13 下一页
摘要: public static string IPAddress{get{string userIP;// HttpRequest Request = HttpContext.Current.Request;HttpRequest Request = HttpContext.Current.Request; // ForumContext.Current.Context.Request;// 如果使用代理,获取真实IPif (Request.ServerVariables["HTTP_X_FORWARDED_FOR"] != "")userIP = Requ 阅读全文
posted @ 2013-05-19 12:33 BicycleBoy 阅读(368) 评论(0) 推荐(0) 编辑
摘要: //对字符串进行SHA1摘要public string EncryptToSHA1(string str){ SHA1CryptoServiceProvider sha1 = new SHA1CryptoServiceProvider(); byte[] ... 阅读全文
posted @ 2013-05-19 12:33 BicycleBoy 阅读(389) 评论(0) 推荐(0) 编辑
摘要: $("a").mouseenter(function () {var setx = this.offsetLeft;var sety = this.offsetTop;//alert(setx + "," + sety);$("#showd").css({'top': sety + 20 + 'px','left': setx + 50 + 'px','position': 'absolute','background': 阅读全文
posted @ 2013-05-19 12:31 BicycleBoy 阅读(243) 评论(0) 推荐(0) 编辑
摘要: <script type="text/javascript">$(function () {var url_arr = GetURLRequest(window.location.href).split('|'); //获取当前页REQUEST集合,并存入数组。alert(url_arr);});function GetURLRequest(Url) {var u, g, StrBack = '', RETURNVALUE = "";if (arguments[arguments.length - 1] == 阅读全文
posted @ 2013-05-19 12:30 BicycleBoy 阅读(241) 评论(0) 推荐(0) 编辑
摘要: public Bitmap CutBitmap(Bitmap b, int left, int top, int Width, int Height)//对图片进行裁剪{Bitmap bm = b;Graphics g = Graphics.FromImage(bm);g.DrawImage(b, new Rectangle(0, 0, bm.Width, bm.Height), new Rectangle(left, top, Width, Height), GraphicsUnit.Pixel);g.Dispose();Bitmap bmp=ResizeBitmap(bm, 150, 15 阅读全文
posted @ 2013-05-19 12:30 BicycleBoy 阅读(712) 评论(0) 推荐(0) 编辑
摘要: 显示进入目标中的所有页面:将conf文件夹内的server.xml中〈init-param〉节点下的〈param-value〉false〈/param-value>下的false改为true既可;添加新的虚拟目录:在conf文件夹内的web.xml中的前面加上既可. 阅读全文
posted @ 2013-05-19 12:29 BicycleBoy 阅读(118) 评论(0) 推荐(0) 编辑
摘要: 启动oracle服务:net start OracleService[数据库名]启动oracle监听器:lsnrctl status查看运行状态lsnrctl stop停止监听lsnrctl start启动监听连接到指定数据库:conn [用户名]/[密码]@[数据库名];conn [用户名]/[密码] as sysdba 以管理员身份连接数据库为数据库添加新用户:先以数据库管理员的身份连接到指定数据库:conn [用户名]/[密码]@[数据库名] as sysdba;查看用户默认表空间:select username,default_tablespace from dba_users;创建用 阅读全文
posted @ 2013-05-19 12:27 BicycleBoy 阅读(383) 评论(0) 推荐(0) 编辑
摘要: 数据导出:1.将数据库TEST完全导出,用户名system密码manager导出到D:\daochu.dmp中exp [用户名]/[口令]@[SID] file=d:\daochu.dmp full=y2.将数据库中system用户与sys用户的表导出exp [用户名]/[口令]@[SID] file=d:\daochu.dmp owner=(system,sys)3.将数据库中的表inner_notify、notify_staff_relat导出exp [用户名]/[口令]@[SID] file= d:\data\newsmgnt.dmp tables=(inner_notify,notif 阅读全文
posted @ 2013-05-19 12:19 BicycleBoy 阅读(144) 评论(0) 推荐(0) 编辑
摘要: 1.下载dex2jarhttp://code.google.com/p/dex2jar/downloads/list以及jadhttp://www.cr173.com/soft/22741.html2.解压*.apk包找到里面的classes.dex3.在cmd下进入dex2jar目录找到dex2jar.bat所在路径,然后输入“dex2jar.bat XXX”,XXX指的是你要反编译的apk中的classes.dex完整路径4.再用解压缩工具将上面得到的classes.dex.dex2jar.jar解压,最后再用jad反编译,命令格式:jad -o -r -d[输出目录] -sjava [c 阅读全文
posted @ 2013-05-19 12:18 BicycleBoy 阅读(139) 评论(0) 推荐(0) 编辑
摘要: 去除本地WIFI流量,只统计2G/3G流量数据存储:package com.android.oa.PublicTool;//获取网络数据public class HttpData {public static String userId = "";public static String checkCode = "";public static boolean isNetwork = false;public static String GetData(Context context, String httpUrl) { getTotalBytes(co 阅读全文
posted @ 2013-05-19 12:17 BicycleBoy 阅读(604) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 下一页