会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
调调儿
的地盘
博客园
首页
新随笔
联系
订阅
管理
2018年1月22日
angular http ajax header
摘要: myAppModule.config(['$httpProvider', function($httpProvider) { $httpProvider.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest'; }]);
阅读全文
posted @ 2018-01-22 16:54 调调儿
阅读(411)
评论(0)
推荐(0)
2016年10月27日
javascript 实现htmlEncode htmlDecode
摘要: 屌屌的写法。。function htmlEncode(value){ //create a in-memory div, set it's inner text(which jQuery automatically encodes) //then grab the encoded contents
阅读全文
posted @ 2016-10-27 15:31 调调儿
阅读(1582)
评论(0)
推荐(0)
2016年3月21日
windows下的python扩展包下载地址
摘要: pip install xxx.whl
阅读全文
posted @ 2016-03-21 18:49 调调儿
阅读(607)
评论(0)
推荐(0)
2016年2月29日
php版DES
摘要: class DES { var $key; var $iv; //偏移量 function DES( $key, $iv=0 ) { //key长度8例如:1234abcd $this->key = $key; if( $iv == 0 ) { $this->iv = $key; //默认以$key
阅读全文
posted @ 2016-02-29 17:37 调调儿
阅读(2888)
评论(0)
推荐(0)
2015年12月11日
.net mvc web api 大坑B
摘要: public object Test(string x){ return x;}当你的.net mvc web api里有这么个方法时。你想$.post("api/xxx/test",{"x":"ttt"},function(data){ console.log(data);});对不起,4...
阅读全文
posted @ 2015-12-11 13:03 调调儿
阅读(177)
评论(0)
推荐(0)
2015年2月5日
新浪云(SAE)使用没有内置的django版本
摘要: SAE自带的django目前到1.5版本,如果要使用更高的版本,则需要把django包同代码一起上传。以1.7.3为例先从SAE svn签出代码,默认1是根目录1. 1目录下创建文件夹 site-packages ,把django包copy到此文件夹 django包在python安装目录中 如 C:...
阅读全文
posted @ 2015-02-05 10:49 调调儿
阅读(3716)
评论(5)
推荐(0)
2015年1月22日
微信朋友圈分享页面(JS-SDK 1.0)
摘要: 微信更新sdk后大量分享朋友圈代码失效,标题 缩略图 描述无法自定义新版SDK分享文章步骤1.绑定域名 (方法参考 http://mp.weixin.qq.com/wiki/7/aaa137b55fb2e0456bf8dd9148dd613f.html )2.服务端 需要生成签名供分享页面的js接口...
阅读全文
posted @ 2015-01-22 11:09 调调儿
阅读(4207)
评论(0)
推荐(0)
2015年1月21日
System.Data.SQLite.EF6
摘要: 2015.1.21到目前为止这个破玩意不支持code first 建数据库 建表代替方案 SQL Server Compact--------------------------------------------------
阅读全文
posted @ 2015-01-21 22:52 调调儿
阅读(779)
评论(0)
推荐(0)
2014年6月14日
centos 安装git server
摘要: 安装httpd git# yum install httpd git建空仓库# cd /var/cache/git/# mkdir gittest.git && cd gittest.git# git --bare initInitialized empty Git repository in /v...
阅读全文
posted @ 2014-06-14 10:55 调调儿
阅读(5641)
评论(1)
推荐(1)
2013年1月22日
log4net重复记日志
摘要: <root>和<logger>两个节点同时存在,可能会记两份日志。原因:logger 继承root只要在配置文件里的logger加上属性additivity="false" 就可以了
阅读全文
posted @ 2013-01-22 13:43 调调儿
阅读(386)
评论(1)
推荐(1)
下一页
公告
点击右上角即可分享