摘要: $.ajax({ dataType: "jsonp", url: "http://www.b.com/b.php", jsonp: "callback", success: function(data) { $(".info").text("uid:" + data.uid + " name:" + data.name); } ... 阅读全文
posted @ 2019-04-10 16:58 WhoAmMe 阅读(170) 评论(0) 推荐(0) 编辑
摘要: location / { if ($http_host !~ "m.xxx.cn"){ rewrite ^/web/(.*)/bdu(\d?)\.htm(.*)$ /rewrite.php?custom_dir=$1&bdu_num=$2 last; } rewrite ^/seo_web/(.*)/index\.html(.*)$ /seo_web/replace.php... 阅读全文
posted @ 2019-04-10 16:57 WhoAmMe 阅读(1145) 评论(0) 推荐(0) 编辑
摘要: $.ajax({ type: "GET", url: "test.json", data: {username:'tt', content:'tt'}, dataType: "json", success: function(data){ var html = ''; $... 阅读全文
posted @ 2019-04-10 16:57 WhoAmMe 阅读(300) 评论(0) 推荐(0) 编辑
摘要: ps -ef | grep php | grep -v php-fpm 阅读全文
posted @ 2019-04-10 16:55 WhoAmMe 阅读(522) 评论(0) 推荐(0) 编辑
摘要: 我有一个 foo 表,定义了如下几个字段:id / a / b,其中 id 是主键,a,b 原本应该具有唯一性, 但因为程序 bug 导致 a,b 内容有重复,现在我要在 a,b 上加唯一索引,请问如何删除 a,b 上重复的数据 阅读全文
posted @ 2019-04-10 16:54 WhoAmMe 阅读(258) 评论(0) 推荐(0) 编辑
摘要: win10安装了ShadowSocks软件,浏览器通过代理后就可以科学上网,但有时候需要通过cmd科学下载安装一些组件,就需要设置一下cmd的代理 cmd如果要设置代理的话,需要在执行其他命令之前,先执行一下 cmder如果使用的是bash模式,则先执行一下 PowerShell : 上面命令的作用 阅读全文
posted @ 2019-04-10 16:09 WhoAmMe 阅读(4579) 评论(0) 推荐(0) 编辑