无心战斗机

文章
7
资源
0
加入时间
3年1月7天

springMVC 与beanvalidate 集成使用

也不讲什么原理,我也不懂,其实都是工具,配置上就能用。xml 配置: <bean id="validator" class="org.springframework.validation.beanvalidation.LocalValidatorFactoryBean"> <bean id="messageSource" class="org

Conversions

Problem DescriptionConversion between the metric and English measurement systems is relatively simple. Often, it involves either multiplying or dividing by a constant. You must write a program ...

纪念一下第二个assignment 100分

感悟就是:坚持,才能从good到great。精益求精就是要不断打磨产品。Princeton的课就是好,一个作业可以牵扯到很多算法。复习了shuffle算法和Resevoir Sampling算法,还有linkedin,array implement deque,iterator的用法,确实不错的课程,经典就是经典!刷题不在乎刷题数目多少,而在于刷背后知识点的深度和广度。加油!我觉得我刷完A...

Linux中网络抓包工具tcpdump的使用

在树莓派上涉及到网络开发,有时需要抓包分析系统的收发数据。1.首先安装tcpdumpsudo apt-get install tcpdump2.查看使用帮助tcpdump --help3.使用命令ifconfig -a查看本地的网卡4.使用sudo tcpdump抓取默认网卡的数据,这里的默认网卡是eth05.抓取...