小编Pol*_*ito的帖子

Google SpreadSheet查询:我可以删除列标题吗?

我在google电子表格中执行此查询:

=QUERY(H4:L35;"select sum(L) where H='First Week'"; -1)
Run Code Online (Sandbox Code Playgroud)

但是它返回一个带有"sum"的小表作为标题和结果在它下面.我想要的只是结果!我如何删除标题?我可以吗?

formulas google-sheets google-query-language google-sheets-query

82
推荐指数
3
解决办法
6万
查看次数

Cordova 3 + Ripple

有人知道Ripple是否适用于最新的cordova版本?因为我正在尝试,我甚至无法启动控制面板.当我尝试没有它时,弹出一些"警报":

间隙:[ "插件管理", "启动", "PluginManager590841628"]

间隙:[ "应用", "显示", "App590841629"]

版本:Cordova 3 Ripple 0.9.16 Chrome 28.0.1500.95 m

google-chrome ripple cordova

18
推荐指数
2
解决办法
1万
查看次数

使用jQuery Mobile的Angular.js

我正在使用jQuery Mobile和Angular.js做一个应用程序.因为我们在使用这两个库时遇到了一些问题,存在一个执行"teh job" 的适配器.

所以我正在尝试使用routeProvider来路由我的页面.但我仍然无法使用此呈现页面.

如果你可以帮我指路,那就在这里.

http://plnkr.co/edit/DNGiT83csWMmfYnHXOop

提前致谢!

jquery-mobile angularjs

9
推荐指数
1
解决办法
7390
查看次数

Nodejs Restful Auth

我是新与和的NodeJS我做一个宁静的服务器的RESTify.所以,我有一个场景,我有很多设备(具有唯一ID)通过休息更新数据.我想要做的是验证它们并给出一个身份验证令牌.像这样的东西:

第一次:uri/api/auth - >获取令牌.

然后:uri/api/product/.... - >使用令牌和更新产品

我试图使用restify-node-token, 但我没有成功.

authentication rest token node.js restify

6
推荐指数
1
解决办法
1073
查看次数

单击按钮通知时关闭状态栏

如何在通知按钮单击后关闭状态栏?

我试过这个,但我有一个例外:

java.lang.NoSuchMethodException: collapse []
   at java.lang.Class.getConstructorOrMethod(Class.java:460)
   at java.lang.Class.getMethod(Class.java:915)
   ...
Run Code Online (Sandbox Code Playgroud)

我的代码:

NotificationCompat.Builder builder = new NotificationCompat.Builder(context)
    .setSmallIcon(R.drawable.icon)
    .setContentTitle("Sync Failed")
    .setContentText("Lorem ipsum dolor sit amet")
    .setStyle(new NotificationCompat.BigTextStyle().bigText("Lorem ipsum dolor sit amet"))
    .addAction(R.drawable.change, "Change Pass", pChangePass)
    .addAction(R.drawable.remove, "Ignore", pIgnore)
    .setAutoCancel(false);
mNotificationManager.notify(accountUnique, builder.build());
Run Code Online (Sandbox Code Playgroud)

在NotificationIntent类中

@Override
public void onReceive(Context context, Intent intent) {
    int notificationID = intent.getExtras().getInt("NOT_ID");
    this.callbackContext = StatusBarNotification.getCallback();
    this.mNotificationManager = StatusBarNotification.getNotificationManager();

    this.mNotificationManager.cancel(notificationID);
    this.callbackContext.success(returnJSON(intent));
}
Run Code Online (Sandbox Code Playgroud)

notifications android statusbar cordova

6
推荐指数
2
解决办法
4171
查看次数

不要让用户清除android通知?

有一种方法不让用户在没有按下按钮的情况下清除通知吗?我已经设置了setAutoCancel(false)并且没关系,但是有一个清除所有通知的按钮,我不希望它清除我的通知,因为它对用户很重要,他必须阅读它并选择一个动作.

NotificationCompat.Builder builder = new NotificationCompat.Builder(context)
        .setSmallIcon(R.drawable.icon)
        .setContentTitle("Sync Failed")
        .setContentText("Lorem ipsum dolor sit amet")
        .setStyle(new NotificationCompat.BigTextStyle().bigText("Lorem ipsum dolor sit amet"))
        .addAction(R.drawable.change, "Change Pass", pChangePass)
        .addAction(R.drawable.remove, "Ignore", pIgnore)
        .setAutoCancel(false);


mNotificationManager.notify(accountUnique, builder.build());
Run Code Online (Sandbox Code Playgroud)

notifications android

5
推荐指数
1
解决办法
3037
查看次数