根据 https://github.com/nvm-sh/nvm 安装NVM时(Mac环境),安装完后执行nvm ls-remote返回N/A. (应该列出remote的nodejs版本信息)。 这是我的网络环境使用了proxy,设置代理后解决问题。 export http_proxy=http://proxyhost:port export https_proxy=http://proxyhost:port 这是我的case, 其他原因可以参考htt ...
阅读全文<2016-06-30 01:53:50,083> <ConfigurationLoader:DEBUG> Loading configuration file :/com/agile/webfs/configuration/WebSecurity.properties <2016-06-30 01:53:50,100> <ConfigurationLoader:DEBUG> Loading configuration file :/com/ ...
阅读全文Present perfect 描述已经发生的,但是发生时间不重要的行为动词,需使用现在完成时。 例如: I have been to New England. (我去过新英格兰了。) 这一时态经常与副词 ever, never, yet, still, always, already 等连用。 例如: I have neve ...
阅读全文网上推荐的“书单:值得推荐给设计师的10本设计书”。有空去看看,先摘录下来。 - 版式设计 - 1.《写给大家看的设计书》 [美] 罗宾·威廉姆斯 / 苏金国、刘亮 / 人民邮电出版社 豆瓣评分: 8.6 2.《栅格系统与版式设计》 [美] 金伯利·伊拉姆 / 王昊 / 上海人民美术出版社 豆瓣评分: 8.4 &n ...
阅读全文js模拟的类亦可以模拟类方法和实例方法,原理仍然是prototype和属性的区别。 静态方法是指不需要声明类的实例就可以使用的方法。 实例方法是指必须要先使用"new"关键字声明一个类的实例, 然后才可以通过此实例访问的方法。 function staticClass() { }; //声明一个类 staticClass.staticMethod = function() { alert("static method") }; // ...
阅读全文随着web应用的流行,人们越来越关心网络安全。学习网络安全,我们必须找到组织(The Open Web Application Security Project (OWASP))。 本文是学习XSS中收集并整理的资料,不断更新中。 什么是XSS? XSS是Cross Site Script的简写,即常说的跨站脚本攻击。 XSS攻击场景 使用 XSS盗取Cookie 使用XSS创建覆盖 使用XSS产生HTTP请求 以交互方式尝试基于DOM的XSS 绕过 ...
阅读全文Spring Security 上图建立在 SecurityFilterChain 图上。 首先,一个用户向其未被授权的资源(/private)发出一个未经认证的请求。 pring Security 的 AuthorizationFilter 通过抛出一个 AccessDeniedException 来表明未经认证的请求被拒绝了。 由于用户没有被认证,Exc ...
阅读全文Github上创建一个空库 创建后显示如下信息 ...
阅读全文证书申请(腾讯云) 申请地址:https://buy.cloud.tencent.com/ssl?fromSource=ssl 申请时可以选择手动DNS验证 手动 DNS 验证 登录 SSL 证书管理控制台。 在 “证书列表” 页面,选择待查看证书详情的域名型证书 ID,进入 “证书详情” 页面。如下图所示: 添加解析记录。 若您的域名(例如 www.domain. ...
阅读全文“青少儿编程”的概念,起源于麻省理工(MIT)推出的“可编程式积木”(Scratch)平台,使用者不需要了解编程,只需拖拽事先封装好的积木式模块,“搭建”出指令,设置或控制角色及其行动和变化即可。这个过程中,可以培训儿童的逻辑思维能力、创造力和解决问题的能力,能让儿童启发发现问题、分析问题和解决问题的系统性思考能力。同时,MIT针对幼儿(5-7岁)推出了更适合他们的编程平台——Scratchjr,相较 ...
阅读全文参考文档: https://docs.oracle.com/cd/E24329_01/web.1211/e24499/newdom.htm#WLDCW109 https://docs.oracle.com/cd/E13222_01/wls/docs81/admin_ref/cli_tasks.html ...
阅读全文申明:本文仅是读书笔记,内容未必能深入讲解。深入理解后再写篇总结。 设计愿景和背景比较: Angular: One framework. Mobile & desktop. (Develop across all platforms), 是基于 TypeScript 的 Javascript 框架,由 Google 进行开发和维护,它被描述为“超级厉害的 JavaScript MVW 框架”。最初于20 ...
阅读全文Create JWT的在线工具: http://jwtbuilder.jamiekurtz.com http://kjur.github.io/jsjws/tool_jwt.html 验证JWT的在线工具 http://jwt.io/ Base64 encode/decode的在线工具: https://www.base64encode.org https://www.base64decode.org ...
阅读全文# Redis configuration file example. # # Note that in order to read the configuration file, Redis must be # started with the file path as first argument: # # ./redis-server /path/to/redis.conf # Note on units: when memory size is needed, it ...
阅读全文通过apache来访问svn, 这样就可以通过http来访问svn了。jinkens里配置svn url。 使用Apache访问SVN的优缺点: There are some disadvantages of using Apache's http for your Subversion server: It's slower It's harder to setup Then, there are advantages: It uses ...
阅读全文Lea Verou著CSS魔法译的<<CSS揭秘>>是一部不错的CSS技巧书籍。本文简单摘录一些示例和技巧。 背景和边框 1. 半透明边框 (http://play.csssecrets.io/translucent-borders) border: 10px solid hsla(0,0%,100%,.5); background:white; background-clip:padding-box; 2.多重边框 (http://pla ...
阅读全文本文收集了一些css3示例网站。 这些网站有: https://1stwebdesigner.com/css-effects/ https://tympanus.net/Tutorials/SwatchBook/index5.html https://nettuts.s3.amazonaws.com/771_sticky/step5.html https://designmodo.com/demo/interactivegraph/ https://ty ...
阅读全文有这样的一段代码来显示一个数字。 <af:inputText value="mybean.studentId" > <af:convertNumber type="number"> </af:inputText> <af:outputText value="mybean.studentId"> <af:convertNumber pattern=&quo ...
阅读全文分享两个有用的在线工具: searchcode: https://searchcode.com 比如说搜索login的php代码实现,可以看到很多example findjar工具可以帮助我们找到jar以及其相关信息。 http://www.findjar.com/ ...
阅读全文如何移植svn文件库? how to move an svn repository to a new server? 这个话题网上已经有很多很好的总结,这里记录两个中英文的总结以供参考。 https://stackoverflow.com/questions/3789585/how-to-move-an-svn-repository-to-a-new-server http://blog.chinaunix.net/uid-354915-id-3766906.ht ...
阅读全文