参考Infoq上的这篇文章:Link 《深入理解Java内存模型(一)——基础》 ...
分类:
编程语言 时间:
2016-12-02 19:12:32
阅读次数:
153
依然第十三章 事件 1、页面上的所有元素都支持鼠标事件,除了mouseenter和mouseleave,所有鼠标事件都会冒泡。 2、修改键:shift、ctrl、alt、meta。四个属性表示修改键的状态:shiftKey等。 3、event对象的relatedTarget属性提供了相关元素的信息。 ...
分类:
编程语言 时间:
2016-12-02 11:43:29
阅读次数:
210
https://en.wikipedia.org/wiki/Bayes'_theorem For example, if cancer is related to age, then, using Bayes’ theorem, a person’s age (prior knowledge) ca ...
分类:
其他好文 时间:
2016-11-29 14:14:31
阅读次数:
171
命令: #iptables -I INPUT -s 58.217.192.54 -j DROP #service iptables save ...
分类:
其他好文 时间:
2016-11-23 19:04:36
阅读次数:
172
G:\controlSUITE\device_support\F2837xD\v180\F2837xD_examples_Cpu1\emif1_16bit_asram\cpu01\emif1_16bit_asram.c 2016年11月22日 20:35// //DSP28377 利用EMIF控制网 ...
分类:
其他好文 时间:
2016-11-23 19:01:36
阅读次数:
320
方法1:iptables-PINPUTACCEPTiptables-AINPUT-iem2-mstate--stateNEW,RELATED,ESTABLISHED-jACCEPTiptables-AINPUT-iem2-s168.235.21.0/24-ptcp--dport22-jACCEPTiptables-AINPUT-iem2-s104.193.9.0/24-ptcp--dport22-jACCEPTiptables-AINPUT-iem2-s103.242.18.0/22-ptcp--dpor..
分类:
其他好文 时间:
2016-11-23 08:22:31
阅读次数:
130
1. One to many relations: one value in column in table one related to several values in the column in table two. In this case, we need to be very clea ...
分类:
其他好文 时间:
2016-11-22 09:51:25
阅读次数:
172
转载:http://bbs.blueidea.com/thread-3107428-1-1.html 1.截取字符串abcdefg的efg //alert('abcdefg'.substring(4)); 2.判断一个字符串中出现次数最多的字符,统计这个次数 /*var str = 'asdfssa ...
分类:
Web程序 时间:
2016-11-22 09:29:38
阅读次数:
231
#_*_coding:utf-8_*_
importsmtplib
fromemail.mime.multipartimportMIMEMultipart
fromemail.mime.textimportMIMEText
classSendmail:
local_hostname=[‘toby-ThinkPad-T430shhhh‘]
msg=MIMEMultipart(‘related‘)
def__init__(self,smtp_server,mail_user,mail_pass):
self..
分类:
编程语言 时间:
2016-11-21 20:35:54
阅读次数:
167
cat /etc/network/iptables.up.rules ...
分类:
系统相关 时间:
2016-11-21 12:38:57
阅读次数:
310