1. 7. Comparisons 比较 在英语中构成比较级的方式有两种:单音节的形容词可在词尾直接加 er,双音节或多音节的形容词则需使用副词 more 来构成比较级。 例如: old older   expensive more expensive 有些单词在构成比较级时需要双写最后一个辅音字母,有些以字母 y 结尾的单词则需要把 y 改作 i,再加 er。 ...

    阅读全文
  2. 本文为https://docs.spring.io/spring/docs/current/spring-framework-reference/core.htmlSpring学习过程中遇到的知识点 先记录后深入学习   Annotations 1. Java-based configuration  中提到了 @Configuration @Bean @Import @DependsOn   Resource Int ...

    阅读全文
  3. JDK代理要求被代理的类必须实现接口,有很强的局限性。而CGLIB动态代理则没有此类强制性要求。简单的说,CGLIB会让生成的代理类继承被代理类,并在代理类中对代理方法进行强化处理(前置处理、后置处理等)。在CGLIB底层,其实是借助了ASM这个非常强大的Java字节码生成框架。 使用CGLib实现动态代理,完全不受代理类必须实现接口的限制,而且CGLib底层采用ASM字节码生成框架,使用字节码技术生成代理类,比使用Java反射效率要高。唯一需要注意的是,CGLib不能对声明为final的 ...

    阅读全文
  4. 1. 这个Docker视频demo了一个Docker的应用场景: https://www.youtube.com/watch?v=YFl2mCHdv24 2. <<Kubernetes for Beginners - Docker Introduction>> 这个视频非错不错的解释了Docker解决的痛点以及其架构。 https://www.youtube.com/watch?v=rmf04ylI2K0 3. 《Introduction to Ku ...

    阅读全文
  5. 在使用spring boot 来new一个springApplication时会读取classpath中的 META-INF/spring.factories中定义的Spring Factories. 比如ApplicationContextInitializers和ApplicationListeners. 下面是spring-boot-2.1.6.RELEASE.jar中默认的spring.factories # PropertySource Loaders org.spring ...

    阅读全文
  6. MvcUriComponentsBuilder 和 ControllerMethodInvocationInterceptor的解读   ControllerMethodInvocationInterceptor实现了CGLIB的MethodInterceptor,所以是CGLIB动态代理的方法拦截器,从命名来看是对Controller的方法做了争强。同时也实现了org.aopalliance.intercept.MethodInterceptor private ...

    阅读全文
  7. Spring Boot为Spring MVC 提供了 auto-configuration. The auto-configuration adds the following features on top of Spring’s defaults: Inclusion of ContentNegotiatingViewResolver and BeanNameViewResolver beans. Support fo ...

    阅读全文
  8. 参考文档: 《通过 docker 搭建自用的 gitlab 服务》https://juejin.im/post/5a4c9ff36fb9a04507700fcc 《使用 Docker 搭建 GitLab》https://juejin.im/post/5cc1df885188252d6c43fd91   本文忽略docker的安装过程。   安装GitLab: docker pull gitlab/gitlab-ce:latest ...

    阅读全文
  9. 安装tensorflow时遇到的问题即解决方法。 安装tensoflow前的准备 (通过pip安装,如果还没有安装pip的话,可以通过下面的命令安装pip) curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py sudo python get-pip.py   安装命令: pip install tensorflow  ERROR: matplotlib 1.3.1 ...

    阅读全文
  10. 110830

    ngixn设计方向代理后,网址大部分功能能工作,但是有些访问却失败,请求返回403错误,直接访问被代理的server工作正常。只能说明一个问题,代理还有参数没有设置。 查看请求和response. 发现XSRF check failed。 最终解决方案:注意,这两个都要添加。Origin 值为proxy_pass的值相同。 # Pass the csrf token (see https://de.wikipedia.org/wiki/Cross-Site-Requ ...

    阅读全文
  11. 官方文档:http://www.nginx.cn/doc/standard/httpproxy.html   HttpProxy模块 This module makes it possible to transfer requests to another server. 此模块专伺将请求导向其它服务. It is an HTTP/1.0 proxy without the ability for keep-alive requests yet. 这是种 HTT ...

    阅读全文
  12. selenium支持多语言:java, python, c#, javascript..,所以我选择python来学习。 mac自带了python 2.7.10。 如果没有安装pip的话,可以通过下面的命令安装pip。 curl https://bootstrap.pypa.io/get-pip.py | python pip安装selenium pip install -U selenium 下载webDriver: https://www.se ...

    阅读全文
  13. 参考文章 https://www.runoob.com/go/go-environment.html Go的官方文档地址为 https://golang.google.cn/doc/, 里面包括了安装文档,go的简单教程,包含如何写go代码,选用什么IDE, 如何troubleshooting,一些常见问题,以及go community的wiki. 同时也列出 Package Documentation(The documentation for the Go ...

    阅读全文
  14. 虽然使用了云主机已经五六年了,先后租用过电信的天翼云,腾讯的腾讯云,阿里的阿里云,仍然对云的理解还是个外行。最大的感触就是越来越便宜了。当初的天翼云一个1G1G2M的配置就要2000多,现在阿里的双核8G8G5M三年也只要1000出头点。腾讯云也在发力,不缺钱。京东云估计也不缺钱但缺人才。 本外行试图来分析一下当今云时代的各路枭雄的发展现状。先看看Azure, Google, AWS, 阿里云,腾讯云,最后再看看不起眼的Oracle云。 所有信息来源于各自的官方网站,先由表及里慢慢熟 ...

    阅读全文
  15. geohash2020-05-27
    42100

    geohash.org   ...

    阅读全文
  16.   Vedio:https://learning.oreilly.com/videos/redis-bootcamp-for/9781800202009/9781800202009-video11_1 Redis思维导图   redis学习文档:https://www.runoob.com/redis/redis-hyperloglog.html   ...

    阅读全文
  17. semver的文档2021-01-08

    关于semver的文档: https://docs.npmjs.com/cli/v6/using-npm/semver 了解一下 Range Grammar, 以及Tilde Ranges 和Caret Ranges 摘要 Tilde Ranges ~1.2.3 ~1.2 ~1 Allows patch-level changes if a minor version is specified on the comparator. Allows minor-leve ...

    阅读全文
  18. ionicframework2021-01-08
    34990

    学习ionic的文档 https://ionicframework.com/ ...

    阅读全文
  19. Form 组件允许你验证用户的输入是否符合规范,来帮助你找到和纠正错误。 Form 组件提供了表单验证的功能,只需为 rules 属性传入约定的验证规则,并将 form-Item 的 prop 属性设置为需要验证的特殊键值即可。 更多高级用法可参考 async-validator。   参考文档: GitHub - yiminghe/async-validator: valid ...

    阅读全文
  20. 在线PS工具2024-07-12

    免费在线PS-图片在线编辑PSD文件转透明PNG (logosc.cn) ...

    阅读全文