Fork me on GitHub
上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 27 下一页
摘要: 快速设置— 如果你知道该怎么操作,直接使用下面的地址 git@github.com:username/myproject.git 我们强烈建议所有的git仓库都有一个README, LICENSE, .gitignore文件 Git入门?查看 帮助 , Visual Studio / Tortois 阅读全文
posted @ 2018-08-21 00:19 stardsd 阅读(669) 评论(0) 推荐(0)
摘要: 作者:谭九鼎链接:https://www.zhihu.com/question/30315894/answer/154979413来源:知乎著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。 0. 前言 本文面向初学者(但不是纯小白),分享一点我的经验。<del>毕竟百度“VS C 阅读全文
posted @ 2018-08-20 22:58 stardsd 阅读(18284) 评论(0) 推荐(3)
摘要: F:\Anaconda3 F:\Anaconda3\Scripts F:\Anaconda3\Library\bin 阅读全文
posted @ 2018-08-17 17:28 stardsd 阅读(1979) 评论(0) 推荐(0)
摘要: Push rejected: Push to origin/master was rejected 首先,git init (在工程文件夹下) 即:(针对问题 Your local changes to the following files would be overwritten by merg 阅读全文
posted @ 2018-08-17 17:21 stardsd 阅读(20641) 评论(1) 推荐(0)
摘要: 附件经常会是一系列的压缩文件,下载是默认文件名是一个随机数字。因而下载完会出现压缩文件解压缩失败解决方法:下载时重命名为带一定顺序的文件名,如文件1,文件2,文件3等 如何解决单个文件解压失败?论坛中的许多资料都是使用RAR压缩的,上传到下载,在解压过程中可能会出现错误。一般出现最多的是“CRC”错 阅读全文
posted @ 2018-08-15 22:12 stardsd 阅读(5522) 评论(0) 推荐(0)
摘要: 什么是MECE分析法? MECE,是Mutually Exclusive Collectively Exhaustive,中文意思是“相互独立,完全穷尽”。 也就是对于一个重大的议题,能够做到不重叠、不遗漏的分类,而且能够藉此有效把握问题的核心,并解决问题的方法。 它是麦肯锡的第一个女咨询顾问巴巴拉 阅读全文
posted @ 2018-08-12 15:25 stardsd 阅读(4000) 评论(0) 推荐(0)
摘要: composer 显示:Invalid Host header的解决方案 I have tried this workaround: Edit the following line in node_modules/webpack-dev-server/lib/Server.js (line 425) 阅读全文
posted @ 2018-08-08 13:38 stardsd 阅读(5282) 评论(0) 推荐(0)
摘要: 1. whereis+文件名 用于程序名的搜索,搜索结果只限于二进制文件(参数-b)、man说明文件(参数-m)和源代码文件(参数-s),如果省略参数,则返回所有信息。 2. find / -name +文件名 find是在指定的目录下遍历查找,如果目录使用 / 则表示在所有目录下查找,find方式 阅读全文
posted @ 2018-08-08 11:52 stardsd 阅读(6824) 评论(0) 推荐(0)
摘要: 介绍 此命令集合版本为 1.11.1 及以上 基础类 查看docker信息 # 查看docker版本 docker version # 显示docker系统的信息 docker info # 日志信息 docker logs # 故障检查 service docker status # 启动关闭do 阅读全文
posted @ 2018-08-07 16:23 stardsd 阅读(4373) 评论(0) 推荐(0)
摘要: error description: You must have inadvertently upgraded your system pip (probably through something like sudo pip install pip --upgrade) pip 10.x adju 阅读全文
posted @ 2018-08-07 13:36 stardsd 阅读(1883) 评论(0) 推荐(0)
摘要: you need to pass an npmrc file when you install the business network onto the peers. For more info see the pagehttps://hyperledger.github.io/composer/ 阅读全文
posted @ 2018-08-06 14:49 stardsd 阅读(5281) 评论(0) 推荐(0)
摘要: nvm alias default 8.9.4 阅读全文
posted @ 2018-08-05 16:41 stardsd 阅读(733) 评论(0) 推荐(0)
摘要: c错误描述 解决方案: you do not have Node.js 8 installed; Composer has required Node.js 8 since before v0.16.x. Please upgrade your version of Node.js to 8.x. 阅读全文
posted @ 2018-08-05 15:18 stardsd 阅读(424) 评论(0) 推荐(0)
摘要: I have installed hyperledger composer locally. But on localhost it gives error : Error : Error trying to ping. Error: No business network has been spe 阅读全文
posted @ 2018-08-03 16:52 stardsd 阅读(681) 评论(0) 推荐(0)
摘要: 版本控制比较普遍的 3 种命名格式 :一、GNU 风格的版本号命名格式 :主版本号 . 子版本号 [. 修正版本号 [. 编译版本号 ]]Major_Version_Number.Minor_Version_Number[.Revision_Number[.Build_Number]]示例 : 1. 阅读全文
posted @ 2018-08-03 15:05 stardsd 阅读(1541) 评论(0) 推荐(0)
摘要: 1、本篇背景 前面已经对链码开发作了比较详细的介绍,并且对官方提供的 fabcar 链码进行了解读,本篇将介绍如何使用 Node.js SDK 与区块链网络中的链码进行交互。 本篇内容基本来自官方 Hyperledger Fabric 文档中的 Writing Your First Applicat 阅读全文
posted @ 2018-08-02 14:05 stardsd 阅读(1954) 评论(0) 推荐(0)
摘要: 在搭建hyperledger fabric的开发环境的时候,用docker去下载镜像,好慢好慢,慢到下了一个下午没有下载完成,最后还是失败了。最后去网上找了一下,发现有配置国内加速器加速镜像下载的方法,现在整理一下: 在搭建hyperledger fabric的开发环境的时候,用docker去下载镜 阅读全文
posted @ 2018-08-01 16:08 stardsd 阅读(1182) 评论(0) 推荐(0)
摘要: 在我们的日常开发中经常会遇到这种情况:手上有好几个项目,每个项目的需求不同,进而不同项目必须依赖不同版的 NodeJS 运行环境。如果没有一个合适的工具,这个问题将非常棘手。 nvm 应运而生,nvm 是 Mac 下的 node 管理工具,有点类似管理 Ruby 的 rvm,如果需要管理 Windo 阅读全文
posted @ 2018-08-01 14:42 stardsd 阅读(2433) 评论(0) 推荐(0)
摘要: 清理环境: 启动网络: docker ps -a create channel: join channel: 清理npm的模块,需要清理node_modules文件夹 <!--[endif]--> 阅读全文
posted @ 2018-08-01 10:56 stardsd 阅读(681) 评论(0) 推荐(0)
摘要: 修改package.json 阅读全文
posted @ 2018-08-01 10:10 stardsd 阅读(989) 评论(0) 推荐(0)
摘要: npm show grpc # 返回版本号 # 安装旧版本: npm install grpc@1.2.0 阅读全文
posted @ 2018-07-31 17:21 stardsd 阅读(354) 评论(0) 推荐(0)
摘要: 错误描述: 现象: 解决方案: i do as the following steps and it works for me: input "docker network ls" to figure out the name of the network( it is "buildblockcha 阅读全文
posted @ 2018-07-31 12:35 stardsd 阅读(1985) 评论(0) 推荐(0)
摘要: If I run a server with the port 80, and I try to use xmlHTTPrequest i get this error: Error: listen EADDRINUSE Why is it problem for nodejs, if I want 阅读全文
posted @ 2018-07-30 00:04 stardsd 阅读(268) 评论(0) 推荐(0)
摘要: I try to run sample application as stated here : http://hyperledger-fabric.readthedocs.io/en/release/write_first_app.html I try to run sample applicat 阅读全文
posted @ 2018-07-29 23:50 stardsd 阅读(2369) 评论(0) 推荐(0)
摘要: 因为npm连接的数据源网站太慢,可以使用淘宝提供的npm数据源, npm config set registry https://registry.npm.taobao.org 使用NPM(Node.js包管理工具)安装依赖时速度特别慢,为了安装Express,执行命令后两个多小时都没安装成功,最后 阅读全文
posted @ 2018-07-29 23:38 stardsd 阅读(30398) 评论(0) 推荐(1)
摘要: 前言 使用git+pycharm有一段时间了,算是稍有点心得,这边整理一下,可能有的方法不是最优,欢迎交流,可能还是习惯敲命令去使用git,不过其实pycharm已经帮忙做了很多了,我们可以不用记住那么多的命令的。 通过pycharm初始化git环境 因为之前内网搭建了gitlab,参考此文章cen 阅读全文
posted @ 2018-07-29 16:09 stardsd 阅读(4909) 评论(0) 推荐(0)
摘要: 多次尝试才正常启动了Fabric,如遇到各种莫名错误,请参考如下一步步严格安装,特别用户权限需要注意。 一、安装Ubuntu16 虚拟机或双系统,虚拟机有VirtualBox或者VMware,Ubuntu 16.04镜像安装好。 打开系统设置,选择软件和更新 , 然后在下载自:中选择aliyun 二 阅读全文
posted @ 2018-07-26 19:23 stardsd 阅读(1507) 评论(0) 推荐(0)
摘要: I have a docker-compose.yaml file defining 5 services: I have a docker-compose.yaml file defining 5 services: orderer.example.com peer0.org1.example.c 阅读全文
posted @ 2018-07-25 09:59 stardsd 阅读(5384) 评论(1) 推荐(1)
摘要: 通过resolvconf实现配置 resolvconfig应用可以实现DNS信息管理,可以通过下面的应用来安装此组件: sudo apt-get install resolvconf 创建/etc/default/resolvconf缺省配置文件,添加相关环境变量 bob@ubuntu:/etc/r 阅读全文
posted @ 2018-07-25 09:35 stardsd 阅读(6242) 评论(2) 推荐(0)
摘要: This entire tutorial is the second part of the installation of Hyperledger Fabric v1.1. In the previous article, we installed all the dependencies req 阅读全文
posted @ 2018-07-23 20:57 stardsd 阅读(441) 评论(0) 推荐(0)
摘要: There is an entire library of Blockchain APIs which you can select according to the needs that suffice your application. Some libraries are open-sourc 阅读全文
posted @ 2018-07-23 20:54 stardsd 阅读(335) 评论(0) 推荐(0)
摘要: 错误情况: 解决方案: are you sure you have Calibri bold installed on your machine? Also, you may go to "Devices and Printers" right click on Adobe PDF printer 阅读全文
posted @ 2018-07-20 22:27 stardsd 阅读(1119) 评论(0) 推荐(0)
摘要: 我们知道,如果直接对密码进行散列,那么黑客可以对通过获得这个密码散列值,然后通过查散列值字典(例如MD5密码破解网站),得到某用户的密码。 加Salt可以一定程度上解决这一问题。所谓加Salt方法,就是加点“佐料”。其基本想法是这样的:当用户首次提供密码时(通常是注册时),由系统自动往这个密码里撒一 阅读全文
posted @ 2018-07-20 19:25 stardsd 阅读(11815) 评论(0) 推荐(0)
摘要: 什么是帕累托分布 帕累托分布是以意大利经济学家维弗雷多·帕雷托命名的。 是从大量真实世界的现象中发现的幂次定律分布。这个分布在经济学以外,也被称为布拉德福分布。 帕累托因对意大利20%的人口拥有80%的财产的观察而著名,后来被约瑟夫·朱兰和其他人概括为帕累托法则(80/20法则),后来进一步概括为帕 阅读全文
posted @ 2018-07-10 20:53 stardsd 阅读(13251) 评论(0) 推荐(0)
摘要: Density Function The Generalized Gaussian density has the following form: where (rho) is the "shape parameter". The density is plotted in the followin 阅读全文
posted @ 2018-07-09 11:37 stardsd 阅读(2745) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/xh16319/article/details/31375197 https://blog.csdn.net/xh16319/article/details/31375197 很多人都认为,Secondary NameNode是NameNode的备份,是为 阅读全文
posted @ 2018-07-08 20:53 stardsd 阅读(3961) 评论(0) 推荐(0)
摘要: 在进行网络编程时,会将服务器的IP地址设置为127.0.0.1。然后绑定端口,开始监听。但是对于服务器来说,除了127.0.0.1,还有内网IP和公网IP,绑定本地的话只能局域网传输,所以,应该怎么绑定? 先复习一下IP类型: A类地址:网络号占1个字节。网络号的第一位固定为0。 B类地址:网络号占 阅读全文
posted @ 2018-07-08 20:39 stardsd 阅读(24333) 评论(0) 推荐(2)
摘要: 问题描述: 集群启动正常,无法从其他节点访问50070端口和8088端口。 解决方案: 改/etc/hosts 另:主机名不要命名为localhost,会混淆 如果是Virtualbox,要进行端口映射(设置-网络-高级-端口转发) 阅读全文
posted @ 2018-07-08 20:26 stardsd 阅读(628) 评论(0) 推荐(0)
摘要: 主要原因1.term类型不对,不支持彩色.在secureCRT上设置Options->SessionOptions ->Emulation,然后把Terminal类型改成xterm,并点中ANSI Color复选框。然后ls看看,发现文件名和目录已经是彩色了.但是可能vi打开某些文件依然不是彩色按: 阅读全文
posted @ 2018-07-08 19:13 stardsd 阅读(1427) 评论(0) 推荐(0)
摘要: VMware虚拟机的上网方式有三种:NAT、桥接、仅主机模式,本篇介绍桥接模式和NAT模式。 1.实验环境 博主的实验环境如下: 宿主机操作系统:Windows 7 VMware Workstation版本:12.5.2 build-4638234 虚拟机操作系统:CentOS 6.5 虚拟机操作系 阅读全文
posted @ 2018-07-08 15:23 stardsd 阅读(14676) 评论(6) 推荐(7)
上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 27 下一页