摘要: 今天写了一个shell脚本,然后在执行的时候报错,脚本内容很简单,仅供测试: Shell代码 #!/bin/sh echo "test shell " 具体报错信息如下: Shell代码 [root@localhost test]# ./test.sh -bash: ./test.sh: /bin/ 阅读全文
posted @ 2017-08-17 19:39 技术_小菜 阅读(191) 评论(0) 推荐(0) 编辑
摘要: Linux系统 - 源码编译安装Nginx Linux系统 - 源码编译安装Nginx 安装说明 系统环境:CentOS6、CentOS7、Red Hat6、Red Hat7 软件:nginx-1.8.0.tar.gz 其他所需软件:openssl-1.0.2d.tar.gz、pcre-8.37.t 阅读全文
posted @ 2017-08-17 19:38 技术_小菜 阅读(154) 评论(0) 推荐(0) 编辑
摘要: http://bbs.chinaunix.net/thread-1596089-1-1.html 给个例子你分析一下(来自国内开源项目g-bios) g-bios/app/net/Makefile OBJS = ifconfig.o tftp_util.o ping.o SRCS = $(OBJS: 阅读全文
posted @ 2017-08-17 19:38 技术_小菜 阅读(413) 评论(0) 推荐(0) 编辑
摘要: 解决:修改/etc/hosts文件 [root@orapy ~]# cat /etc/hosts 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 #::1 localhost localhost 阅读全文
posted @ 2017-08-17 19:37 技术_小菜 阅读(417) 评论(0) 推荐(0) 编辑
摘要: Xshell按delete,backspace键产生乱码的解决方法 在用Xshell登录进入linux后,默认情况下如果敲击delete,backspace键时会产生^H等乱码问题,这是因为编码不匹配的问题. 解决方法: 点击面板上的小齿轮或者是File下的Properties效果是一样的 弹出的对 阅读全文
posted @ 2017-08-17 19:36 技术_小菜 阅读(438) 评论(0) 推荐(0) 编辑
摘要: VS2013多字节工程问题 使用VS2013编译旧版VC++程序时,提示Building an MFC project for a non-Unicode character set is deprecated,微软提供了解决方案。 一、错误信息 [cpp] view plain copy prin 阅读全文
posted @ 2017-08-17 19:34 技术_小菜 阅读(258) 评论(0) 推荐(0) 编辑
摘要: ublime text3 python代码自动提示/补全插件sublimecodeintel配置 SublimeCodeIntel代码自动补全配置 作者主要使用python,所有配置以python为例.其他语言同理.利用sublimeCodeIntel插件可以实现自动提示python代码、跳转追踪自 阅读全文
posted @ 2017-08-17 19:32 技术_小菜 阅读(1110) 评论(0) 推荐(0) 编辑
摘要: 首先说明的是Sumblime Text 3,下载安装后,打开软件 在红色箭头指定的控制区域粘贴下面这段英文 import urllib.request,os,hashlib; h = '2915d1851351e5ee549c20394736b442' + '8bc59f460fa1548d1514 阅读全文
posted @ 2017-08-17 19:27 技术_小菜 阅读(1113) 评论(0) 推荐(0) 编辑
摘要: sublime text 3 + python配置,完整搭建及常用插件安装 四年的时间,一直使用EmEditor编辑器进行Python开发,之前是做面向过程,只需要将一个单独的py文件维护好即可,用着也挺顺手,但是最近在做面向对象的开发,不同的py文件中相互关联较多,感觉单纯使用EmEditor编辑 阅读全文
posted @ 2017-08-17 19:24 技术_小菜 阅读(197) 评论(0) 推荐(0) 编辑
摘要: 1.下载Sublime3 https://www.sublimetext.com/3 2.安装Package Control 在线安装: https://packagecontrol.io/installation 因为网络原因可能失败。 离线安装:http://pan.baidu.com/s/1n 阅读全文
posted @ 2017-08-17 19:18 技术_小菜 阅读(1299) 评论(0) 推荐(0) 编辑