`
朱秋旭
  • 浏览: 228046 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论
文章列表
What is the class of this image ? Discover the current state of the art in objects classification. MNIST CIFAR-10 CIFAR-100 STL-10
有口碑的稳定的在线题库: http://acm.timus.ru/ URAL http://uva.onlinejudge.org/ UVA http://acm.sgu.ru/index.php SGU http://www.spoj.pl/ SPOJ - 波兰著名 OJ,好题 / 系列不少,缺点是机器太慢
  uptime dmesg | tail vmstat 1 mpstat -P ALL 1 pidstat 1 iostat -xz 1 free -m sar -n DEV 1 sar -n TCP,ETCP 1 top
When working on a client that works with an SSL enabled server running in https protocol, you could get error 'unable to find valid certification path to requested target' if the server certificate is not issued by certification authority, but a self signed or issued by a private CMS. Don't panic. ...

从 vim 从恢复文件

    博客分类:
  • vim
如果vim 打开的文件不慎丢失,如何找回文件   在编辑文件的过程中,Vim将会在当前目录中自动生成一个以.swp结尾的临时交换文件,用于备份缓冲区中的内容。   参考文章: http://yyq123.blogspot.com/2012/03/vim-swap.html

如何做好网站seo

    博客分类:
  • seo
有个国外的seo软件,可能对baidu不友好,但是方法还是值得学习的 https://moz.com/beginners-guide-to-seo
1 看下mysql在哪里 which mysql   /usr/local/bin/mysql   2 启动mysql, 没有密码乖乖使用安全模式 ./mysqld_safe –skip-grant-tables &   3 登陆客户端 mysql   4 修改root的密码     update mysql.user set password=password("root") where User="root";       mysql5.7 里面不太一样,     update mysql.user set au ...
execute on  termanel to get current jdk path: /usr/libexec/java_home     get java path: which java readlink /usr/bin/java  
mvn -B archetype:generate -DarchetypeGroupId=org.apache.maven.archetypes -DgroupId=com.gitzhu.common.zk -DartifactId=zkClient   执行 archetype:generate 的时候,会产生 [INFO] Generating project in Batch mode 然后就一直阻塞在这里   原因是:网速问题,   解决办法 设置maven不要从远程服务器上获取catalog,增加参数-DarchetypeCatalog=internal

mongo 启动方式

mongodb 使用命令行启动   #bin/mongod   --dbpath arg                          directory for datafiles - defaults to /data/db --logpath arg                         log file to send write to instead of  stdout - has to be a file, not  directory   --fork                                fork server proces ...
        HashMap中是通过Entry存放键值对,通过hash算法计算出一个hashCode,然后存储到对应的位置,这样的工作方式决定了,在使用可变对象做为HashMap 的key的时候,如果没有override equals方法和hashCode方法,很有可能导致对象中元素的改变,使得产生不同的hash值,最终导致在当前的hashMap中找不到之前放入的值。所以在了解了hashMap的工作原理之后要慎重的使用HashMap。   最佳解决方式:         在使用mutable的对象作为hashMap的key 一定要重写hashCode 方法和equals方法,并且要使用 ...
spring  容器初始化 bean 和销毁前所做的操作定义方式有三种:   第一种:通过@PostConstruct 和 @PreDestroy 方法 实现初始化 和销毁bean之前进行的操作 第二种:通过 在xml中定义init-method 和  destory-method方法 第三种:通过bean实现InitializingBean和 DisposableBean接口
直接用service实现两个接口:   package com.myapp.core.annotation.init; import javax.annotation.PostConstruct; import javax.annotation.PreDestroy; import org.springframework.beans.factory.DisposableBean; import org.springframework.beans.factory.InitializingBean; public class PersonService implemen ...
spring xml:   <bean id="personService" class="com.myapp.core.beanscope.PersonService" scope="singleton" init-method="init" destroy-method="cleanUp"></bean>   定义Service:   package com.myapp.core.beanscope; public class PersonSe ...
package com.myapp.core.annotation.init; import javax.annotation.PostConstruct; import javax.annotation.PreDestroy; @Service public class PersonService { private String message; public String getMessage() { return message; } public void setMessage(String message) { this ...
Global site tag (gtag.js) - Google Analytics