how to use Meteor.http.call?Meteor.http is only available on sever sidehttp模块仅能用于server端。1,add httpmeteor add http2, 使用wrapAsync封装异步调用Meteor.methods({...
分类:
其他好文 时间:
2015-08-04 20:40:26
阅读次数:
298
USE [数据库名]GO DECLARE @TableName1 NVARCHAR(100); DECLARE @TableName2 NVARCHAR(100); DECLARE @DataName1 NVARCHAR(100); DECLARE @DataName2 NVARCHAR(10...
分类:
数据库 时间:
2015-08-04 19:06:18
阅读次数:
171
1.修改配置文件sudo vim /etc/mysql/my.cnf把bind-address参数的值改成你的内/外网IP或0.0.0.0,或者直接注释掉这行.2.登录数据库mysql -u root -p输入密码mysql> use mysql;3.查询hostmysql> select user...
分类:
数据库 时间:
2015-08-04 18:57:06
阅读次数:
171
# By default Redis does not run as a daemon. Use 'yes' if you need it.# Note that Redis will write a pid file in /var/run/redis.pid when daemonized.#R...
分类:
其他好文 时间:
2015-08-04 18:46:03
阅读次数:
140
An extension of Best Time to Buy and Sell Stock III. The idea is still to use dynamic programming (see here for detailed introduction). However, in th...
分类:
其他好文 时间:
2015-08-04 18:38:05
阅读次数:
139
在c中const这个关键字,维基给出这样一句话
When applied in an object declaration,[b] it indicates that the object is a constant: its value does not change, unlike a variable. This basic use – to declare constants – has...
分类:
其他好文 时间:
2015-08-04 15:52:44
阅读次数:
124
IInterface:/*
* Copyright (C) 2006 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the Lic...
分类:
移动开发 时间:
2015-08-04 15:49:04
阅读次数:
175
JavaWeb项目运行Jetty服务器的时候,出现这个错误
java.net.BindException: Address already in use: bind
at sun.nio.ch.Net.bind0(Native Method)
at sun.nio.ch.Net.bind(Net.java:437)
at sun.nio.ch.Net.bind(Net.java:429)
...
分类:
其他好文 时间:
2015-08-04 11:20:45
阅读次数:
276
下载服务端的命令 apt-get install anyremote 下载服务端软件官网的使用说明http://anyremote.sourceforge.net/use.html客户端的使用命令anyremote -f /...path_to.../xmms.cfg -s peer[,peer ....
分类:
其他好文 时间:
2015-08-04 10:48:43
阅读次数:
98
publicfunctionbuyerAlreadybrand(){$effect=Request::get('effect');$data=$this->brand->where(function($query)use($effect){if($effect==-1){return$query->...
分类:
数据库 时间:
2015-08-04 10:36:23
阅读次数:
365