首页 > 全部
(转)ASP.NET QueryString乱码解决问题
正常的情况下,现在asp.net的网站很多都直接使用UTF8来进行页面编码的,这与Javascript、缺省网站的编码是相同的,但是也有相当一部分采用GB2312。对于GB2312的网站如果直接用javascript进行ajax数据提交,例如:http://www.xxx.com/accept.as...
分类:Web开发   时间:2014-02-04 23:48:51    收藏:0  评论:0  赞:0  阅读:655
Silverlight 出现“无法加载 URI 的内容。URI 可能无效”错误的解决方案
在程序操作过程中偶尔会出现如标题所示的错误,开始一直不知道怎么回事,后来仔细调试了下,发现是在浏览器可以点击“前进/后退”按钮时,同时按住shift+鼠标滚轮滚动会出现这个Bug。上网查找了下,有些浏览器Shift+鼠标滚轮滚动就是代表“前进/后退”快捷键。而silverlight出此错误是因为用了...
分类:Web开发   时间:2014-02-04 23:47:11    收藏:0  评论:0  赞:0  阅读:733
POJ 1742 coins (dp)
题目大意是给出一些面值的硬币和数量。问在1-m中能凑出多少种钱。设 dp[i+1][j] 为前i种凑成j元第i种最多剩下多少。1. dp[i+1][j] = mi ( dp[i][j]>=0) 前i-1种已经能凑成j了2.dp[i+1][j] = -1 ( j 2 #include 3 #inclu...
分类:其他   时间:2014-02-04 23:48:01    收藏:0  评论:0  赞:0  阅读:610
游戏 slider
using UnityEngine;using System.Collections;public class La : MonoBehaviour { float verticalValue=0f; float horizontalValue=0.0f; // Use this for initi...
分类:其他   时间:2014-02-04 23:46:21    收藏:0  评论:0  赞:0  阅读:660
c#判断特殊字符?
var chars = string.Join(string.Empty, Enumerable.Range(0, char.MaxValue + 1).Select(c => (char)c).Where(c => char.IsSymbol(c) || char.IsPunctuation(c)...
分类:其他   时间:2014-02-04 23:45:31    收藏:0  评论:0  赞:0  阅读:654
【wikioi】1296 营业额统计
题目链接:http://www.wikioi.com/problem/1296/算法:Splay这是非常经典的一道题目,用Splay树来维护营业额,每天的最小波动值就等于 min{树根-树根的前驱, 树根的后继-树根)所以用Splay来维护PS: 本题数据有问题,所以当空行时,值为0代码:#incl...
分类:其他   时间:2014-02-04 23:44:41    收藏:0  评论:0  赞:0  阅读:692
游戏 tabpanel
using UnityEngine;using System.Collections;public class La : MonoBehaviour { private int select; private string[] barResource; private bool selectTogg...
分类:其他   时间:2014-02-04 23:43:51    收藏:0  评论:0  赞:0  阅读:593
English 好的报纸
1. 初级阶段 英语沙龙: ( 有中英文对照 ) www.es123.com2. 高级阶段 China daily: ( 带有官方色彩 ) www.chinadaily.com.cn3. econnomist ( 经济人报 ) www.econnomist.com
分类:其他   时间:2014-02-04 23:43:01    收藏:0  评论:0  赞:0  阅读:451
网购返利巧淘吧
推荐网购网店:巧淘吧,返利模式网 购不容错过,网址:http://url.cn/VsaNc7 ,让你从网购中过得利润,花少钱买自己想要的商品。
分类:其他   时间:2014-02-04 23:42:11    收藏:0  评论:0  赞:0  阅读:404
二分查找求最大数最小数
using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace ConsoleApplication10{ class Program { static void Main(str...
分类:其他   时间:2014-02-04 23:41:21    收藏:0  评论:0  赞:0  阅读:585
[Leetcode]-- Remove Nth Node From End of List
Given a linked list, remove thenthnode from the end of list and return its head.For example, Given linked list: 1->2->3->4->5, and n = 2. After removi...
分类:其他   时间:2014-02-04 23:40:31    收藏:0  评论:0  赞:0  阅读:481
Request.url请求路径的一些属性
Request.url请求路径的一些属性1,Request.UrlReferrer.AbsolutePath=获取URL的绝对路径例:"/Manager/Module/OfficialManage/Issuedadocument/Issuedadocument_WorkNew.aspx"2,Requ...
分类:其他   时间:2014-02-04 23:39:41    收藏:0  评论:0  赞:0  阅读:426
[Leetcode]--Palindrome Partitioning II
Given a strings, partitionssuch that every substring of the partition is a palindrome.Return the minimum cuts needed for a palindrome partitioning ofs...
分类:其他   时间:2014-02-04 23:38:51    收藏:0  评论:0  赞:0  阅读:463
SPOJ 220 Relevant Phrases of Annihilation(后缀数组)
You are the King of Byteland. Your agents have just intercepted a batch of encrypted enemy messages concerning the date of the planned attack on your ...
分类:其他   时间:2014-02-04 23:38:01    收藏:0  评论:0  赞:0  阅读:435
登陆DZ X3.0管理员后台提示 Can not write to cache files, please check directory ./data/ and ./data/sysdata/ .
最近在阿里云那里买了个云主机装的是:CentOS 6.3 64位 安全加固版,搬迁网站后登陆DZ X3.0管理员后台提示 Can not write to cache files, please check directory ./data/ and ./data/sysdata/ . 在百度刮了很...
分类:其他   时间:2014-02-04 23:37:11    收藏:0  评论:0  赞:0  阅读:530
Initialising Memories
The file_name and memory_nameare memory_start and memory_finish are optional, it missed out they default to the start index of the named memory and th...
分类:其他   时间:2014-02-04 23:35:31    收藏:0  评论:0  赞:0  阅读:585
R语言字符串函数
#字符串连接:paste()#paste(...,sep="",collapse=NULL)#字符串分割:strsplit()#strsplit(x,split,extended=TRUE,fixed=FALSE,perl=FALSE)#计算字符串的字符数:nchar()#字符串截取:substr(...
分类:其他   时间:2014-02-04 23:36:21    收藏:0  评论:0  赞:0  阅读:520
CodeAreaFX
CodeAreaFX is a text area for JavaFX with API to style ranges of text. It is intended as a base for rich-text editors and code editors with syntax hig...
分类:其他   时间:2014-02-04 23:34:41    收藏:0  评论:0  赞:0  阅读:507
myeclipse10 无响应 重启出现StandardServer.await: create[localhost:8005]:
当MyEclipse里面tomcat 7.x启动不了,这是因为端口被占用了,此时可以配置一下tomcat的端口号 ,或者把占用端口8005的进程结束掉,一般来说这时你的任务管理器中会有个javaw.exe的进程,把它结束了就行了,这样问题就解决了
分类:其他   时间:2014-02-04 23:33:01    收藏:0  评论:0  赞:0  阅读:656
django admin 显示“你无权修改任何东西。”
版本1.1.4解决方法:在url.py中加入admin.autodiscover()
分类:其他   时间:2014-02-04 23:31:21    收藏:0  评论:0  赞:0  阅读:579
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!