unit Form_Main; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Form... ...
iOS8以后苹果可以安装第三方键盘, 通过断点我们会发现使用第三方键盘之后, 键盘将要弹出的方法:- (void)keyBoardWillShow:(NSNotification *)notification会执行三次, 三次的高度分别是:0:216:282。我们发现我们需要的是第三次的高度。 我们 ...
分类:
移动开发 时间:
2017-02-16 14:06:16
阅读次数:
346
master:192.168.108.18
slave:192.168.108.19
vip:192.168.108.17
master:keepalived.conf
global_defs{
notification_email{
****@****.com
}
notification_email.fromkeepalived@localhost.com
smtp_server****
smtp_connect_timeout30
route_idLVS_DEVEL
}
vrrp_scriptch..
分类:
其他好文 时间:
2017-02-14 23:03:04
阅读次数:
247
说明:其基本实现思想为创建两个虚拟路由器,并以两个节点互为主从。 ! 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