在Gmail中,如果您收到来自新闻列表的电子邮件,则会在电子邮件地址旁边显示"取消订阅"链接,如下所示:
Google+ <noreply-67e4f7ae@plus.google.com> Unsubscribe
Run Code Online (Sandbox Code Playgroud)
标题名称List-Unsubscribe:标识了网址或电子邮件.
在Gmail中,我可以看到电子邮件原件以查看标题:
Received-SPF: pass (google.com: domain of root@domain.net designates 123.123.123.123 as permitted sender) client-ip=123.123.123.123;
Authentication-Results: mx.google.com;
spf=pass (google.com: domain of root@domain.net designates 123.123.123.123 as permitted sender) smtp.mail=root@domain.net;
dkim=pass header.i=@domain.com
List-Unsubscribe: <http://domain.com/uns.html?test=wdqwqw>
Run Code Online (Sandbox Code Playgroud)
我有List-Unsubscribe标题集,spf和dkim验证通过.
有什么不对?为什么gmail没有显示取消订阅链接?
$arrValue = array('first', 'second');
$ret = in_array(0, $arrValue);
var_dump($ret);
var_dump($arrValue);
Run Code Online (Sandbox Code Playgroud)
以上示例给出以下结果:
bool(true)
array(2) {
[0]=> string(5) "first"
[1]=> string(6) "second"
}
Run Code Online (Sandbox Code Playgroud)
为什么in_array()将针0与任何给定的干草堆相匹配?
有没有一种标准的方法可以知道jQuery插件已经在特定的HTML元素中初始化了?
如果select元素在Chosen插件下,我想做一些动作.
我正在使用ubuntu Ubuntu 14.04.1 LTS
atopsar -d 30 - 表明系统中的一个硬盘驱动器(sda)被大量使用.这个硬盘只提供mysql数据库.最常用的DB,通过符号链接重定位到另一个硬盘驱动器(sdb,sdd).现在atopsar显示几乎相同的负载sda和低于5%的负载到其他HDD.
有没有办法知道哪些文件在HDD上大量使用?
是不是mysql InnoDB日志文件(ib_logfile)碎片化了?因此atopsar显示出如此大的负荷(50%-70%).在那种情况下可以做些什么?
有一些输出来自atopsar -d 30:
08:52:47 disk busy read/s KB/read writ/s KB/writ avque avserv _dsk_
08:53:17 sda 63% 0.0 0.0 50.2 14.6 1.1 12.57 ms
sdb 5% 0.0 0.0 9.4 19.8 4.2 5.81 ms
sdd 2% 0.0 0.0 3.7 18.9 1.4 5.82 ms
08:53:47 sda 60% 0.0 16.0 48.1 15.7 1.0 12.55 ms
sdb 5% 0.0 0.0 6.9 17.5 4.6 7.35 ms …Run Code Online (Sandbox Code Playgroud) arrays ×1
email ×1
file-io ×1
gmail ×1
javascript ×1
jquery ×1
load ×1
performance ×1
php ×1
ubuntu ×1
unsubscribe ×1