说明:其基本实现思想为创建两个虚拟路由器,并以两个节点互为主从。 ! Configuration File for keepalived global_defs { notification_email { linuxedu@foxmail.com mageedu@126.com } notific... ...
分类:
其他好文 时间:
2017-02-14 12:17:51
阅读次数:
166
! Configuration File for keepalived global_defs { notification_email { linuxedu@foxmail.com mageedu@126.com } notification_email_from kanotify@magedu.... ...
分类:
其他好文 时间:
2017-02-14 11:59:39
阅读次数:
173
适用Android系统: 1) Android版本>= 5.0 2) 部分ROM是不支持 views : 自己赋值的RemoteViews,建议高度适用64dp,因为高度高了,有可能会出现截断(系统做处理)。 notification.visibility = Notification.VISIBI ...
分类:
移动开发 时间:
2017-02-13 18:43:59
阅读次数:
377
<a onclick="showNotification();">show Notification</a> <script> function showNotification () { window.Notification.permission = "granted"; alert(windo ...
分类:
其他好文 时间:
2017-02-08 15:56:09
阅读次数:
165
配置文件路径: /etc/keepalived/keepalived.conf 配置文件整体结构: global_defs{ notification_email{}定义邮件报警配置 }定义全局配置 vrrp_sync_group httpd{ group{}不同组定义 }定义vrrp组 vrrp_ ...
分类:
其他好文 时间:
2017-01-19 12:29:29
阅读次数:
234
可以参照http://blog.csdn.net/vipzjyno1/article/details/25248021,这里面关于通知的写的不错,也很全面,我的这篇主要是记录自己在适配上遇到的问题。通知的统一的创建方式:NotificationCompat.BuildermBuilder=newNotificationCompat.Builder(mContext);而通知的管理则是..
分类:
移动开发 时间:
2017-01-16 23:19:54
阅读次数:
757
如果出现:“editable email notification aborted due to exception”这样的错误,尝试升级一下jenkins,估计是这个导致的。 解决思路: http://stackoverflow.com/questions/18497116/not-able-to ...
分类:
其他好文 时间:
2017-01-10 08:32:25
阅读次数:
338
当某个应用程序希望向用户发出一些提示信息,而应用程序又不在前台,可以借助Notification来实现。发出一条通知后,手机最上方额通知栏会显示一个图标,下来状态栏以后可以看到详细内容。 一、通知的基本用法 通知可以在活动中创建,也可以在广播接收器里创建,还可以在服务中创建。 发出一条通知的步骤: ...
分类:
其他好文 时间:
2017-01-08 17:30:55
阅读次数:
493
笔记:Memory Notification: Library Cache Object loaded into SGA在警告日志中发现一些这样的警告信息:Mon Nov 21 14:24:22 2011Memory Notification: Library Cache Object loaded ...
分类:
系统相关 时间:
2016-12-30 17:26:40
阅读次数:
230
前言 iOS 10 中废弃了 UILocalNotification ( UIKit Framework ) 这个类,采用了全新的 UserNotifications Framework 来推送通知,从此推送通知也有了自己的标签 UN (这待遇真是没别人了),以及对推送功能的一系列增强改进(两个 e ...
分类:
移动开发 时间:
2016-12-27 13:45:57
阅读次数:
267