kirnoのBlog

  • 首页

  • 归档

gitlab安装教程

发表于 2018-06-28 更新于 2019-01-27

这是一片关于GitLab的安装教程以及踩过的坑

浪费了一个下午的时间,终于把Gitlab搭建完成,搭建环境如下:

  • 系统(虚拟机)

    Distributor ID: Ubuntu

    Description: Ubuntu 18.04 LTS

    Release: 18.04

    Codename: bionic

  • gitlab V11.0.1

阅读全文 »

bt搜索脚本

发表于 2018-06-19 更新于 2019-01-27

脚本


javascript:pachong();function pachong() {var currentUrl = location.href;if (currentUrl.indexOf("http://sdkcloud.pro/") == -1) {var query = prompt("请输入想要搜索的资源关键字");if(query.trim()){var sdkUrl = "http://sdkcloud.pro/xfs.php?s="+query;location.href = sdkUrl;}} else {addBtn();}}function addBtn(){var list = document.querySelectorAll(".T1 a");list.forEach(function(item){var l = item.href;var mag = l.substring(20, l.length);var url =  "https://apiv.ga/magnet/"+mag;var btn = "<a style='margin-left:5px;text-decoration:none;border:1px solid #efefef;border-radius:4px;font-size:15px;padding:5px' href='"+url+"' target='view_window'>%E6%92%AD%E6%94%BE</a>";item.innerHTML = item.innerHTML + btn;});}

阅读全文 »

通过源码来编译nginx

发表于 2018-06-19 更新于 2019-01-27

使用配置参数进行编译。它定义了系统的各个方面,包含了nginx所允许的链接方法。配置后会生成一个 Makefile 文件. 以下是配置支持的参数:

--prefix=path — 定义一个用于保存服务器的目录 This same directory will also be used for all relative paths set by configure (except for paths to libraries sources) and in the nginx.conf configuration file. It is set to the /usr/local/nginx directory by default.

–sbin-path=path — sets the name of an nginx executable file. This name is used only during installation. By default the file is named prefix/sbin/nginx.

–conf-path=path — sets the name of an nginx.conf configuration file. If needs be, nginx can always be started with a different configuration file, by specifying it in the command-line parameter -c file. By default the file is named prefix/conf/nginx.conf.

阅读全文 »

PL2303HX 的驱动安装

发表于 2018-06-19 更新于 2019-07-12

由于官方不再支持PL2303HX,所以就没有了win10上可用的官方驱动.有一个应该是民间高手的人补充了这个空白

官网下载

百度备份下载 密码: t65v

下载完之后安装就可以了

node 远程调试

发表于 2018-06-19 更新于 2019-07-12
  1. 进入项目根目录,假如启动个文件在 ./bin/www 这里。

  2. 命令

    1
    node --inspect=0.0.0.0:3001 bin/www

    其中 0.0.0.0 表示监听的Ip地址,全0 表示任意地方可以访问。3001 是访问端口 bin/www 就是程序的启动文件

    阅读全文 »

gitHub库整理

发表于 2018-06-19 更新于 2019-01-27

javascript

  1. axios ⭐38,326

    javascript的 http client 库

  2. create-react-native-app ⭐8,843

    简介:辅助创建 react-native 程序

    开发文档

    阅读全文 »

协议

发表于 2018-06-19 更新于 2019-07-12

2018年5月5日

机台发送给客户端

字段 类型 说明
clientId string 唯一识别码
col 2 is centered $12
col 3 is right-aligned $1
  1. 主题zbc/client/death 死亡主题:

    描述: 当客户端掉线的时候发送

    等级: >=1

    数据:

字段 类型 说明 例子
clientId string 唯一识别码 0201
  1. 主题 zbc/client/login 连接主题

    描述: 机台连接上来后发送

    等级: >=1

    数据:

字段 类型 说明 例子
clientId string 唯一识别码 0201
阅读全文 »

c#调用数据库之Dapper

发表于 2018-06-19 更新于 2019-01-27

这里记录一下Dapper的使用方式,这个库有点像java的mybatis可以很方便的把查询出来的数据映射到对象上面去。

  1. 安装

    1. 通过 NetGet 就可以安装了,vs自带的一个包管理工具

      阅读全文 »
12

kirno

25 日志
23 标签
RSS
GitHub
Creative Commons
© 2019 kirno
由 Hexo 强力驱动 v3.8.0
|
主题 – NexT.Gemini v7.2.0