let user = [ ["a", 1, 1000], ["b", 2, 2000], ["c", 3, 3000] ] //登录不加锁卡 function login() { let status = true; while (status) { console.log("请输入用户名:"); ... ...
分类:
编程语言 时间:
2018-05-27 22:10:52
阅读次数:
213
" 通道" " 通道基础" " 通道打开" " 通道使用" " 通道关闭" " Scatter/Gather" " 文件通道" " 文件通道代码示例" " Socket通道" " Socket通道代码示例" " 总结" 通道 channel用于字节缓冲区和位于通道另一侧的实体(通常是一个文件或套接字 ...
分类:
编程语言 时间:
2018-05-27 21:44:21
阅读次数:
231
题意 ...... https://www.luogu.org/problemnew/show/P2482 总结 题解好像没什么好写的 一些经验吧...... 1 //Created By Creeper_LKF 2 //Caution::We used "pragma" in the code 3 ...
分类:
其他好文 时间:
2018-05-27 21:40:53
阅读次数:
154
推荐去张鑫旭大神这里详细了解:http://www.zhangxinxu.com/jq/stylus/ 安装 npm install -g stylus 自动编译 $ stylus -w demo.styl -o dist / demo.styl是styl文件,dist是要生成样式的目录文件名,-w ...
分类:
Web程序 时间:
2018-05-27 21:36:17
阅读次数:
1802
前言 第一次写东西,可能会比较乱,还请理解! 安装步骤 打开命令行工具,输入 查看NodeJS的版本号,若未出现版本号则请移步http://nodejs.cn/download/ 进行下载安装, 若安装成功,则查看npm是否安装,输入 查看npm是否成功安装。 上述工作准备之后,就可以来进行vue的 ...
分类:
Web程序 时间:
2018-05-27 20:55:34
阅读次数:
224
Given an array nums of n integers and an integer target, are there elements a, b, c, and d in nums such that a + b+ c + d = target? Find all unique qu ...
分类:
其他好文 时间:
2018-05-27 20:29:59
阅读次数:
219
3Sum Closest Given an array nums of n integers and an integer target, find three integers in nums such that the sum is closest to target. Return the s ...
分类:
其他好文 时间:
2018-05-27 20:28:35
阅读次数:
127
说明:CentOS 7采用新的分区格式xfs以及LVM的模式,造成挂载硬盘的方式有变化。 解决: 使用lvdisplay命令查看LVM最终的卷路径,然后再进行挂载。 比如: ...
分类:
其他好文 时间:
2018-05-27 20:27:03
阅读次数:
725
启动服务器: angular默认端口:4200 输入本条命令后,会自动打开默认浏览器以及打开APP页 推荐开发工具webStorm,全平台兼容Mac、Linux、Windows 也可使用vsCode,同样也是全平台兼容,建议在选用工具时考虑到平台兼容性 ...
分类:
Web程序 时间:
2018-05-27 19:43:46
阅读次数:
217
前期开发过程中一直在使用Sublime,近期打算换成VSCode找找感觉。 1.安装 通过VSCode官网下载安装包,安装即可,我安装的版本是win64-1.23.1,安装过程基本上就是一直下一步(当然更改了安装路径),如下步骤按照百度参考多勾选了几个(图片来自百度经验) 2.设置 重启电脑后,打开 ...
分类:
其他好文 时间:
2018-05-27 19:38:18
阅读次数:
161