Rails 的 transaction 事务处理最近太做一个数据排名统计,统计过程中需要删除旧的缓存统计数据,最开始写的时候就直接CachePostTotal.connection.execute("truncate table cache_post_totals")先把这个表给重置了,然后再循环往...
分类:
其他好文 时间:
2014-07-22 22:52:34
阅读次数:
238
Pascal GPUPascal(from French mathematician Blaise Pascal) is Maxwell successor. Inthis news, we learnt thatVoltawas the post-Maxwell architecture, but...
分类:
其他好文 时间:
2014-07-22 22:50:34
阅读次数:
1611
如何访问webservice 。 三种方式我知道, 但是,方式1 只说明了如何访问wsdl, 不知道如何调用,现在就是需要知道如何像下面url描述一样 , http get 、post 方式调用wshttp://technet.microsoft.com/zh-cn/subscriptions/45...
分类:
Web程序 时间:
2014-07-22 22:50:16
阅读次数:
172
1 8 9 10 11 12 13 14 应用数据统计 15 16 59 60 61 62 63 64 65 66 直通车汇总报表 67 " method="post" autocomplete="off...
分类:
其他好文 时间:
2014-07-22 22:49:54
阅读次数:
203
flash中打开网页,以及用GET/POST二种方式向服务端发送数据01//按下按钮,打开网页02btnOpen.addEventListener(MouseEvent.CLICK,03 function(){04 navigateToURL(newURLRequest("http://www.g....
分类:
Web程序 时间:
2014-07-22 22:49:14
阅读次数:
244
post和get的区别post地址栏不会出现一大串?bjnghfgreygt这样的东西如果是get,就会出现了1、Get 方法通过 URL 请求来传递用户的数据,将表单内各字段名称与其内容,以成对的字符串连接,置于 action 属性所指程序的 url 后,如[url]http://www.mdm....
分类:
其他好文 时间:
2014-07-22 22:48:52
阅读次数:
179
虽然你仍然可以在开发过程中使用传统方式获取各种系统变量,例如: $id????=??$_GET[‘id‘];?//?获取get变量$name??=??$_POST[‘name‘];??//?获取post变量$value?=??$_SESSION[‘var‘];?//?获取...
分类:
Web程序 时间:
2014-07-21 10:34:22
阅读次数:
304
按照这篇文章 安装依赖: yum?install?curl
yum?install?curl-devel
yum?install?zlib-devel
yum?install?openssl-devel
yum?install?perl
yum?install?cpio
yum?install?expat-devel
yum?install...
分类:
其他好文 时间:
2014-07-21 10:34:16
阅读次数:
190
这里我的系统是Ubuntu14.04 LTS 安装RVM 和 Ruby 运行:?curl -sSL https://get.rvm.io | bash -s stable --ruby 如果没有 curl 就安装下, 命令: sudo apt-get install curl 安装Rails 运行: sudo gem install ra...
分类:
数据库 时间:
2014-07-21 10:31:47
阅读次数:
296
##遇到的问题 - 请求发送后,服务端无响应 Django对于POST请求会检查请求来源,表单方式提交时: - 在Form内添加 ```{% csrf_token %}``` 标签; - request响应函数前,添加 ```@csrf_exempt``` ; - Jquery POST...
分类:
Web程序 时间:
2014-07-21 10:15:24
阅读次数:
513