- php状态监控源码,PHP服务器状态监控实现程序
江子星
php状态监控源码
*/header('Content-type:text/html;charset=utf-8');include'./smtp/class.smtp.php';include'./smtp/class.phpmailer.php';functionsendmail($subject='',$body=''){date_default_timezone_set('Asia/Shanghai');//
- 掌握Go语言邮件发送:net/smtp实用教程与最佳实践
walkskyer
golang标准库golanggithub开发语言
掌握Go语言邮件发送:net/smtp实用教程与最佳实践概述基本配置与初始化导入`net/smtp`包设置SMTP服务器基本信息创建SMTP客户端实例身份验证发送简单文本邮件配置发件人信息构建邮件头部信息编写邮件正文使用`SendMail`方法发送邮件示例代码发送带附件的邮件邮件多部分格式简介构建带有附件的邮件体使用`SendMail`方法发送邮件发送HTML格式的邮件HTML邮件的优势和应用场景
- python 发邮件无服务器,如何使用python直接从服务器发送电子邮件而不使用smtp
不想不见
python发邮件无服务器
其他选项当您在PHP中使用邮件功能时,它使用的是您所在主机的本地sendmail,而这又只是一个本地的SMTP中继,当然本地发送邮件并不是真正的建议,因为由于DKIM、SPF和其他保护机制,这些邮件可能没有很好的传递率。如果你关心可交付性,我建议使用a)用于发送邮件的外部SMTP服务器,该服务器已为发送域正确配置。b)API,如AWSSES、Mailgun或同等产品。如果您不关心可传递性,那么您当
- PHP mail()本地邮箱服务器搭建全过程
礼貌先生
phpphpsendmail
我用的是win10和WampServerphpmail()函数在windows中是不能直接使用的,需要安装sendmail,假如是用的XAMPP,则已经下载好,不需要重新下载1.下载sendmail.zip地址:http://glob.com.au/sendmail/2.下载成功后解压,并把下载好的文件剪切至wamp目录(其实存到哪里都一样这里为了方便存就放在wamp下好了,和www在同一目录)3
- linux环境下企业基于域名访问的web于电子邮件服务器 论文,*nix环境下的几种邮件服务器介绍...
北海有座岛
论文
下面给大家介绍几款常用的邮件服务器软件产品,供架构邮件服务器参考。1、Unix环境下的Sendmail无论从使用的广泛程度,还是从代码的复杂程度来讲,sendmail都是一个非常优秀的软件。如果使用它来构建网站的电子邮件系统,基本上不必费心,因为几乎所有的Unix的缺省配置中都内置这个软件,只需要设置好操作系统,它就能立即运转起来。在Unix系统中,Sendmail是应用最广的电子邮件服务器。它是
- Java定时发送邮件
zhyaw56zhu
java开发语言
获取邮箱授权码引入依赖org.springframework.bootspring-boot-starter-mail修改配置文件修改application.yml配置文件server:port:8088servlet:context-path:/sendmailspring:mail:host:smtp.163.comusername:
[email protected]#发件人邮箱地址pas
- Linux邮件发送服务安装
阿里巴巴技术
介绍sendEmail是一个轻量级,命令行的SMTP邮件客户端。如果你需要使用命令行发送邮件,那么sendEmail是非常完美的选择:使用简单并且功能强大.这个被设计用在bash、perl和web站点使用。以上是sendEmail的简单介绍,千万不要和sendmail搞混掉了。用了sendEmail你将不在喜欢sendmail了.安装sendEmail#下载安装包wgethttp://caspia
- python发送邮件封装(可直接使用)
远航天下
封装代码如下:author='damao'importsmtplibfromemail.mime.textimportMIMETextfromemail.mime.multipartimportMIMEMultipartclassSendMail(object):def__init__(self,smtp_server,smtp_port,smtp_sender,smtp_senderpasswo
- SQL Server 调用dll文件方法
只想摆烂@
数据库
1.启用CLR功能EXECsp_configure'clrenabled','1';RECONFIGURE;2.给程序分配权限USE'数据库';GOCREATEASYMMETRICKEYSQLCLRTestKeyFROMEXECUTABLEFILE='D:\U8SOFT\UAP\RUNTIME\SendMails.dll'CREATELOGINSQLCLRTestLoginFROMASYMMETR
- SQL调用dll
只想摆烂@
sql数据库oracle
1.启用CLR功能EXECsp_configure'clrenabled','1';RECONFIGURE;2.给程序分配权限USE'数据库';GOCREATEASYMMETRICKEYSQLCLRTestKeyFROMEXECUTABLEFILE='D:\U8SOFT\UAP\RUNTIME\SendMails.dll'CREATELOGINSQLCLRTestLoginFROMASYMMETR
- C# 发送邮件
likepoems
c#
前言本文简单的通过C#的SmtpClient实现发送邮件的功能。实现usingSystem.Net.Mail;usingSystem.Net;namespaceTest{publicclassSendMail{privateSmtpClient_emailClient;publicclassUserInfo{publicstringEmail{get;set;}//用户的邮箱publicstrin
- 阿里云发送短信
仰望星空的快乐
spring-boot阿里云python前端
0.阿里云文档地址可以设置测试手机号1.引入依赖com.aliyunaliyun-java-sdk-corecom.aliyunaliyun-java-sdk-dysmsapi1.1.02.controller层代码//发送短信,访问接口就向手机号发送短信,不处理任何业务@GetMapping("/send/{phone}")publicRsendMail(@PathVariable("phone
- [源码和报告分享] C#实现的基于SMTP协议的E-MAIL电子邮件发送客户端软件
ggdd5151
利用SMTP和Pop协议从底层开发了这个软件。SMTP全称是简单邮件传输协议,它专门用来发送邮件用的。Pop全称是邮局协议,是专门用于接收邮件的。我主要是负责如何实现发送邮件功能的。MailSend命名空间是我整个程序的核心。它包括两个类。在SmtpMail的类中包含了一个SendMail的方法,它从底层详细地实现了和服务器的交互操作。你既可以用它发送一个纯文本邮件,也可以发送一个带有附件的邮件,
- php sendmail 抄送,Python发送邮件各种姿势
SherryLi禅玉
phpsendmail抄送
Python发送邮件各种姿势本章目录Python标准库smtplibPython发送邮件并抄送Python发送邮件带附件Python发送HTML邮件Python发送图片邮件在写脚本时,放到后台运行,想知道执行情况,会通过邮件、SMS(短信)、飞信、微信等方式通知管理员,用的最多的是邮件。在linux下,Shell脚本发送邮件告警是件很简单的事,有现成的邮件服在写脚本时,放到后台运行,想知道执行情况
- qq邮件源码发送php源码
csdndddsd
php开发语言
qq邮件源码发送php源码functionsendmail($to,$subject,$body,$from,$fromname,$smtpserver,$smtpuser,$smtppass,$smtpport,$smtpssl,$mailtype,$cc,$bcc,$replyto,$replytoname,$charset,$encoding,$attachments){require_on
- 系统漏洞是威胁计算机网络安全的形式,系统漏洞是不是威胁计算机网络安全的形式...
Hansimov
changwocha新兵答主05-12TA获得超过7520个赞如果想补漏洞你可以用360安全卫士或者维点主动防御都不错。。漏洞是在硬件、软件、协议的具体实现或系统安全策略上存在的缺陷,从而可以使攻击者能够在未授权的情况下访问或破坏系统。具体举例来说,比如在IntelPentium芯片中存在的逻辑错误,在Sendmail早期版本中的编程错误,在NFS协议中认证方式上的弱点,在Unix系统管理员设置匿
- Android捕获崩溃日志并发送JavaMail邮件
蝴蝶之梦天使
图片来之网络Android机型太多Android机型更新太快崩溃日志无法收集请参考Demo:SendMail-Demo一、收集崩溃日志经常收到APP崩溃了,但是在测试环境又是好的。一说机型和Android版本,公司又没有。让用户拍一个视频或录屏吧。可还是没法重现,看不到崩溃日志。所以想到记录下崩溃日志吧。/***当UncaughtException发生时会转入该函数来处理*/@Overridepu
- C# SMTP 邮件发送傻瓜操作
沪上百卉
c#
//////发送邮件的方法///publicOperateResultSendMail(MailModelmails){varresultData=newOperateResult();if(mails.to==null||!mails.to.Any()){resultData.Status=OperateStatus.Failure;resultData.Description="收件人地址不能
- Linux 中 /var/spool/postfix/maildrop 占用空间很大问题
全栈运维
摘要一台运维主机上面没有跑什么特殊服务,所以没有添加监控告警。今突然执行命令执行不了发现是因为磁盘慢了导致。排错发现是因为目录/var/spool/postfix/mailfdrop过大导致。通过了解发现因为:由于Linux在执行cron时,会将cron执行脚本中的output和warning信息,都会以邮件的形式发送cron所有者,而由于客户环境中的sendmail和postfix没有正常运行,
- centos7.3使用sendmail发送邮箱
onlyulan
- 【shell发送邮件】
张声录1
linuxcentos运维
一、centos系统mail+sendmail发送安装mail[root@localhost~]#yuminstall-ymailx安装sendmail[root@localhost~]#yuminstall-ysendmail配置mail.rc文件#发送人,必须和发件人保持一致
[email protected]#邮箱服务器setsmtp=smtp.qq.com#邮箱setsmtp-aut
- Spring MVC 用ajax异步交互-03-01
封_绝
Springmvc前台通过ajax传值到后台用@RequestBody接收,报415/400错误-CarryBest的博客-CSDN博客SpringMVCajax传值问题-九烨玄灵-博客园后端:@RequestMapping(value="sendMail",method=RequestMethod.POST)@ResponseBody//post方式接收需要设置@RequestParam,如下图
- Laravel指定队列的配置与使用
众神开挂
今天在公司使用队列遇到的一个坑,使用onQueue推送到指定队列之后,队列没有被消费,解决方法分享一下SendMail::dispatch($user)->onQueue('send_mail');文档中只说默认是default队列,没有给出如何配置新的队列,研究如下:在config/queue中配置send_mail队列:'redis'=>[//原有的默认队列'driver'=>'redis',
- 使用 Mailx 通过 SMTP 在 Centos 上发送邮件
mrknowledge
安装Mailx程序使用yum安装即可。安装前,移除不再需要且可能会引起冲突的postfix或sendmail。yum-yremovepostfixyum-yremovesendmail安装Mailx程序:yum-yinstallmailx配置SMTP发送邮件一般邮件服务器会提供smtp、smtps和smtpstarttls服务来发送邮件。smtp最简单的,也最不安全的,不建议使用,最好使用smtp
- CVE-2021-40280
Hxdih
CVE漏洞复现web安全sql网络安全mysql
CVE-2021-40280站长招商网内容管理系统简称ZZCMS,由ZZCMS团队开发,融入数据库优化,内容缓存,AJAX等技术,使网站的安全性、稳定性、负载能力得到可靠保障。源码开放,功能模块独立,便于二次开发。zzcms8.2中在admin/dl_sendmail.php存在sql注入漏洞弱口令admin/admin登录直接访问,会阻止但是在后面跟上问好参数就可以访问了!这两条数据是我在测试的
- mail 465邮件发送案例(含有不带附件和带附件log文件发送)
吃货大米饭
一、先去QQ邮箱,开启SMTP和获取授权码2019-08-24_144511.png选择开启SMTP服务记录你的授权码2019-08-24_144500.png二、停止服务servicesendmailstopchkconfigsendmailoff[root@hadoop001~]#servicesendmailstopRedirectingto/bin/systemctlstopsendmai
- Linux系统安装Oracle11g数据库
慕容天成
linux数据库phporacle
1.检查安装所需要的要求(略)关闭防火墙和selinuxsendmailchkconfigiptablesoffchkconfigip6tablesoffvi/etc/selinux/config修改为selinux=disabledreboot系统/ect/hosts解析IPip名字主机名cd/etc/sysconfigvinetworkHOSTNAME=oracle10g重启系统,为了识别主机
- AFL-training复现学习过程(二)
小张frog
学习测试覆盖率
Challengelibxml2heartbleedsendmailntpqdatecyber-grand-challengeLibxml2libxml2是一个流行的XML处理库,使用C语言实现,其具有以下的特点使其非常适合用于练习Fuzz:①无状态②无网络通信和文件读写③文档详细丰富,API外显,无需额外分析内部的fuzz接口④功能集中、简单(处理XML),运行较快这里考虑的CVE(Common
- Linux基本安全机制介绍和Linux系统安全漏洞介绍
Black_mb_White
1、Linux系统的基本安全机制介绍1.1、Linux系统的用户账号11.2、Linux的文件系统权限11.3、Linux的系统日志文件12、Linux系统安全漏洞介绍12.1口令和账号安全漏洞12.2端口漏洞12.3Sendmail22.4明文服务22.5简单网络管理协议21.Linux系统的基本安全机制介绍1.1Linux系统的用户帐号用户帐号是用户的身份标志,由用户名和口令组成。用户名存放在
- 如何在PHP中发送电子邮件?
xiangpingeasy
PHPphp开发语言
在PHP中发送电子邮件通常涉及使用内置的mail函数或使用更强大的邮件库,例如PHPMailer或SwiftMailer。以下是使用mail函数和PHPMailer的基本示例:使用mail函数:请注意,使用mail函数需要配置本地服务器上的邮件传输代理(MTA),例如Sendmail或Postfix。使用PHPMailer:首先,你需要下载并引入PHPMailer库。你可以从PHPMailer的G
- java的(PO,VO,TO,BO,DAO,POJO)
Cb123456
VOTOBOPOJODAO
转:
http://www.cnblogs.com/yxnchinahlj/archive/2012/02/24/2366110.html
-------------------------------------------------------------------
O/R Mapping 是 Object Relational Mapping(对象关系映
- spring ioc原理(看完后大家可以自己写一个spring)
aijuans
spring
最近,买了本Spring入门书:spring In Action 。大致浏览了下感觉还不错。就是入门了点。Manning的书还是不错的,我虽然不像哪些只看Manning书的人那样专注于Manning,但怀着崇敬 的心情和激情通览了一遍。又一次接受了IOC 、DI、AOP等Spring核心概念。 先就IOC和DI谈一点我的看法。IO
- MyEclipse 2014中Customize Persperctive设置无效的解决方法
Kai_Ge
MyEclipse2014
高高兴兴下载个MyEclipse2014,发现工具条上多了个手机开发的按钮,心生不爽就想弄掉他!
结果发现Customize Persperctive失效!!
有说更新下就好了,可是国内Myeclipse访问不了,何谈更新...
so~这里提供了更新后的一下jar包,给大家使用!
1、将9个jar复制到myeclipse安装目录\plugins中
2、删除和这9个jar同包名但是版本号较
- SpringMvc上传
120153216
springMVC
@RequestMapping(value = WebUrlConstant.UPLOADFILE)
@ResponseBody
public Map<String, Object> uploadFile(HttpServletRequest request,HttpServletResponse httpresponse) {
try {
//
- Javascript----HTML DOM 事件
何必如此
JavaScripthtmlWeb
HTML DOM 事件允许Javascript在HTML文档元素中注册不同事件处理程序。
事件通常与函数结合使用,函数不会在事件发生前被执行!
注:DOM: 指明使用的 DOM 属性级别。
1.鼠标事件
属性  
- 动态绑定和删除onclick事件
357029540
JavaScriptjquery
因为对JQUERY和JS的动态绑定事件的不熟悉,今天花了好久的时间才把动态绑定和删除onclick事件搞定!现在分享下我的过程。
在我的查询页面,我将我的onclick事件绑定到了tr标签上同时传入当前行(this值)参数,这样可以在点击行上的任意地方时可以选中checkbox,但是在我的某一列上也有一个onclick事件是用于下载附件的,当
- HttpClient|HttpClient请求详解
7454103
apache应用服务器网络协议网络应用Security
HttpClient 是 Apache Jakarta Common 下的子项目,可以用来提供高效的、最新的、功能丰富的支持 HTTP 协议的客户端编程工具包,并且它支持 HTTP 协议最新的版本和建议。本文首先介绍 HTTPClient,然后根据作者实际工作经验给出了一些常见问题的解决方法。HTTP 协议可能是现在 Internet 上使用得最多、最重要的协议了,越来越多的 Java 应用程序需
- 递归 逐层统计树形结构数据
darkranger
数据结构
将集合递归获取树形结构:
/**
*
* 递归获取数据
* @param alist:所有分类
* @param subjname:对应统计的项目名称
* @param pk:对应项目主键
* @param reportList: 最后统计的结果集
* @param count:项目级别
*/
public void getReportVO(Arr
- 访问WEB-INF下使用frameset标签页面出错的原因
aijuans
struts2
<frameset rows="61,*,24" cols="*" framespacing="0" frameborder="no" border="0">
- MAVEN常用命令
avords
Maven库:
http://repo2.maven.org/maven2/
Maven依赖查询:
http://mvnrepository.com/
Maven常用命令: 1. 创建Maven的普通java项目: mvn archetype:create -DgroupId=packageName 
- PHP如果自带一个小型的web服务器就好了
houxinyou
apache应用服务器WebPHP脚本
最近单位用PHP做网站,感觉PHP挺好的,不过有一些地方不太习惯,比如,环境搭建。PHP本身就是一个网站后台脚本,但用PHP做程序时还要下载apache,配置起来也不太很方便,虽然有好多配置好的apache+php+mysq的环境,但用起来总是心里不太舒服,因为我要的只是一个开发环境,如果是真实的运行环境,下个apahe也无所谓,但只是一个开发环境,总有一种杀鸡用牛刀的感觉。如果php自己的程序中
- NoSQL数据库之Redis数据库管理(list类型)
bijian1013
redis数据库NoSQL
3.list类型及操作
List是一个链表结构,主要功能是push、pop、获取一个范围的所有值等等,操作key理解为链表的名字。Redis的list类型其实就是一个每个子元素都是string类型的双向链表。我们可以通过push、pop操作从链表的头部或者尾部添加删除元素,这样list既可以作为栈,又可以作为队列。
&nbs
- 谁在用Hadoop?
bingyingao
hadoop数据挖掘公司应用场景
Hadoop技术的应用已经十分广泛了,而我是最近才开始对它有所了解,它在大数据领域的出色表现也让我产生了兴趣。浏览了他的官网,其中有一个页面专门介绍目前世界上有哪些公司在用Hadoop,这些公司涵盖各行各业,不乏一些大公司如alibaba,ebay,amazon,google,facebook,adobe等,主要用于日志分析、数据挖掘、机器学习、构建索引、业务报表等场景,这更加激发了学习它的热情。
- 【Spark七十六】Spark计算结果存到MySQL
bit1129
mysql
package spark.examples.db
import java.sql.{PreparedStatement, Connection, DriverManager}
import com.mysql.jdbc.Driver
import org.apache.spark.{SparkContext, SparkConf}
object SparkMySQLInteg
- Scala: JVM上的函数编程
bookjovi
scalaerlanghaskell
说Scala是JVM上的函数编程一点也不为过,Scala把面向对象和函数型编程这两种主流编程范式结合了起来,对于熟悉各种编程范式的人而言Scala并没有带来太多革新的编程思想,scala主要的有点在于Java庞大的package优势,这样也就弥补了JVM平台上函数型编程的缺失,MS家.net上已经有了F#,JVM怎么能不跟上呢?
对本人而言
- jar打成exe
bro_feng
java jar exe
今天要把jar包打成exe,jsmooth和exe4j都用了。
遇见几个问题。记录一下。
两个软件都很好使,网上都有图片教程,都挺不错。
首先肯定是要用自己的jre的,不然不能通用,其次别忘了把需要的lib放到classPath中。
困扰我很久的一个问题是,我自己打包成功后,在一个同事的没有装jdk的电脑上运行,就是不行,报错jvm.dll为无效的windows映像,如截图
最后发现
- 读《研磨设计模式》-代码笔记-策略模式-Strategy
bylijinnan
java设计模式
声明: 本文只为方便我个人查阅和理解,详细的分析以及源代码请移步 原作者的博客http://chjavach.iteye.com/
/*
策略模式定义了一系列的算法,并将每一个算法封装起来,而且使它们还可以相互替换。策略模式让算法独立于使用它的客户而独立变化
简单理解:
1、将不同的策略提炼出一个共同接口。这是容易的,因为不同的策略,只是算法不同,需要传递的参数
- cmd命令值cvfM命令
chenyu19891124
cmd
cmd命令还真是强大啊。今天发现jar -cvfM aa.rar @aaalist 就这行命令可以根据aaalist取出相应的文件
例如:
在d:\workspace\prpall\test.java 有这样一个文件,现在想要将这个文件打成一个包。运行如下命令即可比如在d:\wor
- OpenJWeb(1.8) Java Web应用快速开发平台
comsci
java框架Web项目管理企业应用
OpenJWeb(1.8) Java Web应用快速开发平台的作者是我们技术联盟的成员,他最近推出了新版本的快速应用开发平台 OpenJWeb(1.8),我帮他做做宣传
OpenJWeb快速开发平台以快速开发为核心,整合先进的java 开源框架,本着自主开发+应用集成相结合的原则,旨在为政府、企事业单位、软件公司等平台用户提供一个架构透
- Python 报错:IndentationError: unexpected indent
daizj
pythontab空格缩进
IndentationError: unexpected indent 是缩进的问题,也有可能是tab和空格混用啦
Python开发者有意让违反了缩进规则的程序不能通过编译,以此来强制程序员养成良好的编程习惯。并且在Python语言里,缩进而非花括号或者某种关键字,被用于表示语句块的开始和退出。增加缩进表示语句块的开
- HttpClient 超时设置
dongwei_6688
httpclient
HttpClient中的超时设置包含两个部分:
1. 建立连接超时,是指在httpclient客户端和服务器端建立连接过程中允许的最大等待时间
2. 读取数据超时,是指在建立连接后,等待读取服务器端的响应数据时允许的最大等待时间
在HttpClient 4.x中如下设置:
HttpClient httpclient = new DefaultHttpC
- 小鱼与波浪
dcj3sjt126com
一条小鱼游出水面看蓝天,偶然间遇到了波浪。 小鱼便与波浪在海面上游戏,随着波浪上下起伏、汹涌前进。 小鱼在波浪里兴奋得大叫:“你每天都过着这么刺激的生活吗?简直太棒了。” 波浪说:“岂只每天过这样的生活,几乎每一刻都这么刺激!还有更刺激的,要有潮汐变化,或者狂风暴雨,那才是兴奋得心脏都会跳出来。” 小鱼说:“真希望我也能变成一个波浪,每天随着风雨、潮汐流动,不知道有多么好!” 很快,小鱼
- Error Code: 1175 You are using safe update mode and you tried to update a table
dcj3sjt126com
mysql
快速高效用:SET SQL_SAFE_UPDATES = 0;下面的就不要看了!
今日用MySQL Workbench进行数据库的管理更新时,执行一个更新的语句碰到以下错误提示:
Error Code: 1175
You are using safe update mode and you tried to update a table without a WHERE that
- 枚举类型详细介绍及方法定义
gaomysion
enumjavaee
转发
http://developer.51cto.com/art/201107/275031.htm
枚举其实就是一种类型,跟int, char 这种差不多,就是定义变量时限制输入的,你只能够赋enum里面规定的值。建议大家可以看看,这两篇文章,《java枚举类型入门》和《C++的中的结构体和枚举》,供大家参考。
枚举类型是JDK5.0的新特征。Sun引进了一个全新的关键字enum
- Merge Sorted Array
hcx2013
array
Given two sorted integer arrays nums1 and nums2, merge nums2 into nums1 as one sorted array.
Note:You may assume that nums1 has enough space (size that is
- Expression Language 3.0新特性
jinnianshilongnian
el 3.0
Expression Language 3.0表达式语言规范最终版从2013-4-29发布到现在已经非常久的时间了;目前如Tomcat 8、Jetty 9、GlasshFish 4已经支持EL 3.0。新特性包括:如字符串拼接操作符、赋值、分号操作符、对象方法调用、Lambda表达式、静态字段/方法调用、构造器调用、Java8集合操作。目前Glassfish 4/Jetty实现最好,对大多数新特性
- 超越算法来看待个性化推荐
liyonghui160com
超越算法来看待个性化推荐
一提到个性化推荐,大家一般会想到协同过滤、文本相似等推荐算法,或是更高阶的模型推荐算法,百度的张栋说过,推荐40%取决于UI、30%取决于数据、20%取决于背景知识,虽然本人不是很认同这种比例,但推荐系统中,推荐算法起的作用起的作用是非常有限的。
就像任何
- 写给Javascript初学者的小小建议
pda158
JavaScript
一般初学JavaScript的时候最头痛的就是浏览器兼容问题。在Firefox下面好好的代码放到IE就不能显示了,又或者是在IE能正常显示的代码在firefox又报错了。 如果你正初学JavaScript并有着一样的处境的话建议你:初学JavaScript的时候无视DOM和BOM的兼容性,将更多的时间花在 了解语言本身(ECMAScript)。只在特定浏览器编写代码(Chrome/Fi
- Java 枚举
ShihLei
javaenum枚举
注:文章内容大量借鉴使用网上的资料,可惜没有记录参考地址,只能再传对作者说声抱歉并表示感谢!
一 基础 1)语法
枚举类型只能有私有构造器(这样做可以保证客户代码没有办法新建一个enum的实例)
枚举实例必须最先定义
2)特性
&nb
- Java SE 6 HotSpot虚拟机的垃圾回收机制
uuhorse
javaHotSpotGC垃圾回收VM
官方资料,关于Java SE 6 HotSpot虚拟机的garbage Collection,非常全,英文。
http://www.oracle.com/technetwork/java/javase/gc-tuning-6-140523.html
Java SE 6 HotSpot[tm] Virtual Machine Garbage Collection Tuning
&