上一页 1 2 3 4 5 6 7 ··· 10 下一页
摘要: alt + 鼠标滑轮/触摸板拖放 阅读全文
posted @ 2017-10-22 16:34 范辉 阅读(716) 评论(0) 推荐(0) 编辑
摘要: 修改配置文件 “~/.ssh/config”,加上这两行,重启服务器: 阅读全文
posted @ 2017-09-23 22:56 范辉 阅读(600) 评论(0) 推荐(0) 编辑
摘要: $HOME/.xinitrc 阅读全文
posted @ 2017-09-19 21:44 范辉 阅读(262) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2017-09-11 12:26 范辉 阅读(226) 评论(0) 推荐(0) 编辑
摘要: defaults.pcm.card 1 defaults.pcm.device 1 defaults.ctl.card 1 阅读全文
posted @ 2017-08-26 18:21 范辉 阅读(2262) 评论(0) 推荐(0) 编辑
摘要: \S+ 不能匹配到字符串末尾的最后一个字段 阅读全文
posted @ 2017-08-01 17:53 范辉 阅读(464) 评论(0) 推荐(0) 编辑
摘要: 要点: GIT 或 SVN 的 hook 执行之前,会将所有环境变量清空,因此在其中执行命令时,必须指定绝对路径或重新设置必要的环境变量,如:$HOME 等 修改为正确的名称,如:post-commit、post-update 等 添加执行权限 git hook 执行时需要通过 --git-dir 阅读全文
posted @ 2017-07-12 11:35 范辉 阅读(757) 评论(0) 推荐(0) 编辑
摘要: ssh 公钥连接条件: sshd_config 中启用公钥认证 authorized_keys 文件权限必须为 0600 目标用户的 家目录 权限必须为 0700 目标账户必须已设定登陆密码(即处于可登陆状态)—— /etc/shadow 文件中的密码位不能为 '!' 或 '!!' 阅读全文
posted @ 2017-07-11 10:03 范辉 阅读(158) 评论(0) 推荐(0) 编辑
摘要: 最后放置的都是数据最终到达的仓库分支名称 对于pull来说,是拉到本地,所以本地仓库分支名称写在最后 git pull [--force] [remote repo]:[my repo] 对于push来说,是推到远和仓库,所以远程仓库分支名称写在最后 git push [--force] [my r 阅读全文
posted @ 2017-07-05 19:16 范辉 阅读(435) 评论(0) 推荐(0) 编辑
摘要: Fabric CA 用户指南 Fabric CA 是 Hyperledger Fabric 的官方配套认证设施。 原文链接:http://hyperledger-fabric.readthedocs.io/en/latest/Setup/ca-setup.html 它提供的功能有: Fabric C 阅读全文
posted @ 2017-05-12 17:17 范辉 阅读(3850) 评论(1) 推荐(0) 编辑
摘要: 架构概念: VSCC (Validation System Chaincode) Auditability(审计性):在一定权限和许可下,可以对链上的交易进行审计和检查。 Block(区块):代表一批得到确认的交易信息的整体,准备被共识加入到区块链中。 Blockchain(区块链):由多个区块链接 阅读全文
posted @ 2017-05-09 11:54 范辉 阅读(1446) 评论(0) 推荐(0) 编辑
摘要: 定义[个人理解]: 尾递归,即是将外层得出的常量计算因子,以函数参数的形式逐层向内传递,即内层调用整合外层调用的产出,整个递归的结果最终由最内层的一次函数调用得出;而通常的递归则是外层调用阻塞、等待内层调用的产出,最后由最上层的一次函数调用得出最终结果。 优执: 适度应用,可以带来效率的提升,同时在 阅读全文
posted @ 2017-05-08 09:06 范辉 阅读(236) 评论(0) 推荐(0) 编辑
摘要: 前注:常见‘坑’ 不要使用 2.14 版本 gerrit.conf 中 [sendemail] 部分必须有 from = ... 字段,否则无法添加邮箱 gerrit 以用户组为单位划分权限,先将用户加入组,然后对每个项目按组分派权限 clone 需要 Read 权限,推送需要 Push 权限,上传 阅读全文
posted @ 2017-05-04 10:16 范辉 阅读(161) 评论(0) 推荐(0) 编辑
摘要: 1) Register an openid account https://login.ubuntu.com/+login 2) Custom settings set SSH pubkey set username and email other 3) Update the IP address 阅读全文
posted @ 2017-05-03 22:17 范辉 阅读(421) 评论(0) 推荐(0) 编辑
摘要: Install(Ubuntu 17.04): gerrit.config: <可选> nginx.conf: <可选,nginx 认证需要> Create pwd.conf: Ops: ... 阅读全文
posted @ 2017-05-02 16:53 范辉 阅读(514) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 10 下一页