码迷,mamicode.com
首页 >  
搜索关键字:modules    ( 3704个结果)
遇到的cannot find module 'xxx' 问题
昨天配置新项目的环境,明明都npm inatsll都安装了,再次运行的时候一直报错,缺少模块。我以为就一个没安装上,就手动npm install -g 'xxx' ;结果一个装好了,又继续蹦出cannot find module 'xxx'。 我继续install,然而依旧继续蹦出来新的cannot ...
分类:其他好文   时间:2019-03-18 11:38:51    阅读次数:791
CentOS7.x安装cobbler无人值守安装系统
CentOS7.x cobbler无人值守安装 cobbler介绍 自打若干年前 Red Hat,推出了 Kickstart,不再需要刻了光盘一台一台地安装 Linux,只要搞定 PXE、DHCP、TFTP,还有的 Kickstart 脚本,就能瞬间安装上百台服务器。 Red Hat 最新(Cobb ...
分类:其他好文   时间:2019-03-17 18:20:57    阅读次数:238
nodeJS模块寻址规则
引子 阮一峰一则教程中, 将应用放置在 npm 模块安装目录同等级的目录(https://github.com/ruanyf/webpack-demos)下。 但是应用目录文件中, 引用标准库的使用方法没有变化 https://github.com/ruanyf/webpack-demos/blob ...
分类:Web程序   时间:2019-03-16 09:27:14    阅读次数:346
appium 1.6.x版本去除安装Unlock、Setting
(appium目录不知道可以查看appium运行日志) 修改目录/usr/local/lib/node_modules/appium/node_modules/appium-android-driver/build/lib/下的 android-helpers.js和driver.js文件 andr ...
分类:移动开发   时间:2019-03-15 14:48:21    阅读次数:223
第8章 模块
第8章 模块 8.1 模块概述 模块的英文是Modules,可以认为是一盒(箱)主题积木,通过它可以拼出某一个主题的东西。这与第6章介绍的函数不同,一个函数相当于一块积木,而一个模块中可以包括很多函数,也就是很多积木,所以也可以说模块相当于一盒积木。 在Python中,一个拓展名为“.py”的文件就 ...
分类:其他好文   时间:2019-03-15 00:57:34    阅读次数:161
基于scrapy的一些实例
一.爬取斗鱼主播 1. 爬虫文件 2.item 3.pipeline 4.settings # -*- coding: utf-8 -*- # Scrapy settings for Douyu project # # For simplicity, this file contains only ...
分类:其他好文   时间:2019-03-13 15:05:39    阅读次数:145
ios的framework合并
# 运行此脚本前 # 先编译一遍工程 确保正常运行 没有报错 # 作为Xcode Aggregate运行 # file-->new target-->cross-platform-->Aggregate #!/bin/sh UNIVERSAL_OUTPUTFOLDER=${BUILD_DIR}/${ ...
分类:移动开发   时间:2019-03-11 10:23:09    阅读次数:448
编程心法 之 内聚度和耦合度是什么
内聚度 Cohesion 耦合度 Coupling "Coupling" describes the relationships between modules, and "cohesion" describes the relationships within them. 耦合性(Coupling ...
分类:其他好文   时间:2019-03-10 09:49:48    阅读次数:186
Module.modules()和Module.children()
参考PyTorch document和discuss 在PyTorch中,所有的neural network module都是class torch.nn.Module的子类,在Modules中可以包含其它的Modules,以一种树状结构进行嵌套。当需要返回神经网络中的各个模块时,Module.mo ...
分类:其他好文   时间:2019-03-09 17:53:07    阅读次数:1434
IDEA里五种目录类型简介(Mark Directory as)
通过File -> Settings-project Structure-Modules 或者右键Mark Directory as可以找到这五种类型。 Sources 一般用于标注类似 src 这种可编译目录。有时候我们不单单项目的 src 目录要可编译,还有其他一些特别的目录也许我们也要作为可编 ...
分类:其他好文   时间:2019-03-07 16:12:16    阅读次数:605
共3704条   上一页 1 ... 83 84 85 86 87 ... 371 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!