摘要: 原文链接:https://blog.spiritling.cn/posts/c0f17b1f/ 在计算机科学中,柯里化(Currying),又译为卡瑞化或加里化,是把接受多个参数的函数变换成接受一个单一参数(最初函数的第一个参数)的函数,并且返回接受余下的参数而且返回结果的新函数的技术。 从一道面试 阅读全文
posted @ 2020-07-17 09:33 SpiritLing 阅读(304) 评论(0) 推荐(0) 编辑
摘要: 原文链接:https://blog.spiritling.cn/posts/4cb12659/ Choco 命令行安装 直接拷贝执行即可,注意需要管理员身份运行 cmd 安装: @"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe 阅读全文
posted @ 2020-07-17 09:31 SpiritLing 阅读(1019) 评论(0) 推荐(0) 编辑
摘要: 原文链接:https://blog.spiritling.cn/posts/6b626a8a/ 环境变量 jenkinsfile 使用环境变量 代码: pipeline { agent { docker { image 'spiritling/node:10.15.3' } } stages { s 阅读全文
posted @ 2020-07-17 09:26 SpiritLing 阅读(3189) 评论(0) 推荐(0) 编辑
摘要: 原文地址:https://blog.spiritling.cn/posts/15cfe434/ nodejs 路径以及 path 相关 process.cwd()、__dirname、__filename 三者的区别是 命令 说明 process.cwd() 获得当前执行 node 命令时候的文件夹 阅读全文
posted @ 2020-07-17 09:25 SpiritLing 阅读(126) 评论(0) 推荐(0) 编辑
摘要: 原文地址:https://blog.spiritling.cn/posts/5fddf106/ 配置操作 全局配置 git config --global user.name '你的名字' git config --global user.email '你的邮箱' 当前仓库配置 git config 阅读全文
posted @ 2020-07-17 09:22 SpiritLing 阅读(165) 评论(0) 推荐(0) 编辑
摘要: 新的mysql包更新,所以直接查看原文 原文地址:https://blog.spiritling.cn/posts/daefc0a4/ 安装NuGet包 点击 工具 → NuGet包管理器 → 程序包管理器控制台 分别安装以下几个包 Mysql 版本: Install-Package MySql.D 阅读全文
posted @ 2020-07-17 09:13 SpiritLing 阅读(1169) 评论(2) 推荐(0) 编辑
摘要: 在create-react-app 中配置proxy代理 proxy,默认为NULL,类型为URL,一个为了发送http请求的代理 在平时开发时,尤其前后端分离时,需要假数据来进行模拟请求,这个时候就需要proxy代理来处理 create-react-app < 2.0 package.json 中 阅读全文
posted @ 2020-07-17 09:11 SpiritLing 阅读(3697) 评论(0) 推荐(0) 编辑