代码改变世界

2018年12月5日

SciTE: 中文字符支持问题

摘要: SciTE: 中文字符支持问题 SciTE(Scintilla Text Editor)是一个体积小巧的文本编辑器。 但是它默认的设置对中文字符处理不好,其实只要对它进行相应的配置,就可以了。 1. 运行SciTE,选择菜单“选项–>打开User Options文件” 2. 在用户配置文件中加入如下 阅读全文

posted @ 2018-12-05 15:11 Captain林 阅读(1158) 评论(0) 推荐(0)

2018年11月16日

centos7 端口转发

摘要: firewall-cmd --add-masquerade firewall-cmd --add-forward-port=port=3001:proto=tcp:toaddr=172.17.183.199:toport=22 --permanent firewall-cmd --add-masqu 阅读全文

posted @ 2018-11-16 10:34 Captain林 阅读(1200) 评论(0) 推荐(0)

2018年11月15日

出现了npm ERR! cb() never called!错误

摘要: 执行npm i 命令时,出现了npm ERR! cb() never called!错误 解决方案: 1、首先清除你的npm缓存: sudo npm cache clean -f 一般情况执行完后再试下 应该就OK了 2、如果1方法不奏效的话,只能采用升级覆盖安装: 清除完缓存后,安装最新版本的No 阅读全文

posted @ 2018-11-15 14:27 Captain林 阅读(7819) 评论(0) 推荐(0)

2018年11月5日

阿里云云服务器硬盘分区及挂载

摘要: 阿里云云服务器硬盘分区及挂载 云服务器环境:CentOS 6.5 64位 硬盘分区及挂载操作步骤: 1. 查看未挂载的硬盘(名称为/dev/xvdb) # fdisk -l Disk /dev/xvdb doesn't contain a valid partition table 2. 创建分区 阅读全文

posted @ 2018-11-05 14:49 Captain林 阅读(1103) 评论(0) 推荐(0)

2018年10月19日

Windows Server2012配置VPN服务器

摘要: Windows Server2012配置VPN服务器 2017年05月09日 22:21:29 autista 阅读数:18151 标签: VPN服务器windows server 更多 个人分类: Windows Windows Server2012配置VPN服务器 2017年05月09日 22: 阅读全文

posted @ 2018-10-19 09:33 Captain林 阅读(3) 评论(0) 推荐(0)

linux 链接vpn

摘要: 1.安装vpn客户端Ubuntu:sudo apt-get install -y pptp-linux1centos:yum -y install ppp pptp pptp-setup12.连接vpn服务Ubuntu:sudo pptpsetup --create pptpd --server x 阅读全文

posted @ 2018-10-19 09:31 Captain林 阅读(1) 评论(0) 推荐(0)

2018年10月16日

Windows自带的端口转发工具netsh使用方法_DOS/BAT

摘要: Windows自带的端口转发工具netsh使用方法_DOS/BAT 作者:用户 来源:互联网 时间:2017-02-22 17:24:30 netsh 端口转发 摘要: 下面的代码在windows下运行后可以讲172.20.53.1的14941端口转发到172.20.53.2的3389端口上复制代码 阅读全文

posted @ 2018-10-16 09:57 Captain林 阅读(552) 评论(0) 推荐(0)

2018年7月10日

godaddy nginx https 配置

摘要: 一、 生成秘钥key,运行: $ openssl genrsa -des3 -out server.key 2048 1 会有两次要求输入密码,输入同一个即可 输入密码 然后你就获得了一个server.key文件. 以后使用此文件(通过openssl提供的命令或API)可能经常回要求输入密码,如果想 阅读全文

posted @ 2018-07-10 18:26 Captain林 阅读(1927) 评论(1) 推荐(0)

2018年5月10日

orchard cms 项目迁移

摘要: 删除Orchard.Web 下的 App_Data 目录,重新安装项目 阅读全文

posted @ 2018-05-10 14:49 Captain林 阅读(152) 评论(0) 推荐(0)

2018年3月9日

html 原生tab切换js

摘要: $("#ulId li").on('click', function () { $("#li-container").children().hide(); $('#' + $(this).attr("id") + 'Container').show(); $("#Ulid").find('span' 阅读全文

posted @ 2018-03-09 17:07 Captain林 阅读(308) 评论(0) 推荐(0)

导航